Hi. If anyone has this same trouble, it turned out that my comment was too long. I figured it out using the mt5.last_error() method. It could be useful for other errors.
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
Hi!
I want to send an OANDA order request via mt5.send_order(), but it is returning none type.
Here is my order request:
action: 1, Type: int
symbol: US100, Type: str
volume: 0.01, Type: float
type: 0, Type: int
sl: 16627.5, Type: float
tp: 16701.75, Type: float
deviation: 20, Type: int
magic: 234000, Type: int
comment: python script open - StairMaster_v1, Type: str
type_time: 0, Type: int
type_filling: 0, Type: int
Could anybody helpme to identify the error?