Does the commodity futures query the interface of the current main contract?

Author: abc122615, Created: 2020-04-15 11:05:43, Updated:

The question is, because my strategy is only for commodity futures main contracts, there is no way to update the strategy in time after the market switches main contracts.


More

The Little DreamYou can subscribe to the main contract, for example: var info = exchange.SetContractType (("rb888")), so that the actual contract ID corresponding to the current main contract is in the returned Info data, for example: rb2010