Hello,
There is anyway to check if a symbol is trading in normal or auction mode?
I’m having problens with auctions in the middle of the day in the USD/BRL market at BMF&Bovespa (Brazil). When a auction starts the robot send thousands of orders.
With the ENUM_SYMBOL_TRADE_MODE there are some indentifiers:
Identifier | Description |
---|---|
SYMBOL_TRADE_MODE_DISABLED | Trade is disabled for the symbol |
SYMBOL_TRADE_MODE_LONGONLY | Allowed only long positions |
SYMBOL_TRADE_MODE_SHORTONLY | Allowed only short positions |
SYMBOL_TRADE_MODE_CLOSEONLY | Allowed only position close operations |
SYMBOL_TRADE_MODE_FULL | No trade restrictions |
Does anyone know if when the auction starts the symbom change to disabled? SYMBOL_TRADE_MODE_DISABLED
There is any other way to check if it’s on auctioning mode? So I can stop trading during this period
Thank you