Skip to content

ecsfu/stock_env

Repository files navigation

stock_env

stock environment for reinforcement learning

定义单只股票的市场交易环境,初始值:
1.流通股本:tradable_shares
2.初始价格:initial_price
3.涨跌停设置:price_limiting
4.交易费率:buy_cost_pct,sell_cost_pct
5.状态空间:state_space
6.动作空间:action_space

状态: 1.流通股本:tradable_shares 【标量】
2.实时价格:now_price 【标量】
3.日订单列表买:list_of_buy 【向量】
4.日订单列表卖:list_of_sell 【维向量】


初始价格10元,流通股本1亿,通过agent模拟市场交易

100agent-10ep—balance 100agent-10ep—buy 100agent-10ep—sell

About

stock environment for reinforcement learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages