API Support Forum
User Profile

Viewing User Profile for: SRuscak


About

Aug 24, 2017 12:52 PM

Apr 29, 2019 02:13 PM

Apr 29, 2019 02:13 PM



Post Statistics
SRuscak has contributed to 6 posts out of 4435 total posts (0.14%) in 692 days (0.00 posts per day).

20 most recent posts:

API Support » How to use OEC.API.SymbolLookupCriteria Apr 29, 2019 @ 02:13 PM (Total replies: 3)

Hello,

Symbol lookup returns only a subset of total results. The maximum number of results is 50.

If the contract you want isn't being returned, you can send a more specific query. For example, try .SearchText = "GGCK" or .ContractKinds.Add(ContractKind.Future)

API Support » RequestTicks returns data with .volume = 0 Mar 26, 2019 @ 01:38 PM (Total replies: 4)

Typically we mark obsolete members with the [Obsolete] tag. That should make it clear in intellisense, documentation, and compiler warnings. But in this case Tick.Volume should have been marked but wasn't. Our apologies for the confusion.

API Support » How to use OEC.API.SymbolLookupCriteria Mar 25, 2019 @ 12:20 PM (Total replies: 3)

Symbol Lookup is used for fast text-based lookups, so it will return only a subset of the total results. Probably your query is using the default of 10 results and you can get GGCJ9 by setting DesiredResultCount = 50

API Support » RequestTicks returns data with .volume = 0 Mar 18, 2019 @ 01:27 PM (Total replies: 4)

Ticks.Volume is obsolete. You should use Ticks.Volume32 instead, because it uses a larger datatype that better represents the data.

That said, we will release a fix that restores Ticks.Volume data.

API Support » Order replace event (not getting update on API session) Dec 06, 2018 @ 09:18 AM (Total replies: 1)

Hello Oleg,

Order modification doesn't change OrderState, which is why the OnOrderStateChanged event isn't raised.

The modify request is represented by a Command, and the server responds to the modify request by updating Order.Commands, so you should be able to listen to Order modifications with OnCommandUpdated.

Regards,
Seth

API Support » Trailing Stop Orders being rejected Apr 10, 2018 @ 08:04 AM (Total replies: 1)

Hi Pete. Sorry to hear you're having trouble. We have plans to improve OrderDraft validation feedback but it's still a ways away.

I'm thinking that you need to set myOrderDraft.Type to either TrailingStopLimit or TrailingStopLoss.

Best regards,
Seth