0
Follow
0
Followers
请问 “symbol not set”是什么意思?需要做什么配置?
Related Recommendations
Multi-platform Hedging Stabilization Arbitrage V2.1 (Annotation Edition)Pure english vesion of e-books about some basic systematic trading skillsThe grid trading strategyPython streamlined multi-variety MACD trending strategy frameworkin main TypeError: IO() takes at most 3 arguments (5 given)GetTicker: 400: {"code": 2, "data": {}, "message": "invalid params"}gateio getdepth 502Decrypt: Secret key decrypt failedGetOrders: 400: {"code":-1121,"msg":"Invalid symbol."}HTTP 403 error
Comment
All comments (1)
这个是指 , 策略在添加 期货 交易所 (OKEX数字货币期货, 或者 CTP 商品期货 )时,没有设置 合约类型 ,就直接进行了 行情获取 或者下单 操作 导致的报错。
需要 在 调用行情 或者下单 函数前使用:
exchange.SetContractType(合约代码字符串)
8 years ago
- 1
