Discussion of article "Gradient Boosting (CatBoost) in the development of trading systems. A naive approach" - page 9
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
No errors. MA 200
Code
Here is the log
Try pip update pandas
>>> import pandas as pd
>>> pd.__version__
'2.2.0'
miniconda
I will try miniconda. THANK YOU!
So there is not enough history, you need a bigger file. The size of the dataframe is always reduced by the period of the largest Mashka, because the first values are undefined. But there is dropna(), which removes all NaN
Maxim, can you tell me how to remove these columns from the final array. I am not good at Python. I want to try my own feature sets. Thank you.
Maxim, please tell me how to remove these columns from a finite array. I am not good at Python. I want to try my own feature sets. Thanks.
The get_prices function already does this at the end:
The get_prices function already does this at the end:
I see, thanks.
prices.dropna()It didn't work at the end. The archive still contained Nan values. It was solved by simply deleting lines.
I seem unable to reproduce the results from the python tester. The MT5 tester is not reproducing the results for the same period in python tester.
Otherwise, I ported the model as explained.
I put cat_model.mqh and cat_trader.mql5(compiled to .ex5).
But results look different.