update options flow cron job
This commit is contained in:
parent
106663290b
commit
b3c2c3f974
@ -50,7 +50,7 @@ def process_page(page):
|
|||||||
|
|
||||||
asset_type = 'stock' if ticker in stock_symbols else ('etf' if ticker in etf_symbols else '')
|
asset_type = 'stock' if ticker in stock_symbols else ('etf' if ticker in etf_symbols else '')
|
||||||
|
|
||||||
item['assetType'] = asset_type
|
item['underlying_type'] = asset_type.lower()
|
||||||
item['put_call'] = put_call
|
item['put_call'] = put_call
|
||||||
item['ticker'] = ticker
|
item['ticker'] = ticker
|
||||||
item['price'] = round(float(item['price']), 2)
|
item['price'] = round(float(item['price']), 2)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user