Comments (10)
@djoffrey,
Short:
- not yet
Expanded:
- actually you can use any data, it is matter of setting up csv parser and tuning up observation calc. Here is discussions somewhat related to BTC and parsing other timeframes:
#8
#13
from btgym.
Hello, @Kismuz I changed the code in order to be able to use daily data frames instead of intradaily data frames. I can see that the episode.data contains a correct sample of my daily dataframe and this one is accepted however it remains in global step 0 and always geting new random samples.
So the train never starts. Any idea how can I solve this?
from btgym.
@joaosalvado10 - any details? what script you are running? shots of terminal and tensor_board output?
Upd: I looked at the file. It may be irrelevant to this particular issue, but it should be properly sorted, while this one is not: records 1-29 are for 1970's and from 30 it goes 1800'th up.
BTgymDataFeed can not correctly sample unsorted files. Should add this to docs.
from btgym.
I think I solved the problem, I am trying to change the state given to the agent by including features available in the csv file.
from btgym.
Hi Kismuz,
I have found https://github.com/bartosh/backtrader/tree/ccxt which has support for a wide range of crypto exchanges. I would be interested to know if btgym supports the same exchanges as backtrader. Thank you for your work!
from btgym.
@kazi308,
basically BTGym is RL wrapper around backtrader and has been designed to inherit support for cc, live trading etc. by default , though I'm still busy developing RL framework itself and have not reached this field so far.
Another promising direction is utilising exisiting domain knowledge in form of already developed traditional trading strategies and built-in backtrader indicators as additional or primary state inputs to RL agent.
from btgym.
@Kismuz
I did a little dirty hack to datafeed to make cryptocurrency data work, and I think we need a little abstraction of data input mechanism, such as
function read_csv => function load_data would be nicer, I think.
from btgym.
I did a little dirty hack to datafeed to make cryptocurrency data work
Can you share details of what data you use and mods have been done?
we need a little abstraction of data input mechanism
You mean adding other than csv source of input or more changing parsing approach to existing data source?
General data pipe rework is my priority at the moment, though I'm focused on enabling data hierarchy from the meta-learning point of view. General changes has been pushed and some refining is in progress, any suggestions and contributions are welcome.
from btgym.
Can you share details of what data you use and mods have been done?
My dataset is a pandas.DataFrame object with datetime index, and OHLCV columns, I manually replace "data" of BTGymDataSet and related member vars etc.
You mean adding other than csv source of input or more changing parsing approach to existing data source?
Yes, I think a general data pipeline is quite important.
from btgym.
Hi , @joaosalvado10 ,could you please give a simple example to show how to use daily data with btgym? I cannot figure it out yet. Thanks!
from btgym.
Related Issues (20)
- Is there any real-life cases of successful application of reinforcement learning in trading / asset management? HOT 4
- Overestimated Value Function in Actor Critic Framework HOT 7
- signal.pause() - workers exit, but signal never received -- software issue? (debian linux) HOT 16
- loading multiple features - question ? HOT 3
- Amazing project <3
- PR Request for Docker addition HOT 2
- Train Test routine sampling - IndexError HOT 2
- BTgymMultiData - Sync between different data stream HOT 5
- Discussion: Long Episode Duration HOT 3
- Tutorial: Integration with TF-Agents RL Framework HOT 4
- Erroneous static_RNN policy behavior explanation.
- 2020
- BTGym Slack Join Link Broken HOT 1
- Problem with dependencies in installation on window HOT 1
- Examples that do more that randomly selects an action?
- Support Tensorflow 2 HOT 14
- ValueError: Axis limits cannot be NaN or Inf HOT 1
- INFOS
- Use btgym custom environment
- _pickle.PicklingError: Can't pickle <class 'pandas.core.frame.Pandas'>: attribute lookup Pandas on pandas.core.frame failed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btgym.