A `size` field in ticks is optional

fix_forex
Tyler Goodlet 2022-07-13 13:48:54 -04:00
parent 6ce699ae1f
commit 0580b204a3
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ def iterticks(
sig = (
time,
tick['price'],
tick['size']
tick.get('size')
)
if ttype == 'dark_trade':