API Support Forum
User Profile

Viewing User Profile for: CChen15


About

Jul 23, 2009 12:00 AM

Mar 21, 2019 06:08 PM

Mar 21, 2019 06:10 PM



Post Statistics
CChen15 has contributed to 121 posts out of 4461 total posts (2.71%) in 3739 days (0.00 posts per day).

20 most recent posts:

API Support » "Top Of Market" is unreachable Mar 21, 2019 @ 06:08 PM (Total replies: 1)

OEC API COM v.3.5.14.54

Currently I 'm subscribed on "Top Of Market" only data feed,
as you explained it on https://myaccount.gainfutures.com/MarketData and
and in https://myaccount.gainfutures.com/Content/includes/pdf/Market_Data.pdf

"Real time quote board, charts and best bid/ask only on Depth of Market."

In OEC-Trader (prod) I received both of datafeeds (Quotes and "Top Of Market") very well.

However, my application, being connected to prod server too,
and being subscribed on DOM, doesn't recieved any events on DOM datafeed,
meanwhile quotes (ticks) datafeed is working very well.

Subscribing on the DOM datafeed maded by, and events are waiting on the following:
Sub SubscribeDOM(Contract As Contract)
Event OnDOMChanged(Contract As Contract)

Subscribing on the Tick datafeed maded by, and events recieved on the following:
Function SubscribeTicks(Contract As Contract, startDate As Double) As Subscription
Event OnTicksReceived(Subscription As Subscription, Ticks As Ticks)

The same code, logging on api server,
where my developer's account has the full "Depth of Market" subscribe plan and which I can't change,
API DOM subscribe is working OK on full depth.

Please, explain - how I can reach the "Top Of Market" data on API,
according to datafeed plan, on which I am subscribed currently.

Sincerely
.

Announcements » New GF API coming in Q2 2019 Jan 03, 2019 @ 04:54 PM (Total replies: 4)

Dear Chris,
thank you for prompt reply.

However, let me ask you additional questions re COM API:

* COM API support will not be introduced in the first phase.

It seems that the "first phase" and other possibles need to be more explained.


And in accordance on the:

* You'll be able to use OEC API until the GF API offers support for COM.

the next question arose:

Does OEC_COM_API_EOL and GF_COM_API_BOL will be overlapped on the timeline as:

----------|------------- OEC_COM_API_EOL --|
|-- GF_COM_API_BOL --------------|-->

or the ??? gap will be present:
-------------- OEC_COM_API_EOL --| ?????????? |-- GF_COM_API_BOL --->


And the next:

* You'll be able to use OEC API until ...
Do you mean OEC _COM_ API here?
.

Announcements » New GF API coming in Q2 2019 Jan 03, 2019 @ 12:41 PM (Total replies: 4)

Re: Your post above and email info:
GAIN Futures Developer Notification

To whom it may concern,
This email serves as an announcement regarding our new Gain Futures API. In the near future, we will be distributing more information regarding the release. We plan to offer the new GF API in the 2nd quarter of 2019. We will support the current OEC API throughout 2019. However, no additional development or updates will be released to OEC API and we will decommission OEC API after 12 months from the release date. All new development and major updates will be released to our new GF API. For vendors who have written to us via FIX, the new GF API will not impact your application.

The new API will feature the following internal improvements as 80% of the code has been rewritten and restructured to modernize the codebase, improve its health, and support future growth for our systems:

Updated to .NET version 4.6.2
Improved developer experience
Public interface updated, organized, and clarified
Client can depend on interface library for reduced recompilation
Client can manage GAIN Futures server connections independently
Please be on the lookout for more details to come, and feel free to reach out with any questions or concerns.

Sincerely,

GAIN Futures Client Services


Please, explain on the new GF API:

1. The minimum OS requirementst (as XP and 2003 Server)
2. COM ActiveX model support
3. Does "12 months from the release date" means the "last release date"

Thank you for support.
.

User Interface » OEC Trader Prod - can't recognise current internet connection May 04, 2017 @ 08:52 AM (Total replies: 1)

Despite of troubles, described here https://apisupport.gainfutures.com/Topic/Index/1162, I installed Trader yet.
However, I faced with the similar problems on both of last versions .204 & .266:

1. Trader can't recognise current internet connection too, like the Installer on the link above.
2. UI not loaded, breaking initiating process on:
Network Error
An internet connection is required in order to proceed. Please check your internet connection.
Retry
Exit


Meanwhile my own app connect to prod server and work very well.
.

User Interface » OEC Trader Prod Setup - Installer can't recognise current internet connection May 04, 2017 @ 08:25 AM (Total replies: 1)

Hello.

Re:
OEC Trader 3.5.15.204.exe 32ACBFAB0BBE3F28D5C6824FD71EBE2EA205B930
OEC Trader 3.5.15.266.exe 38B38B08285FA2648ED17483C996344D77CDDD49

Trying to simplificate installation process I denie all options except Chart plugin that is mandatory.
However installation interrupted on the stage of "Downloading Chart Package".

OEC Trader Setup Wizard
Installing
Components will be downloaded & installed
Downloading Chart Package
Cannot find the file OEC Chart Package Plugin.exe
Interrupted the OEC Trader Setup Wizard
Click the Finish button to exit the Setup Wizard.

I have 24x7 internet connection. All other application that are need in it are working OK and use existing connection very well in the same time as OEC Trader Prod Installer doesn't.

There are no blocked connections for mentioned installer process In desktop firewall logs. To clear situation I turn off firewall. Moreover - I unload firewall atall.
.

API Support » FailReason_SoftwareNotPermitted Apr 12, 2017 @ 04:04 PM (Total replies: 1)

I'm sorry for the fuss.

By my own oversight, there was not deleted the statement, that cleared UUID after first disconnect. It happened on modifying and copying large chunks of code :)

Please, mark the topic as solved or close it at all.
.

API Support » FailReason_SoftwareNotPermitted Apr 12, 2017 @ 02:56 PM (Total replies: 1)

Hello.

OECAPICOM 3.5.14.6 prod

When I try:
Call .Connect(...)there all are OK & I get following sequence of events:
OnLoggedUserClientsChanged
OnLoginComplete
Then I try:Call .Disconnectgetting:OnDisconnected(unexpected = False)


and, nothing touching, don't closing application, a little time later again:
Call .Connect(...)getting:OnLoginFailed(reason = FailReason_SoftwareNotPermitted) ' = 8
OnDisconnected(unexpected = False)

It needs to close app and try connect again for successful login.However, the second and all next tries are always false.

What I do wrong?

Thank you.
.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Chen Hua, Russia


API Support » COM API: Ticks.BidPrices() doesn't work Dec 12, 2012 @ 09:33 AM (Total replies: 3)

I mean not a VB, but the VBA under Access. Is your pov right for VBA too? I see in About: "VBA: Retail 6.5.1024"

However it's strange. I read that all arrays in VB are SAFEARRAY...

Have you some recomendations?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia


API Support » COM API: Ticks.BidPrices() doesn't work Dec 10, 2012 @ 10:58 PM (Total replies: 3)

I can't get values by .BidPrices(0) (and other similar like Ask, Prices, Volumes, Timastamps) with error:
Quote: Microsoft Visual Basic
Compile error:
Wrong number of arguments or invalid property assignment

I obligated to use .BidPriceList.Item(0) instead. However I see .BidPrices(0) value in Watches window:
http://img84.imageshack.us/img84/3562/1211033342.png

WinXP SP3, Office 2003 SP3, OEC COMAPI 3.5

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia


API Support » Bad data on OnDOMChanged Oct 17, 2011 @ 10:14 AM (Total replies: 0)

Hello.

Time to time (a very rare) I see bad ticks recieved by OnDOMChanged event in prod datafeed.
All of them contains zero value in DOM.AskLevels.Item(0) (other DOM levels are not monitored but counted only). Volume DOM.BidSizes.Item(0) on this level may be like zero, like other values. It is important that:
- it happens only with ASK nor BID;
- the quantity of indicated levels DOM.AskLevels.Length is significantly reduced in times compare to its previous values or current DOM.BidLevels.Length up to 1.

Example: GSIZ1
Timestamp - 2011-09-29 11:13:48.328 (UTC)
BID-ASK Price/Volume/LevelsQty: 30115/3/12 - 0/0/1

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia


API Support » Reliability of BID & ASK data and events priority Oct 13, 2011 @ 10:17 AM (Total replies: 2)

VictorV, thank you for prompt and useful explanation.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia


API Support » Reliability of BID & ASK data and events priority Oct 13, 2011 @ 10:02 AM (Total replies: 2)

Hello.

We have four real time events in OECAPI COM that gives us nine possible sources
of BID & ASK data. They are:

1. OnDOMChanged
(1) Contract.DOM.BidLevels.Item(0) & .BidSizes.Item(0)
(2) Contract.Price.BidPrice & .BidVol

2. OnTicksReceived
(3) Ticks.BidPriceList.Item(0)
(4) Subscription.Contract.DOM.BidLevels.Item(0) & .BidSizes.Item(0)
(5) Subscription.Contract.Price.BidPrice & .BidVol

3. OnPriceTick
(6) Contract.DOM.BidLevels.Item(0) & .BidSizes.Item(0)
(7) Price.BidPrice & .BidVol

4. OnPriceChanged
(8) Contract.DOM.BidLevels.Item(0) & .BidSizes.Item(0)
(9) Price.BidPrice & .BidVol


All of them can give us BID & ASK price levels and their sizes (exept Ticks
object, that gives no sizes) on the first (zero, in API notation) DOM level.

Which of them are most reliable for fresh BID & ASK data recieving? "Reliable"
means here that we can do at least one trade on levels indicated by this
event (method).

Which method is "leading" and gives us fresh changed BID & ASK data first of all and
which is delayed, comparing to others? In other words - what is the priority of
mentioned methods in which data are coming?

Because the 4-th 'OnPriceChanged' "...could skip some price updates, if they
come too often" lets not talk about it if I'm right in this assumption of
course.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia


API Support » OnPriceTick question Oct 12, 2011 @ 11:10 AM (Total replies: 1)

Hello

We have two of objects in OECAPI COM passed with 'OnPriceTick' event: 'Contract' and 'Price'. However, 'Contract' has a 'CurrentPrice As Price' property. Are passed 'Price' and 'Contract.CurrentPrice' objects identical and returns same data?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia


API Support » OnPriceTick; Multiple tiks instead of a single Sep 20, 2011 @ 10:58 AM (Total replies: 9)

O-ops... But there are no one words in manual about SubscribeTicks... I forgot about this method. Say me please - when SubscribeTicks will be used does ticks will be coming "in batch"? Where I can read about 'batch' some more?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia


API Support » OnPriceTick; Multiple tiks instead of a single Sep 20, 2011 @ 10:47 AM (Total replies: 9)

Thank you. We was talking about this method some monthes ago. But it occures "... in response to RequestTicks ..." only.

Is there events in OEC API that occures on trade only? How I can get pure trades w/o additional requests?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia


API Support » OnPriceTick; Multiple tiks instead of a single Sep 20, 2011 @ 10:10 AM (Total replies: 9)

Thank you. With which event I can recieve only trades w/o DOM changes?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia


API Support » OnPriceTick; Multiple tiks instead of a single Sep 20, 2011 @ 10:06 AM (Total replies: 9)

OEC Trader? I don't talk about it. I talk about my application based on OEC COM API.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia


You mean that this event was generated by possible DOM changes?
Edited by CChen15 on Sep 20, 2011 at 10:08:53

API Support » OnPriceTick; Multiple tiks instead of a single Sep 20, 2011 @ 09:48 AM (Total replies: 9)

Hello.

COM API (last version), Access 2003 SP3, XP SP2
6BZ1, 2011-09-19, end of session, last trade.

I saw on data collected by my application and found that there was 15 trades with size 13 on level 15687. http://img692.imageshack.us/img692/9391/0920133330.png

Then I look on T&S at http://www.cmegroup.com/trading/fx/g10/british-pound_quotes_timeSales_globex_futures.html and found that there was only single trade at this level http://img831.imageshack.us/img831/8504/0920123319.png

And there are a lot of such examples.
Data was recieved by OnPriceTick event.

Would you please to explain it?
.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia


API Support » New API release Sep 20, 2011 @ 09:16 AM (Total replies: 2)

Thank you.

Many time was promised that example of remoting connection will be included in COM (Excel) example in "next release". Next release was came but there is no example of remoting still... Does it make sense to wait?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia


API Support » New API release Sep 15, 2011 @ 02:53 AM (Total replies: 2)

New API and documentation was released at 2011-08-30.

1. What changes was made in them?

2. What version of API is used in OECAPIAdvancedExample.zip, OECAPIAdvancedExampleEXE.zip and OECAPIBasicExample.zip? It is dated by 2011-08-24 and is different from "OEC API COM 3.5.exe" and
"OECAPICOM_NoSamples 3.5.exe"

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia