mt5R icon indicating copy to clipboard operation
mt5R copied to clipboard

incorrect work with specific symbol names

Open mytarmail opened this issue 3 years ago • 0 comments

I have a futures account and these are the names of the trading symbols

@ES , @M2K , @EU6 . . . . .

when i call MT5.Marketwatch() i get two vectors

MT5.Marketwatch()
[1] "c(\"CLE\", \"DB\", \"DSX\", \"ENQ\", \"EP\", \"EU6\", \"GCE\", \"GLE\", \"MES\", \"RTY\", \"DD\")"
[2] "c(\"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"EURUSD\")" 

when i try to get get mt5R::MT5.BidAskBook(sSymbol = "@EU6") i get error Error in if (server_resp == "") return(NULL) : argument is of length zero

how to fix it ?

mytarmail avatar Feb 02 '23 16:02 mytarmail