修改股票表结构
This commit is contained in:
@@ -10,8 +10,14 @@ with DAG(
|
|||||||
catchup=True,
|
catchup=True,
|
||||||
tags=["ai_stock"],
|
tags=["ai_stock"],
|
||||||
) as dag:
|
) as dag:
|
||||||
|
|
||||||
t1 = BashOperator(
|
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',
|
task_id='ai_stock',
|
||||||
bash_command='python /opt/airflow/dags/repo/dags/ai/stock/stock.py',
|
bash_command='python /opt/airflow/dags/repo/dags/ai/stock/stock.py',
|
||||||
)
|
)
|
||||||
t1
|
t1 >> t2
|
||||||
Reference in New Issue
Block a user