AutoTrading:2021DSAI HW2 源码
自动交易 用法 python trader.py --training training.csv --testing testing.csv --output output.csv 数据分析 模型训练 加载数据 df_training = pd . read_csv ( args . training ) 使用ARIMA训练模型 arima = auto_arima ( df_training [ c0 ], start_p = 1 , start_q = 1 , max_p = 3 , max_q = 3 , m = 12 , start_P = 0 , seasonal = True , d = 1 , D = 1 , trace = True , error_action = 'ignore' , suppress_warnings = True ) 预测 result = a
用户评论