0
Follow
0
Followers
请教各位大神,如果在程序初始化时只调用一次SetContractType,设置为季度(quarter),之后进入主循环后不再调用,当随着时间推移,原持有的季度合约仓位变为“次周”或者“当周”类型,此时主程序循环中继续调用获取行情函数和买卖函数,是针对新的季度合约操作,还是针对原来的合约。
Related Recommendations
Advanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization
Comment
All comments (4)
- 1
