add size to all historical flow data
This commit is contained in:
parent
15399d2820
commit
46495462bb
@ -102,6 +102,7 @@ def process_day(date_str):
|
||||
item['sentiment'] = item['sentiment'].capitalize()
|
||||
item['execution_estimate'] = item['execution_estimate'].replace('_', ' ').title()
|
||||
item['tradeCount'] = item['trade_count']
|
||||
item['size'] = int(float(item['cost_basis'])/(float(item['price'])*100))
|
||||
|
||||
filtered_list.append(item)
|
||||
except:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user