Closed meltingscales closed 2 years ago
Yes, the contract expired. If you have subscribed to futures data, can you try ESM2? Otherwise, you may change ESM1 FUT GLOBEX to SPY STK SMART.
Yes, the contract expired. If you have subscribed to futures data, can you try ESM2? Otherwise, you may change ESM1 FUT GLOBEX to SPY STK SMART.
Thanks @letianzj . I will try this and update you on if it works.
@letianzj It works! thank you so much. Working code is at https://github.com/HenryFBP/algorithmic-trading/tree/master/src/algotradingtest/quanttradertest
Feel free to close this issue. I will do the same edit when those ESM1 FUT GLOBEX
-like identifiers don't work. (Are they called "data subscriptions"?)
@HenryFBP Yes it is about IB data subscription; and futures roll, from expiring to the next contract.
I am following this tutorial:
https://www.youtube.com/watch?v=CrsrTxqiXNY
Using these samples:
https://github.com/letianzj/quanttrader/tree/master/examples
Here is my code:
https://github.com/HenryFBP/algorithmic-trading/tree/master/algotradingtest/algotradingtest/quanttradertest
And I cannot seem to get a strategy to run.
The
quanttrader
package downloads all my stocks and orders properly, butonTick
never seems to get called when I click onStart_Strat
button. Perhaps myconfig_live.yaml
is incorrect? It was copied directly from the "examples" folder of this repo.