GithubHelp home page GithubHelp logo

northstarrl's Introduction

安装依赖

pip install -r requirements.txt

运行

python java-environment-simulator.py

再另起一个终端,执行:

python app.py

项目架构

.
├── README.md
├── app.py # python客户端
├── env.py # python中的自定义交易环境,通过和Java端通信获得状态信息(目前只有一个价格,还未加入指标等)和奖励信息
├── java-environment-simulator.py # 模拟Java端环境,和env.py通信,提供状态和奖励信息
├── java-strategy-simulator.py #模拟Java端策略Class,每次调用onTick时与app.py通信,获得action
├── ppo_trading.zip # 训练得到的模型(状态太少+没训练够足够轮,效果不行)
└── requirements.txt # Python包依赖

Alt text

问题

  • 在NorthStar端策略实现里如何实现策略并debug

northstarrl's People

Contributors

yuruiii avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.