API Support Forum
OEC API > API Support > Contract.CurrentPrice = Nothing
Author Topic: Contract.CurrentPrice = Nothing
(3 messages, Page 1 of 1)
Moderators: VPfau
DRettger668
Posts: 2
Joined: Aug 07, 2012


Posted: Jan 18, 2013 @ 01:16 PM             Msg. 1 of 3
I am having trouble getting quotes. I am using Symbol Lookup as follows:

Dim LookUp As OEC.API.SimpleSymbolLookupCriteria = OecClient1.SymbolLookup(Sym)

where Sym would be something like "ESH3".

The OnSymbolLookupReceived fires and I see the contract object coming back is for the right symbol. However, The contract.CurrentPrice object is always equal to Nothing or Null.

When I first put this all together it was working properly. I submitted my conformance test info and when, a week and a half later, it came back approved I reran the program. At that point I was no longer getting these quotes. This happens on both the developer environment and your Demo system.

Any suggestions? Have quotes for my account been disabled?

David Rettger
DRettger668
Posts: 2
Joined: Aug 07, 2012


Posted: Jan 22, 2013 @ 12:58 PM             Msg. 2 of 3
A few days later... Any suggestions on the above?

David Rettger
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Jan 23, 2013 @ 10:42 AM             Msg. 3 of 3
Hello,

you need to subscribe received contract for quote updates: http://www.openecry.com/api/api/html/4e2865e8-7ac9-457e-8d5a-6d930f3408a8.htm

Victor Vins
Lead Software Developer