createRefreshTableRequestByAccount on Summary?

Moderator: Moderator

Re: createRefreshTableRequestByAccount on Summary?

Postby Georgiy » Fri Oct 02, 2015 6:02 am

Hello Shahar,

We should investigate this issue, I will get back to you as soon as possible.
Georgiy
FXCodeBase: Initiate
 
Posts: 150
Joined: Tue Jul 29, 2014 4:49 am

Re: createRefreshTableRequestByAccount on Summary?

Postby Georgiy » Mon Oct 05, 2015 4:32 am

Hello Shahar,

We have checked described behaviour but everything works right.
It seems like you do something wrong.

Please find the sample in the attachment to this post.
This sample listens adding/deleting/changing in the accounts and orders tables and
shows the value of the 'balance' field in the account on event 'changing'.

If the issue still exists, you can send me the part of your code via private message.

Thank you.
Attachments
ListenTables.7z
(3.87 KiB) Downloaded 953 times
Georgiy
FXCodeBase: Initiate
 
Posts: 150
Joined: Tue Jul 29, 2014 4:49 am

Re: createRefreshTableRequestByAccount on Summary?

Postby Shahar » Thu Oct 08, 2015 12:22 pm

Thank you very much for the code you attached: it does indeed work.

I am still trying to figure out why mine does not, I do not [yet] see substantial differences.

I will post my findings when I have any.

Thank you again.
Shahar
 
Posts: 8
Joined: Thu Oct 01, 2015 11:12 am

Re: createRefreshTableRequestByAccount on Summary?

Postby Shahar » Fri Oct 09, 2015 1:16 pm

Georgiy wrote:Hello Shahar,
We have checked described behaviour but everything works right.
It seems like you do something wrong.
Thank you.

I also thought I was doing something wrong. I was able to get my code to work, but only when I use
Code: Select all
session.getTableManager()

However, when I use
Code: Select all
session.getTableManagerByAccount(fxcmAccountID)
[I have multiple accounts], the phenomenon described above occurs, i.e. after an order is executed the table "freezes". Thus, I think this is a bug in the API, rather than in my code.
Please investigate further - hopefully this could be resolved.

Thank you very much!
Shahar
 
Posts: 8
Joined: Thu Oct 01, 2015 11:12 am

Re: createRefreshTableRequestByAccount on Summary?

Postby Georgiy » Tue Oct 13, 2015 7:43 am

Hello Shahar,

Thank you for pointing this out. We will check it in the nearest time.
Georgiy
FXCodeBase: Initiate
 
Posts: 150
Joined: Tue Jul 29, 2014 4:49 am

Re: createRefreshTableRequestByAccount on Summary?

Postby Georgiy » Thu Oct 15, 2015 7:41 am

Hello Shahar,

We have reproduced this issue. It will be fixed in the nearest time.
Thank you for your assistance.
Georgiy
FXCodeBase: Initiate
 
Posts: 150
Joined: Tue Jul 29, 2014 4:49 am

Re: createRefreshTableRequestByAccount on Summary?

Postby Shahar » Thu Nov 12, 2015 6:54 pm

Any updates regarding this [multiple account] issue?
Thank you.
Shahar
 
Posts: 8
Joined: Thu Oct 01, 2015 11:12 am

Re: createRefreshTableRequestByAccount on Summary?

Postby Julia CJ » Mon Nov 16, 2015 2:15 am

Hi Shahar,

We are currently testing this issue.
Julia CJ
 

Previous

Return to ForexConnect API

Who is online

Users browsing this forum: No registered users and 6 guests