update
This commit is contained in:
parent
725b1078ca
commit
263a001ffb
@ -57,9 +57,9 @@ def process_page(page):
|
||||
item['strike_price'] = round(float(item['strike_price']), 2)
|
||||
item['cost_basis'] = round(float(item['cost_basis']), 2)
|
||||
item['underlying_price'] = round(float(item['underlying_price']), 2)
|
||||
item['type'] = item['option_activity_type'].capitalize()
|
||||
item['option_activity_type'] = item['option_activity_type'].capitalize()
|
||||
item['sentiment'] = item['sentiment'].capitalize()
|
||||
item['executionEstimate'] = item['execution_estimate'].replace('_', ' ').title()
|
||||
item['execution_estimate'] = item['execution_estimate'].replace('_', ' ').title()
|
||||
item['tradeCount'] = item['trade_count']
|
||||
|
||||
page_list.append(item)
|
||||
|
||||
@ -644,11 +644,12 @@ schedule.every(6).hours.do(run_threaded, run_json).tag('json_job')
|
||||
|
||||
schedule.every(12).hours.do(run_threaded, run_analyst_rating).tag('analyst_job')
|
||||
|
||||
schedule.every(20).seconds.do(run_threaded, run_if_not_running(run_cron_options_flow, 'options_flow_job')).tag('options_flow_job')
|
||||
schedule.every(60).seconds.do(run_threaded, run_if_not_running(run_cron_options_zero_dte, 'options_zero_dte_job')).tag('options_zero_dte_job')
|
||||
|
||||
schedule.every(2).minutes.do(run_threaded, run_dashboard).tag('dashboard_job')
|
||||
|
||||
schedule.every(20).seconds.do(run_threaded, run_if_not_running(run_cron_options_flow, 'options_flow_job')).tag('options_flow_job')
|
||||
|
||||
|
||||
# Run the scheduled jobs indefinitelyp
|
||||
while True:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user