Shadow 'close' field with 'last'

basic_alerts
Tyler Goodlet 2021-01-05 08:02:48 -05:00
parent 24536ad769
commit 268f207a6c
1 changed files with 1 additions and 0 deletions

View File

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