1 Star 0 Fork 24

lxj00000/future_agent

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
define.py 5.28 KB
一键复制 编辑 原始数据 按行查看 历史
邹吉华 提交于 2023-04-04 17:20 . 1.3.1
MAX_ORDER = 1
ONCE_ORDER = 1
K_LIST_LEN = 20
# 历史k线+盘口数据+指标数+账户数据
OBS_COUNT = 3+4+3
MODEL_PATH = "./model/rppo"
TB_LOG_PATH = "../tb_log"
TRAINING_TRADE_DAY = [
"rb主力连续_20220801.csv",
"rb主力连续_20220802.csv",
"rb主力连续_20220803.csv",
"rb主力连续_20220804.csv",
"rb主力连续_20220805.csv",
"rb主力连续_20220808.csv",
"rb主力连续_20220809.csv",
"rb主力连续_20220810.csv",
"rb主力连续_20220811.csv",
"rb主力连续_20220812.csv",
"rb主力连续_20220815.csv",
"rb主力连续_20220816.csv",
"rb主力连续_20220817.csv",
"rb主力连续_20220818.csv",
"rb主力连续_20220819.csv",
"rb主力连续_20220822.csv",
"rb主力连续_20220823.csv",
"rb主力连续_20220824.csv",
"rb主力连续_20220825.csv",
"rb主力连续_20220826.csv",
"rb主力连续_20220829.csv",
"rb主力连续_20220830.csv",
"rb主力连续_20220831.csv",
"rb主力连续_20220901.csv",
"rb主力连续_20220902.csv",
"rb主力连续_20220905.csv",
"rb主力连续_20220906.csv",
"rb主力连续_20220907.csv",
"rb主力连续_20220908.csv",
"rb主力连续_20220909.csv",
"rb主力连续_20220913.csv",
"rb主力连续_20220914.csv",
"rb主力连续_20220915.csv",
"rb主力连续_20220916.csv",
"rb主力连续_20220919.csv",
"rb主力连续_20220920.csv",
"rb主力连续_20220921.csv",
"rb主力连续_20220922.csv",
"rb主力连续_20220923.csv",
"rb主力连续_20220926.csv",
"rb主力连续_20220927.csv",
"rb主力连续_20220928.csv",
"rb主力连续_20220929.csv",
"rb主力连续_20220930.csv",
"rb主力连续_20221010.csv",
"rb主力连续_20221011.csv",
"rb主力连续_20221012.csv",
"rb主力连续_20221013.csv",
"rb主力连续_20221014.csv",
"rb主力连续_20221017.csv",
"rb主力连续_20221018.csv",
"rb主力连续_20221019.csv",
"rb主力连续_20221020.csv",
"rb主力连续_20221021.csv",
"rb主力连续_20221024.csv",
"rb主力连续_20221025.csv",
"rb主力连续_20221026.csv",
"rb主力连续_20221027.csv",
"rb主力连续_20221028.csv",
"rb主力连续_20221031.csv",
"rb主力连续_20221101.csv",
"rb主力连续_20221102.csv",
"rb主力连续_20221103.csv",
"rb主力连续_20221104.csv",
"rb主力连续_20221107.csv",
"rb主力连续_20221108.csv",
"rb主力连续_20221109.csv",
"rb主力连续_20221110.csv",
"rb主力连续_20221111.csv",
"rb主力连续_20221114.csv",
"rb主力连续_20221115.csv",
"rb主力连续_20221116.csv",
"rb主力连续_20221117.csv",
"rb主力连续_20221118.csv",
"rb主力连续_20221121.csv",
"rb主力连续_20221122.csv",
"rb主力连续_20221123.csv",
"rb主力连续_20221124.csv",
"rb主力连续_20221125.csv",
"rb主力连续_20221128.csv",
"rb主力连续_20221129.csv",
"rb主力连续_20221130.csv",
"rb主力连续_20221201.csv",
"rb主力连续_20221202.csv",
"rb主力连续_20221205.csv",
"rb主力连续_20221206.csv",
"rb主力连续_20221207.csv",
"rb主力连续_20221208.csv",
"rb主力连续_20221209.csv",
"rb主力连续_20221212.csv",
"rb主力连续_20221213.csv",
"rb主力连续_20221214.csv",
"rb主力连续_20221215.csv",
"rb主力连续_20221216.csv",
"rb主力连续_20221219.csv",
"rb主力连续_20221220.csv",
"rb主力连续_20221221.csv",
"rb主力连续_20221222.csv",
"rb主力连续_20221223.csv",
"rb主力连续_20221226.csv",
"rb主力连续_20221227.csv",
"rb主力连续_20221228.csv",
"rb主力连续_20221229.csv",
"rb主力连续_20221230.csv"
]
# The algorithms require a vectorized environment to run
EVALUATE_TRADE_DAY = [
"rb次主力连续_20220801.csv",
"rb次主力连续_20220802.csv",
"rb次主力连续_20220803.csv",
"rb次主力连续_20220804.csv",
"rb次主力连续_20220805.csv",
"rb次主力连续_20220808.csv",
"rb次主力连续_20220809.csv",
"rb次主力连续_20220810.csv",
"rb次主力连续_20220811.csv",
"rb次主力连续_20220812.csv",
"rb次主力连续_20220815.csv",
"rb次主力连续_20220816.csv",
"rb次主力连续_20220817.csv",
"rb次主力连续_20220818.csv",
"rb次主力连续_20220819.csv",
"rb次主力连续_20220822.csv",
"rb次主力连续_20220823.csv",
"rb次主力连续_20220824.csv",
"rb次主力连续_20220825.csv",
"rb次主力连续_20220826.csv",
"rb次主力连续_20220829.csv",
"rb次主力连续_20220830.csv",
"rb次主力连续_20220831.csv",
"rb次主力连续_20221201.csv",
"rb次主力连续_20221202.csv",
"rb次主力连续_20221205.csv",
"rb次主力连续_20221206.csv",
"rb次主力连续_20221207.csv",
"rb次主力连续_20221208.csv",
"rb次主力连续_20221209.csv",
"rb次主力连续_20221212.csv",
"rb次主力连续_20221213.csv",
"rb次主力连续_20221214.csv",
"rb次主力连续_20221215.csv",
"rb次主力连续_20221216.csv",
"rb次主力连续_20221219.csv",
"rb次主力连续_20221220.csv",
"rb次主力连续_20221221.csv",
"rb次主力连续_20221222.csv",
"rb次主力连续_20221223.csv",
"rb次主力连续_20221226.csv",
"rb次主力连续_20221227.csv",
"rb次主力连续_20221228.csv",
"rb次主力连续_20221229.csv",
"rb次主力连续_20221230.csv"
]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/lxj00000/future_agent.git
[email protected]:lxj00000/future_agent.git
lxj00000
future_agent
future_agent
master

搜索帮助