Table manager returns empty orders.PrimaryId field

Moderator: Moderator

Table manager returns empty orders.PrimaryId field

Postby frAnton » Tue Jan 05, 2016 7:12 pm

Hi there,

I recently found an issue that the TableManager returns empty orders.PrimaryId field.
Also, I think there is an issue with creating refresh table request for Orders table.
I noticed that
requestFactory.createRefreshTableRequest(O2GTableType.Orders) returns null but
requestFactory.createRefreshTableRequestByAccount(O2GTableType.Orders, AccountId) works fine.

It might be just me though as I am at v1.2 and these issues might have been already fixed in 1.3.

These issues are not critical for me as I found the work around but still, would you please doublecheck it for me?

Thanks,
Anton.
frAnton
 
Posts: 74
Joined: Tue Apr 05, 2011 11:41 pm
Location: California

Re: Table manager returns empty orders.PrimaryId field

Postby frAnton » Wed Jan 06, 2016 11:11 pm

HI there,

OK, I think it was my mistake as I was trying to use Orders.PrimaryId field instead of Orders.ContingentOrderId field to link SE/LE Orders records to the Trades table.

So please, disregard this:
frAnton wrote:I recently found an issue that the TableManager returns empty orders.PrimaryId field.


Thanks,
Anton.
frAnton
 
Posts: 74
Joined: Tue Apr 05, 2011 11:41 pm
Location: California

Re: Table manager returns empty orders.PrimaryId field

Postby Julia CJ » Mon Jan 11, 2016 2:49 am

Hello Anton,

Please see the Help information:
" Do not use this method for Orders table, use createRefreshTableRequestByAccount instead."
Julia CJ
 

Re: Table manager returns empty orders.PrimaryId field

Postby frAnton » Mon Jan 18, 2016 5:56 pm

Hi Julia,

Thank you, I learned it in hard way :)

BTW, do you guys have ForexConnect.dll compiled for Windows Phone 8.1? After FXCM discontinued FXCM Mobile app, I started thinking about developing something that would allow me to control my trades myself.

Thanks,
Anton.
frAnton
 
Posts: 74
Joined: Tue Apr 05, 2011 11:41 pm
Location: California

Re: Table manager returns empty orders.PrimaryId field

Postby Julia CJ » Tue Jan 19, 2016 6:15 am

Hi Anton,

Currenly Forex Connect.dll does not support Windows Phone 8.1.
Julia CJ
 


Return to ForexConnect API

Who is online

Users browsing this forum: No registered users and 5 guests