0.2.0 preview release

Moderator: Moderator

Re: 0.2.0 preview release

Postby sunshine » Wed May 04, 2011 3:03 am

Margin requirements are defined per account and symbol. To get these values you should use either O2GTradingSettingsProvider.getMMR or O2GTradingSettingsProvider.getMargins method.

You can find the example of usage of the methods in TradingSettingsProviderSample.cs or TradingSettingsProviderSample.cpp provided with ForexConnect API:
C:\Program Files\Candleworks\ForexConnectAPI\samples\cs\WholeSample\TradingSettingsProviderSample.cs
C:\Program Files\Candleworks\ForexConnectAPI\samples\cpp\WholeSample\source\TradingSettingsProviderSample.cpp

As for including PointCost and MMR in tables, I've passed your request to the development team. May be the values will be available with the release of table manager.
sunshine
 

Re: 0.2.0 preview release

Postby sunshine » Thu May 05, 2011 6:28 am

frAnton wrote:Another issue:
O2GMessageRow.Text is in Base64(?) format.

O2GMessageRow.Text can be either a plain text or text in Base64 format. I've passed the issue to the development team.
sunshine
 

Re: 0.2.0 preview release

Postby frAnton » Mon May 16, 2011 6:16 pm

Just a quick remark:
you guy are doing a great job with this ForexConnect API, I like it very much, it works very fast, and it is easy to develop the code based on it.
When can we expect next release of it? ;)

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

Re: 0.2.0 preview release

Postby sunshine » Tue May 17, 2011 8:15 am

Thank you, Anton.
The next beta release is expected in the beginning of June. This version will include JNI wrappers and Android support. Besides, a couple of minor modifications and fixes will be made in this version (e.g. RollS and RollB columns will be included in the Offers table).
sunshine
 

Re: 0.2.0 preview release

Postby frAnton » Tue May 17, 2011 8:59 am

sunshine wrote:Margin requirements are defined per account and symbol. To get these values you should use either O2GTradingSettingsProvider.getMMR or O2GTradingSettingsProvider.getMargins method.

Thank you for your answer,
Are you guys doing to introduce O2GResponseType.TraddingSettingsUpdate?
It would be helpful.

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

Re: 0.2.0 preview release

Postby Nikolay.Gekht » Wed May 18, 2011 5:33 pm

When the trading settings are updated on the server for a particular user, the session is always dropped, so there is just no such server notification.
Nikolay.Gekht
FXCodeBase: Base Builder
 
Posts: 1222
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

Re: 0.2.0 preview release

Postby frAnton » Thu May 19, 2011 10:00 am

Hi Nikolay,

Nikolay.Gekht wrote:When the trading settings are updated on the server for a particular user, the session is always dropped, so there is just no such server notification.


Thank you for explanation, so if the session dropped then what should the client expect O2GSessionStatusCode.Disconnected, O2GSessionStatusCode.SessionLost, or both?

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

Re: 0.2.0 preview release

Postby Nikolay.Gekht » Fri May 20, 2011 7:50 am

May depend on the reason of the disconnecting. For sure, you'll get Connected state finally. I also asked developers to prepare exact state machines for session status. These must be published soon.
Nikolay.Gekht
FXCodeBase: Base Builder
 
Posts: 1222
Joined: Wed Dec 16, 2009 6:39 pm
Location: Cary, NC

Re: 0.2.0 preview release

Postby frAnton » Mon May 23, 2011 7:50 pm

sunshine wrote:a couple of minor modifications and fixes will be made in this version (e.g. RollS and RollB columns will be included in the Offers table).


Would you please add PointCost field as well?
I assume it should be added per account and be accessible through O2GTradingSettingsProvider.

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

Re: 0.2.0 preview release

Postby evgeny.shmakov » Tue May 31, 2011 10:19 am

frAnton wrote:Thank you for explanation, so if the session dropped then what should the client expect O2GSessionStatusCode.Disconnected, O2GSessionStatusCode.SessionLost, or both?

If the session dropped then client receives:
1) O2GSessionStatusCode.SessionLost;
2) O2GSessionStatusCode.Disconnected.
The new article "Session statuses" was added to online help. See,
http://www.fxcodebase.com/documents/For ... tatus.html.
Best regards.
evgeny.shmakov
FXCodeBase: Confirmed User
 
Posts: 4
Joined: Mon May 30, 2011 10:31 pm

PreviousNext

Return to ForexConnect API

Who is online

Users browsing this forum: No registered users and 4 guests