Discussing the article: "Python + LLM API + MetaTrader 5: Real-World Experience Building an Autonomous Trading Bot" - page 2

 

First I have tried to run the program; it says it; it says "the script is running...." but no matter how long I left it, no trade

The script is running. To stop, press Ctrl+C.

main_loop

main_loop

main_loop

.

.

.

For me the real issue is I dont know what is being automated here? Going through the code, you have defined all the buy and sell conditions already. You wrote code for it. So the model is supposed to analyze the prompt, write and run it own code to make a judgement call?  If you have passed the prompt to claude or chatgpt and ran the resulting python code, the result is equally automated; you can backtest and optimize. The worst of all, you have to run this through Openrouter for which there might be fees and also there might be another fee with the model provider. If you run cluade or the other AI engines through the shell, you can combine it with script to get the same result without OPENROUTER.

Good Luck!

 

Thank you very much Aleh! 
Actually I m testing something similar, with a very specifiy skill.md my biggest struggle is with range markets and you gave me couple of ideas!


Cheers!