update cron job

This commit is contained in:
MuslemRahimi 2024-07-19 15:28:02 +02:00
parent ece28efd52
commit 860eff6796
3 changed files with 4 additions and 3 deletions

View File

@ -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
@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)):
ticker = data.ticker.upper()
start_date = data.start_date

View File

@ -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_price_alert).tag('price_alert_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(3).hours.do(run_threaded, run_json_job).tag('json_job')

View File

@ -35,4 +35,5 @@ ujson
faker
finnhub-python
intrinio_sdk
openai
openai
slowapi