EMS: expect fqsn key in `Feed.symbols`

pre_multi_feedz
Tyler Goodlet 2022-11-07 15:40:01 -05:00
parent 79b27899bf
commit e7751cb5dd
1 changed files with 1 additions and 2 deletions

View File

@ -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')