API Support Forum
OEC API > API Support > quotes doesn't work in the API example code
Author Topic: quotes doesn't work in the API example code
(10 messages, Page 1 of 1)
Moderators: VPfau
YBar
Posts: 24
Joined: Dec 01, 2008


Posted: Dec 01, 2008 @ 12:50 PM             Msg. 1 of 10
Hello,

I'm running the advanced OEC API example. After successfull login, I try to subscribe to ESZ8 under the Quotes TAB, but without success.
However, when I subscribe to the same contract under the DOM area, I get the streaming data without problem.
what might cause this? is this a known issue in the API example code?

Thank you in advance,
YBar
AndreyTsv
Posts: 6
Joined: Nov 21, 2008


Posted: Dec 05, 2008 @ 06:44 AM             Msg. 2 of 10
Good day!

At me a similar problem.
The file which goes in a package of initial codes , even on the size does not coincide with what of library generates itself Delfi7. Send me please (tsv_andrey@mail.ru) or lay out at a forum the executed module (OECsample.exe), compiled on Delfi7. Also from you the WORKING library of classes under Delphi 7 is necessary. That you give that now - does not work.

PLEASE, It is very necessary.

Andrey.
YBar
Posts: 24
Joined: Dec 01, 2008


Posted: Dec 05, 2008 @ 07:44 AM             Msg. 3 of 10
Hi Andrey,
I didn't fully understand your description.
Are you also trying to run the advanced example with C#, and the Quotes control doesn't work for you?
AndreyTsv
Posts: 6
Joined: Nov 21, 2008


Posted: Dec 05, 2008 @ 09:32 AM             Msg. 4 of 10
Hello!

I do not work on C#, I program on Delfi7. And I too had problems with API and quotes. :(

Andrey.
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Dec 12, 2008 @ 08:23 AM             Msg. 5 of 10
No, it is not a known issue.

Could you please run the sample under debugger and see if there are any exceptions?

Step-by-step description that allow us to reproduce problem would be helpful.
AndreyTsv
Posts: 6
Joined: Nov 21, 2008


Posted: Dec 15, 2008 @ 07:55 AM             Msg. 6 of 10
Good afternoon, sir!

I wish step by step to describe as I compile the project and that is impossible to me.
Download, please, archive with pictures.

http://slil.ru/26440499 - in archive
http://slil.ru/26440504 - in MS Word

PLEASE HELP!!!
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Dec 15, 2008 @ 08:41 AM             Msg. 7 of 10
In the latest version of the OEC API you need to download contracts first. Please call OECClient.RequestContracts for required symbols, such as "ES" to get the contracts.

See C# Sample for reference.
AndreyTsv
Posts: 6
Joined: Nov 21, 2008


Posted: Dec 16, 2008 @ 03:32 AM             Msg. 8 of 10
Good day!

I have done all as you have written. In C ## symbols are loaded normally, thanks.
And in Delfi7 nothing is loaded also by nothing it turns out. Still I have noticed, that module OECAPICOM.pas is let out a year earlier, than library API.dll. Probably, that because of it also it is impossible to compile the project.

The request to specify the reference to downloading of last version API and libraries DLL to it, please.

Andrey.


Edited by AndreyTsv on Dec 16, 2008 at 07:16 AM
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Dec 16, 2008 @ 10:23 AM             Msg. 9 of 10
We are working on this, but unfortunately Delphi is not in the top of our currently supported platform list, so we do not have projected release date yet.
AndreyTsv
Posts: 6
Joined: Nov 21, 2008


Posted: Dec 17, 2008 @ 08:20 AM             Msg. 10 of 10
Good day!

I ask you to give the reference for downloading or to send on e-mail ( tsv_andrey (@) mail.ru) WORKING version API for Delfi. Let it will be old, but the worker. The version which is now given does NOT WORK, please.

Thanks.