AI4Finance-Foundation / FinRL

FinRL: Financial Reinforcement Learning. 🔥
https://ai4finance.org
MIT License
9.4k stars 2.29k forks source link

Are the tutorials abandoned? #1040

Open kilmern opened 1 year ago

kilmern commented 1 year ago

I am very keen in getting FinRL working so I wanted to go through the tutorials to make as much sense of the platform as possible. The two main problems I am seeing with the tutorials is that either the filenames don't match with the recommended tutorial order (https://github.com/AI4Finance-Foundation/FinRL-Tutorials/blob/master/README.md) or the tutorials themselves are broken. I have tried 5 different tutorials and each one of them is running into one issue or another.

Is there a better approach to getting started with FinRL and playing around with some tutorials? Can someone point me in the right direction?

rl3250 commented 1 year ago

same on this. I tried the paper trading demo and it's broken. @XiaoYangLiu-FinRL

using colab

thinkscriptfan commented 1 year ago

I have tried a few of the examples both on colab and under windows .I had some luck finally to get one working but it was not for long as they have not been working now for more than 2 weeks , have followed some of the bug fixes that were proposed but then they fail somewhere else. .... !! !!

YangletLiu commented 1 year ago

Hello, our team is working with active members to help get to real. Currently, not have enough resource for education, but will soon recruit more RAs to polish the tutorials. Thanks for your understandings.

BlockchainPunks commented 5 months ago

tutorials are still broken - example when running paper trading demo: FinRL_PaperTrading_Demo.ipynb Alpaca successfully connected Data cleaning started align start and end dates produce full timestamp index Start processing tickers ticker list complete Start concat and rename Data clean finished! Started adding Indicators Running Loop Restore Timestamps Finished adding Indicators Data cleaning started align start and end dates produce full timestamp index Start processing tickers ticker list complete Start concat and rename Data clean finished!

TypeError Traceback (most recent call last) in <cell line: 1>() ----> 1 train(start_date = '2022-08-25', 2 end_date = '2022-08-31', 3 ticker_list = ticker_list, 4 data_source = 'alpaca', 5 time_interval= '1Min',

2 frames in train_agent(args) 308 env = build_env(args.env_class, args.env_args) 309 agent = args.agent_class(args.net_dims, args.state_dim, args.action_dim, gpu_id=args.gpu_id, args=args) --> 310 agent.states = env.reset()[np.newaxis, :] 311 312 evaluator = Evaluator(eval_env=build_env(args.env_class, args.env_args),

TypeError: tuple indices must be integers or slices, not tuple