ChatGPT_Trading_Bot icon indicating copy to clipboard operation
ChatGPT_Trading_Bot copied to clipboard

This is the code for the "ChatGPT Trading Bot" Video by Siraj Raval on Youtube

Results 12 ChatGPT_Trading_Bot issues
Sort by recently updated
recently updated
newest added

On execute this code: ```` df_summary = ensemble_agent.run_ensemble_strategy(A2C_model_kwargs, PPO_model_kwargs, DDPG_model_kwargs, timesteps_dict) ```` I get this error: ``` ============Start Ensemble Strategy============ ============================================ turbulence_threshold: 234.1933647436273 ======Model training from: 2013-01-01 to 2022-05-02 ======A2C...

If using all scalar values, you must pass an index ValueError Traceback (most recent call last) [](https://localhost:8080/#) in () ----> 1 df_summary = ensemble_agent.run_ensemble_strategy(A2C_model_kwargs, 2 PPO_model_kwargs, 3 DDPG_model_kwargs, 4 timesteps_dict)...

In your tutorial and notebook, you have trained on DOW30 stocks and in your final purchase you have used NVDA (Nvidia) stock. NVDA stock is not even part of DOW30....

AttributeError Traceback (most recent call last) [](https://localhost:8080/#) in () 4 # Dow Jones Index: ^DJI 5 # NASDAQ 100: ^NDX ----> 6 backtest_plot(df_account_value, 7 baseline_ticker = '^DJI', 8 baseline_start =...

======DDPG Validation from: 2021-10-04 to 2022-01-03 ======Best Model Retraining from: 2010-01-01 to 2022-01-03 ======Trading from: 2022-01-03 to 2022-04-04 --------------------------------------------------------------------------- ValueError Traceback (most recent call last) [](https://localhost:8080/#) in () ----> 1...

This program only places SPY and NVDA order once. I believe it needs in a loop, BUY when it qualifies if(DRLEnsembleAGent.Sharpe > .4) and sell (If ticket is bought) at...

https://github.com/AI4Finance-Foundation/FinRL/blob/master/examples/FinRL_Ensemble_StockTrading_ICAIF_2020.ipynb

The link for Colab is broken, it has your github link prefixed to the link. Just fyi