Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect work with specific symbol names #22

Open
mytarmail opened this issue Feb 2, 2023 · 0 comments
Open

incorrect work with specific symbol names #22

mytarmail opened this issue Feb 2, 2023 · 0 comments

Comments

@mytarmail
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant