EMS: expect fqsn key in `Feed.symbols`

agg_feedz
Tyler Goodlet 2022-11-07 15:40:01 -05:00
parent 8e85ed92c8
commit 051a8729b6
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')