Forum

if result.retcode != mt5.TRADE_RETCODE_DONE: NoneType' object has no attribute 'retcode'

# send a trading request result = mt5.order_send(request) # check the execution result print( "1. order_send(): by {} {} lots at {} with deviation={} points" .format(x,lot,price,deviation)); if result.retcode != mt5. TRADE_RETCODE_DONE : print( "2

How can I get the broker's server datetime?

Using python with mt5 https://www.mql5.com/en/docs/python_metatrader5/mt5login_py How can I get the broker's server datetime

How can I get the broker's server datetime?

Using python with mt5 https://www.mql5.com/en/docs/python_metatrader5/mt5login_py How can I get the broker's server datetime

Is it possible to sort assets downloaded from metatrader 5 using python by sector?

Is it possible to sort assets downloaded from metatrader 5 using python by sector

mt5.TIMEFRAME_

Where is the documentation for the different timeframes i can querry? Using python mt5 library https://www.mql5.com/en/docs/python_metatrader5

Can I get the symbol margin?

https://www.mql5.com/en/docs/python_metatrader5/mt5symbolinfo_py Where can I find the margin for the symbol

Convert Lots to Nominal value

How do you convert lots to nominal value

Where is the python Metatrader 5 integration documents?

https://www.mql5.com/en/docs/integration/python_metatrader5 Where is the python Metatrader 5 integration documents

Can you get the commission rate from the metatrader ?

Can you get the commission rate from the metatrader for each asset

Nominal value

Is this accurate