diff --git a/dags/ai/dag_ai_stock.py b/dags/ai/dag_ai_stock.py index 636c1c5..dd128a6 100644 --- a/dags/ai/dag_ai_stock.py +++ b/dags/ai/dag_ai_stock.py @@ -10,8 +10,14 @@ with DAG( catchup=True, tags=["ai_stock"], ) as dag: + t1 = BashOperator( + task_id='stock_strategy', + bash_command='python /opt/airflow/dags/repo/dags/ai/stock/stock_strategy.py', + ) + + t2 = BashOperator( task_id='ai_stock', bash_command='python /opt/airflow/dags/repo/dags/ai/stock/stock.py', ) - t1 + t1 >> t2 \ No newline at end of file diff --git a/dags/ai/stock/stock_new.py b/dags/ai/stock/stock_strategy.py similarity index 100% rename from dags/ai/stock/stock_new.py rename to dags/ai/stock/stock_strategy.py