The OKEX futures retest, GetRecords, GetTicker and other interfaces all report an error symbol not set

Author: Lightning quantified, Created: 2018-12-04 23:58:08, Updated:

The OKEX futures exchange has a retesting strategy In this case, you can call exchange.GetRecords, exchange.GetTicker, etc. The symbol not set error.

As shown below, logs that are not running after the method are added before and after the method. Bitmex is the same. I was crying out for help.

img

img


More

The Little DreamNo settings Contract, first set the contract: exchange.SetContractType (("XBTUSD")

Lightning quantifiedOK, that's it - set it at the beginning of the code.