Live Trading with IB - Order outside RTH
lch81592 last edited by
Hi - May I know if there is anyway which we can switch on the "bool OutsideRth" argument in IB for the order class under the backtrader framework? I am trying to place an order outside regular trading hour however the default setting for backtrader doesn't seems to allow that. Looking through the docs does not seems to have this option to turn it on either. Many thanks!
If the user wishes to modify this, extra **kwargs can be supplied to buy and sell following the IB documentation. For example inside the next method of a strategy: