Closed samchin89 closed 1 year ago
You consider position_type in this file and fix dict it to only long trade
Nguyen, thanks for the guideline. One more, it opens trade every 4 hours, where should I alter to make the RL place 1 trade instead of it placing more orders every 4 hours?
hi can i ask, if i start the code(infer.py), and it open a trade with an order id, and if i restart the code, will it remembers the last order id?
no it only knows these orders that were opened by code it doesn't know previous order.
Vào Th 5, 19 thg 1, 2023 vào lúc 09:44 samchin89 @.***> đã viết:
hi can i ask, if i start the code(infer.py), and it open a trade with an order id, and if i restart the code, will it remembers the last order id?
— Reply to this email directly, view it on GitHub https://github.com/nguyenviettuan96/mt5_AI_trading_bot/issues/4#issuecomment-1396370430, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASKCF535NDSFVHDB3NL2JCDWTCTAJANCNFSM6AAAAAAT6G6ZC4 . You are receiving this because you commented.Message ID: @.***>
Nguyen, thanks for the clarification. The code from your repository is wonderful. Thanks for your contribution
everytime i restart python, it creates a new order, where do i adjust in the code (infer.py) to have a single trade only?