Author: HappyWorld
-
xtdata获取财务数据
先下载数据 再获得数据 可以去相关安装目录看是否数据下载成功,我的目录是C:\国金证券QMT交易端\userdata_mini\datadir\Finance Read more
-
提示”无法连接xtquant服务,请检查QMT-投研版或QMT-极简版是否开启”
When open QMT, needs to select “indepdent trading” option, then run this code will have effect Read more
-
1)短期均线:5、7、10,用于预测短期走势,MA5 和 MA10 又称为短期监测线;2)中期均线:20、30、60,用于预测中期走势,MA20 和 MA30 又称为警戒线, MA60 则称之为生死线;3)长期均线:120、250,用于长期走势,MA120 又称为确认线,MA250 则通常被看做反转线,又称为牛熊分界线。 计算均线的价格常常会用到股票收盘 Read more
-
Install xtquant
Today, while working with this code, I encountered an issue where I couldn’t download the Pandas Panel object. In response, I found xtquant, a local Python library that appears to run locally. Installing Anaconda3 I’m working on Windows 11. First, download Anaconda from its official website and then add it to the Environment Variables. To… Read more
-
Alpha Advantage
Access https://www.alphavantage.co/support/#api-key to get free stock API Read more
-
Sophisticated Investor
Today, I visited the MarketIndex website, as it offers excellent Announcement Notification features, and came across an interesting definition of a sophisticated investor: someone with net assets exceeding $2.5 million or who has earned more than $250,000 in gross income in each of the past two financial years. Read more
-
moomoo OpenD needs to purchase
I tried using this code to access Australian stock data, but I received an error stating “No right to get the quote.” After investigating, I discovered that a subscription is required for Australian stock data. The service, called Australian LV2, costs $32 AUD per month, $95 AUD per quarter, and $379 AUD per year—which is… Read more
-
moomoo API sample code
Today, I successfully learned how to use the Moomoo API to access stock information. Here’s what I did to get started: Finally, I ran the sample code to test the setup. 今天,我成功学习了如何使用 Moomoo API 访问股票信息。以下是我的操作步骤: 最后,我成功运行了示例代码进行测试。 Read more
-
讯投QMT获得持仓
holdings = {i.m_strInstrumentID + ‘.’ + i.m_strExchangeID : i.m_nCanUseVolume for i in holdings} 这行什么意思 Below content is from Deepseek 示例 假设 holdings 包含以下对象: 运行代码后,生成的字典为: 总结 这行代码的作用是将 holdings 中的每个对象的 m_strInstrumentID 和 m_strExchangeID 拼接成键,并将 m_nCanUseVolume 作为值,生成一个新的字典。 Read more
-
澳股今日话题-20250226
This content is from “Market Index Morning” Key events Stocks trading ex-dividend: Other ASX corporate actions today: Economic calendar (AEDT): No major economic news. Read more