Machine learning in trading: theory, models, practice and algo-trading - page 567
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
The solution is as follows:
Load the R library reticulate (R interfface to Python) and follow the documentation and examples.
By the way, R has the same package xgboost. Or is Python's better? You can see an example here
Good luck
I don't understand, why do we need R here? Comrade needs MQl. So, write the DLL, add #include <python.h> and call the Python functions. Correct me if I'm wrong.
Correction.
1. R has been working steadily in MT/MQL for a long time. Checked.
2. The reticulate package was written by the RStudio team to provide a robust interface between R -> Python/ It was conceived mainly to use TensorFlow, CNTK, Keras and other numerous Python developments in R. And now all of these packages run as native in R.
So I don't think a library written by a knee-jerk enthusiast (without disparaging his competence in any way) can take precedence over reticulate. You should read the description of the package. It's very clear there.
Good luck
I don't understand, why do we need R here? My friend here needs MQl. So, write a DLL, add #include <python.h> and so on, and call the Python functions. Correct me if I'm wrong.
It's kinda cooler this way - call python through R and then R through dll from MT5... or rather the reverse sequence... it's too easy to live in Russia
It's kinda cooler this way - call python through R and then R through dll from MT5... or rather the reverse sequence... it's too easy to live in Russia
I know all this :)
""
http://alglib.sources.ru/dataanalysis/decisionforest.php
I know it all :)
Let it be for others, maybe it will be useful.
Correction.
1. R has been working steadily in MT/MQL for a long time. Checked.
2. The reticulate package was written by the RStudio team to provide a robust interface between R -> Python/ It was conceived mainly to use TensorFlow, CNTK, Keras and other numerous Python developments in R. And now all of these packages run as native in R.
So I don't think a library written by a knee-jerk enthusiast (without disparaging his competence in any way) can take precedence over reticulate. You should read the description of the package. It's very clear there.
Good luck
No, I don't doubt the competence of the developers of PCtudio.
But why make a mess of things like Python -> R -> Dll -> MQl? If you can go straight to Python -> Dll -> MQL? And we're not talking about creating libraries, but calling specific Python program functions, which already provide for interaction with C/C++ - from C-API to Boost.Python, etc.
I would like to understand the logic.
No, I don't doubt the competence of PCtudio developers at all.
But why make a mess like Python -> R -> Dll -> MQl? If you can go straight to Python -> Dll -> MQL? And we're not talking about creating libraries, but calling specific Python program functions, which already provide for interaction with C/C++ - from C-API to Boost.Python, etc.
I'd like to understand the logic.
Is there a dll for python?
Is there a dll for python?
Well, above is the link