FinRL-Tutorials
FinRL-Tutorials copied to clipboard
Tutorials. Please star.
The resulting plot in your README shows three lines (DDPG, Min-var and DJIA). However, mine only has two, and the relevant legends are missing. I wonder how I can change...
First of all, thanks for the source code of reinforcement learning on stock trading, it was really helpful! From your env setup, i found that commission was not considered, and...
I looked at the stock env code and it seems like the states involves different prices and holdings, how are they scaled? won't it stop the network from training? Ex:...
Hi, I did everything step by step as it is described in readme file, but pytest failed with 26 errors. Please, take a look at [pytest.txt](https://github.com/hust512/DQN-DDPG_Stock_Trading/files/4758389/pytest.txt) Python version is 3.6.9...
I followed the instruction to install a few packages and changed a couple .py files before I launched the train/test command to run the zxstock example. Running the training seemed...
We have copied all tutorials of FinRL and FinRL-Meta to this repo. In the future, some tutorials of FinRL and FinRL-Meta may be deleted, just leave several ones for testing...
/usr/local/lib/python3.10/site-packages/exchange_calendars/calendar_helpers.py in parse_date(date, param_name, calendar, raise_oob) 377 ts = parse_timestamp(date, param_name, raise_oob=False, side="left", utc=False) 378 --> 379 if ts.tz is not None: 380 raise ValueError( 381 f"Parameter `{param_name}` received with...
when I run this code as following, with pyfolio.plotting.plotting_context(font_scale=1.1): pyfolio.create_full_tear_sheet(returns = DRL_strat, benchmark_rets=baseline_returns, set_context=False) I meet an error as following, ![$I60X}95ZG(QMDQ(I`3 (AE](https://user-images.githubusercontent.com/107939588/233829716-f8c76292-70fe-4259-836d-efd444811e8f.png) ![STD88$G%21~M)O1H6TO%6{H](https://user-images.githubusercontent.com/107939588/233829782-42faa5f0-6bff-426b-9a27-6c76fbf06dc6.png) thanks for your help!!!
Opened : /notebooks/FinRL/examples/FinRL_PaperTrading_Demo.ipynb on google collab and tried locally. Both times: Part 2: Train the agent fails with Tuple error: Alpaca successfully connected Data cleaning started align start and end...
File: Stock_NeurlPS2018_Train.ipynb File ~/anaconda3/lib/python3.8/site-packages/finrl/meta/env_stock_trading/env_stocktrading.py:404, in StockTradingEnv._initiate_state(self) 398 if self.initial: 399 # For Initial State 400 if len(self.df.tic.unique()) > 1: 401 # for multiple stock 402 state = ( 403 [self.initial_amount]...