API Support Forum
User Profile

Viewing User Profile for: KKuzma39


About

Dec 09, 2009 08:59 AM

Dec 11, 2009 02:11 AM

Jan 12, 2010 07:29 AM

Delphi




Post Statistics
KKuzma39 has contributed to 2 posts out of 5593 total posts (0.04%) in 5252 days (0.00 posts per day).

20 most recent posts:

API Support » What symbols can I Subscribe? Dec 11, 2009 @ 02:11 AM (Total replies: 3)

Thank you for fast reply!

Here is my code:

procedure TFTest.ComboBox1CloseUp(Sender: TObject);
Var
I:Integer;
ConractList:IContractList;
FDAX:IBaseContract;
SomeContract:IContract;
begin
FDAX:=fMain.client.BaseContracts.ItemByIndex(ComboBox1.ItemIndex);
SomeContract:=FDAX.GetNearestContract;
fMain.client.RequestContracts(FDAX);
ListBox1.Items.Clear;
ConractList:=FDAX.Contracts;
ListBox1.Items.Add(FDAX.Symbol);//Control point
for I := 0 to ConractList.Count - 1 do//Here ConractList.Count = 0
ListBox1.Items.Add(ConractList.ItemByIndex(I).Symbol);
if Assigned(SomeContract) //Not Assigned
Then ListBox1.Items.Add(SomeContract.Symbol);
end;

In comment I sign some values of variables.
In Control point I make me sure I right symbol pass throu the code.

So: It is realy FDAX basecontract, and no concret contracts it contain...

May be I mast to subscribe translation of this contracts somewhre else except my programm.?.

Kuzma Shkaranda

API Support » What symbols can I Subscribe? Dec 10, 2009 @ 10:18 AM (Total replies: 3)

Good Day!

I try to get realtime prices (FDAXZ9 for example) using OECAPICOM (in Delphi).
When I connect to sim.openecry.com I can see only currency pairs (USD/CAD for example). But when I connect to api.openecry.com I cannot see no contract.

What's wrong in my operations.?.

Sorry for my English...

Kuzma Shkaranda