update cron job
This commit is contained in:
parent
ece28efd52
commit
860eff6796
@ -2493,7 +2493,7 @@ async def get_options_plot_ticker(data:TickerData, api_key: str = Security(get_a
|
|||||||
|
|
||||||
#api endpoint not for website but for user
|
#api endpoint not for website but for user
|
||||||
@app.post("/raw-options-flow-ticker")
|
@app.post("/raw-options-flow-ticker")
|
||||||
@limiter.limit("100/minute")
|
@limiter.limit("500/minute")
|
||||||
async def get_raw_options_flow_ticker(data:OptionsFlowData, request: Request, api_key: str = Security(get_api_key)):
|
async def get_raw_options_flow_ticker(data:OptionsFlowData, request: Request, api_key: str = Security(get_api_key)):
|
||||||
ticker = data.ticker.upper()
|
ticker = data.ticker.upper()
|
||||||
start_date = data.start_date
|
start_date = data.start_date
|
||||||
|
|||||||
@ -473,7 +473,7 @@ schedule.every(15).minutes.do(run_threaded, run_cron_heatmap).tag('heatmap_job')
|
|||||||
schedule.every(1).minutes.do(run_threaded, run_cron_quote).tag('quote_job')
|
schedule.every(1).minutes.do(run_threaded, run_cron_quote).tag('quote_job')
|
||||||
schedule.every(1).minutes.do(run_threaded, run_cron_price_alert).tag('price_alert_job')
|
schedule.every(1).minutes.do(run_threaded, run_cron_price_alert).tag('price_alert_job')
|
||||||
schedule.every(15).minutes.do(run_threaded, run_market_moods).tag('market_moods_job')
|
schedule.every(15).minutes.do(run_threaded, run_market_moods).tag('market_moods_job')
|
||||||
schedule.every(10).minutes.do(run_threaded, run_dark_pool_flow).tag('dark_pool_flow_job')
|
#schedule.every(10).minutes.do(run_threaded, run_dark_pool_flow).tag('dark_pool_flow_job')
|
||||||
|
|
||||||
schedule.every(2).hours.do(run_threaded, run_fda_calendar).tag('fda_calendar_job')
|
schedule.every(2).hours.do(run_threaded, run_fda_calendar).tag('fda_calendar_job')
|
||||||
schedule.every(3).hours.do(run_threaded, run_json_job).tag('json_job')
|
schedule.every(3).hours.do(run_threaded, run_json_job).tag('json_job')
|
||||||
|
|||||||
@ -35,4 +35,5 @@ ujson
|
|||||||
faker
|
faker
|
||||||
finnhub-python
|
finnhub-python
|
||||||
intrinio_sdk
|
intrinio_sdk
|
||||||
openai
|
openai
|
||||||
|
slowapi
|
||||||
Loading…
x
Reference in New Issue
Block a user