How to send Orders to the Market | Trading with Python #3
HTML-код
- Опубликовано: 21 дек 2024
- ATJ Traders is an Algorithmic Trading Firm based in Prague. We are seeking investors who want to invest in our trading algorithms. Our strategy backtests and trading results are publicly shared so you can invest with confidence. Visit www.atj-trader...
In this video, I will show you:
How to send Orders to the Market
Jupyter Notebook Code:
www.atj-trader...
Open a Trading Account with Tickmill (affiliate link):
bit.ly/4dtsz1Q
Join our Discord Community:
/ discord
Risk Disclaimer:
The content on this website does not serve as investment advice but serves for research purposes only. Your capital is at risk when trading in the financial markets. Past performance is not an indicator of future results. The use of ATJ Traders' content or 3rd party investment services is solely at your own discretion and responsibility.
Affiliate Disclaimer:
Links in the description contain affiliate links. ATJ Traders may receive rewards from clicks or purchases generated from those links.
never knew you could connect MT5 with python, amazing! Thnaks
Congratulations for the content, it's the best on youtube.
Is it possible to login and execute orders on multiple accounts having only one terminal on the machine?
can you program this with tkinter? like a GUI that we can place an order
Hello TraderPy, sorry for my english, it's because I'm using Google Translate, I have a question about StopLoss and Take Profit, how do I set the Take Profit of just 1 point and the StopLoss of 20 points? my code is like this: "sl": 20.0, "tf": 1.0, these numbers are too big to be reached by the market and it's not my strategy I wanted to know can you help me
How would you automatically pull the ticket of an existing order instead of copy/paste? Example: You want to sell an open order and don't know the ticket number - is there a get function to get open order so you can parse the ticket number and then close that order?
extremely helpful
agree brilliant videos
I am facing issues with execution of trade after having conditional statements
im using action deal to enter a position , with valid request , my bot make in first hour about 2 positions and close them , but after that when it try to open new position order_result is None 😢,
i tried a loop to retry sending order just in case it faild at first , but it just kept looping and order result still None , so i couldn't figure out from where the problem could be .
nb: volume and price are floats but still getting None as order_result
please anyone who have a solution can help i appreciate it
Hello! Sorry for my English! I'm flattered by the Goggle translator! help me understand the error. no limit buy order is placed. doing everything as you do in this video! writes comment = 'Invalid expiration', the market order is working fine. in MT5 places a limit order normally
Hi, thanks for your comment. Pending orders require the expiration date specified. You can set GTC (good-til-cancelled) or an exact date for order validity. Ca you send your code to tu@traderpy.com? I'll happily have a look at it. :)
Now can not make order on python sir
Hi how can i modify the entry price of a buy stop order already placed? I tried:
request = {
'action': mt5.TRADE_ACTION_MODIFY,
'position': 38896523,
'price': 1648, # (for example)
}
result = mt5.order_send(request)
Pls help me , i don't know what i can do🙏🏻😭