Author |
Topic: m_Client_OnSymbolLookupReceived's Contracts returns nothing for m_Client.SymbolLookup ESM9 (8 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
TLau471 Posts: 70 Joined: |
Hi,
m_Client_OnSymbolLookupReceived's Contracts use to return the contract when doing a m_Client.SymbolLookup for ESM9. It now returns nothing. Any idea why? TLau
|
||||
VPfau Moderator Posts: 164 Joined: |
Hello,
Please provide a code example and environment you are working on (API, SIM, PROD) Thank you Vitaliy Pfau
|
||||
TLau471 Posts: 70 Joined: |
SIM
m_Client.SymbolLookup("ESM9") ... Private Sub m_Client_OnSymbolLookupReceived(ByVal SymbolLookup As OEC.API.SymbolLookupCriteria, ByVal Contracts As OEC.API.ContractList) Handles m_Client.OnSymbolLookupReceived Dim ctx As OEC.API.Contract = Nothing ctx = m_Client.Contracts(Contracts.First.Symbol) 'Contracts.First is Nothing End Sub TLau
|
||||
CMicciche902 Posts: 367 Joined: |
This issue has been resolved and released. Please check again.
Chris M
|
||||
TLau471 Posts: 70 Joined: |
Thanks Chris.
TLau
|
||||
TLau471 Posts: 70 Joined: |
Chris, I just checked, this is still not working.
m_Client.SymbolLookup("ESM9") returns "No contracts found" Private Sub m_Client_OnSymbolLookupReceived(ByVal SymbolLookup As OEC.API.SymbolLookupCriteria, ByVal Contracts As OEC.API.ContractList) Handles m_Client.OnSymbolLookupReceived if Contracts.First is Nothing then msgbox ("No contracts found!") end if End Sub TLau
|
||||
CMicciche902 Posts: 367 Joined: |
TLau,
We sent customers notice about two-digit year. If you updated the DLL of the API, it now requires two-digit year, whereas older API version you used to build application can still use single-digit year for symbol. Nuget has older API which supports single-digit year - https://www.nuget.org/packages/OECAPI/3.5.14.41 Symbol format to require two-digit year Chris M
|
||||
CMicciche902 Posts: 367 Joined: |
This was sent to live customers (including your personal email address) on 18-Oct-2018.
Chris M
|
||||