I am using mtmanapi.dll with a .Net CLR wrapper
I am getting correct Ask
and Bid
values for symbols without any special characters in the Symbol
name - ( e.g. EURUSD
, GBPUSD
and so on ), but if symbols have some special character in it ( e.g. EURUSD'
, GBPUSD0
and so on ), then it's not fetching Ask
and Bid
value using a SymbolInfoGet()
method.
It should work and below code returns quotes for US100, OIL.WTI, 225JPY from my server. I am using
SymbolInfoUpdated()
however it's similar toSymbolInfoGet()
. But there are few notes:1) you might need to call
mt.SymbolsRefresh();
andmt.SymbolAdd(symbol.Name);
before switching to pumping2)
SymbolInfoGet()
will return you last received quote in pumping. So if you connect on Saturday and call it, it won't return anything until Monday