diff --git a/piker/brokers/binance.py b/piker/brokers/binance.py index 59fb3ea4..8a3f42e9 100644 --- a/piker/brokers/binance.py +++ b/piker/brokers/binance.py @@ -418,6 +418,7 @@ async def stream_quotes( # just directly pick out the info we need si['price_tick_size'] = syminfo.filters[0]['tickSize'] si['lot_tick_size'] = syminfo.filters[2]['stepSize'] + si['asset_type'] = 'crypto' symbol = symbols[0] diff --git a/piker/brokers/kraken.py b/piker/brokers/kraken.py index cfce2d5a..3278e40b 100644 --- a/piker/brokers/kraken.py +++ b/piker/brokers/kraken.py @@ -439,6 +439,7 @@ async def stream_quotes( syminfo = si.dict() syminfo['price_tick_size'] = 1 / 10**si.pair_decimals syminfo['lot_tick_size'] = 1 / 10**si.lot_decimals + syminfo['asset_type'] = 'crypto' sym_infos[sym] = syminfo ws_pairs[sym] = si.wsname