Add symbol field to kraken quotes

bar_select
Tyler Goodlet 2020-10-29 17:08:25 -04:00
parent 416f027c5f
commit da0789e184
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ def normalize(
quote = asdict(ohlc)
quote['broker_ts'] = quote['time']
quote['brokerd_ts'] = time.time()
quote['pair'] = quote['pair'].replace('/', '')
quote['symbol'] = quote['pair'] = quote['pair'].replace('/', '')
# seriously eh? what's with this non-symmetry everywhere
# in subscription systems...