修改股票表结构
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user