EMS: expect fqsn key in `Feed.symbols`
parent
79b27899bf
commit
e7751cb5dd
|
@ -1239,8 +1239,7 @@ async def process_client_order_cmds(
|
||||||
pred = mk_check(trigger_price, last, action)
|
pred = mk_check(trigger_price, last, action)
|
||||||
|
|
||||||
spread_slap: float = 5
|
spread_slap: float = 5
|
||||||
sym = fqsn.replace(f'.{brokers[0]}', '')
|
min_tick = feed.symbols[fqsn].tick_size
|
||||||
min_tick = feed.symbols[sym].tick_size
|
|
||||||
|
|
||||||
if action == 'buy':
|
if action == 'buy':
|
||||||
tickfilter = ('ask', 'last', 'trade')
|
tickfilter = ('ask', 'last', 'trade')
|
||||||
|
|
Loading…
Reference in New Issue