-
之前是3.8版本,没有这个情况,升级python后,每次都会发出这个警告。
C:\Program Files\Python312\Lib\site-packages\xtquant\__init__.py:8: UserWarning: pkg_resources is deprecated as an API. See https:/ ...
-
求Python3.6版的 qmt. Api手册 tks
-
求导入信达通自选股策略代码,万分感谢
-
照着文档写了一个passorder下单函数。函数虽然能编译,跑策略实盘时,无法在持仓,委托里面找到它。
我面试过手动下单,它是可以成功的。
请问是哪里错了,还是受限了?
手动下单的记录,没有函数跑下单的记录。
...
-
【2025-03-21 11:08:42.876】 start back test mode
【2025-03-21 11:08:42.876】 0D:\quant\国金QMT交易端模拟\python\函数测试用.py_SH00030075NameError:name 'get_history_trade_detail_data' is not defined
...
-
以上函数获取的委托和成交信息,仅限于当日,还是包括历史?比如,一个月前的委托和成交信息,是否可以获取?
-
在客户端的编辑器里面如何读取本地CSV文件?
-
周三用代码自动做成了第一单。 记录一下。
不得不说,知识库的说明和实际功能有太多的对不上,还有缺失。遇到情况,求助也比较难,基本靠自己摸索,现在像是从迷宫里走出来,豁然一亮。
最后还是感谢所有的电视台 ...
-
订阅方法
`xtdata.subscribe_whole_quote(['600000.SH', '000001.SZ'], callback=on_data)`
在执行的时候订阅返回值是1,然后在定义的 `on_data`方法中打印订阅的数据,但在执行的时候时候 `on_data`方法没有任何输 ...
-
miniQMT,从几周前开始,交易日晚上8点之后就不让用download_history_data下载tick数据了,周末也不行,请问是做了什么限制吗?能不能放宽限制?谢谢!
-
Are you prepared to commence an exhilarating new journey in Skull and Bones? The eagerly awaited PvP modes in Death Tides are scheduled to be released later this month, introducing fresh challenges an ...
-
Give your [sex doll](https://www.bestrealdoll.com/) a name, backstory, or personality. Use roleplay scenarios to bring your deepest fantasies to life.
The closer your [TPE sex doll](https://www.bestr ...
-
Madden 26 has officially hit the late-game stage, and the community is feeling it-Golden Tickets are live, Theme Surge is dropping some of the best cards of the year, and the meta has evolved into one ...
-
There are few things in gaming as intense and nerve-wracking as the Weekend League in EA FC 26, especially for those chasing that elusive Rank 1. In a competitive environment full of unpredictability, ...
-
```
xtdata.subscribe_whole_quote(code_list, callback=call_fun)
data = xtdata.get_market_data_ex(field_list=field_list, stock_list=code_list,
period='tick', s ...
-
请问:
获取全推数据:get_full_tick
获取本地行情数据:get_local_data
获取行情数据:get_market_data
这三个接口有什么区别?
-
```
index = ContextInfo.barpos
realtimetag = ContextInfo.get_bar_timetag(index)
```
返回的都是错误时间, 不是设置的回测时间
-
如题
-
无法下载或者获取tick数据,试过最近一天也不行
-
我在模拟交易,下单股票都是正常的,国债逆回购一直无法下单,报100009的错误代码,代码如下,请问为什么报错
stock = '204001.SH'
order_type = xtconstant.STOCK_SELL
trade_vol = 10
tag = '逆回购'
current_pr ...
-
在测试中无法读取换手率数据?那位大神帮忙看看。

-
我用下单函数passorder(23, 1102, C.account, i, 3, 0, 1000, f'趋势_{name}', 2, f'趋势_{name}', C)成交了一笔(其中:i是的值'159915.SZ',name的值是'创业板ETF')
用orderid = get_last_order_id(C.accid, ' ...
-
比如,我昨天有一笔交易,昨天能用get_trade_detail_data()这个函数查到委托或成交记录,但今天就只能查到今天的交易记录,查不到昨天的交易记录了,那我今天想查询昨天的某笔交易记录,该怎么查呢?
...
-
```
另外一个问题就是start time和end time 中年月日的范围不能离最新时间太远吗?连24年12月的数据都获取不到
下面是我测试的一段代码
# coding=utf-8
from xtquant import xtdata
import pandas as pd
# 设置pan ...
-
量化交易作为一种高效、科学的投资方式,近年来在投资界逐渐受到重视。对于新手来说,选择一款合适的量化交易软件是入门的关键。QMT量化交易系统,作为迅**司开发的一款综合性量化交易平台,以其强大的功能和灵活性 ...