Forum

SymbolInfoSessionTrade via Python Integration

How can I get SymbolInfoSessionTrade information using mt5 Python integration

Cant seem to figure out why I am not getting a good response from the mt5.

Cant seem to figure out why I am not getting a good response from the mt5. 2024-10-11 08:42:42,641 INFO worker.py:1786 -- Started a local Ray instance. Initialized MetaTrader 5 (downloadasset pid=16728) Fetching data for ticker: GBPJPY (downloadasset pid=16728) No data available for GBPJPY. Error

Cant seem to figure out why I am not getting a good response from the mt5.

Cant seem to figure out why I am not getting a good response from the mt5. 2024-10-11 08:42:42,641 INFO worker.py:1786 -- Started a local Ray instance. Initialized MetaTrader 5 (downloadasset pid=16728) Fetching data for ticker: GBPJPY (downloadasset pid=16728) No data available for GBPJPY. Error

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