Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

AgenaTrader: Requesting Comissions, Orders and Positions
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=96&t=48320
Page 1 of 1

Author:  AgenaTrader [ Wed 07 Nov, 2012, 20:10 ]
Post subject:  AgenaTrader: Requesting Comissions, Orders and Positions

Order.GetCommissions()
AgenaTrader is designed to only be able to work with nonHedged accounts.

With the latest API we are having the problem that Order.GetCommission() always returns 0 on nonHedged Accounts.
For evaluation purposes we tried it for hedgedAccounts - and for this accounts the system returned with values > 0.

IEngine.getOrders()
This function does't respond with the details which are expected - we are only able to try it with nonHedged Account.
Please have a look into the Attachment.

Would be great to get a soon answer to this issues - because we would like to go live with DukasCopy very soon.
many thanks

Attachments:
getOrders issue.pdf [205.62 KiB]
Downloaded 420 times

Author:  API Support [ Thu 08 Nov, 2012, 17:30 ]
Post subject:  Re: AgenaTrader: Requesting Comissions, Orders and Positions

JForex API does not provide with a commission information for orders/positions in case of global account.

Author:  AgenaTrader [ Thu 08 Nov, 2012, 18:19 ]
Post subject:  Re: AgenaTrader: Requesting Comissions, Orders and Positions

1) @ commissions:Is there a special reason why this is supported for hedgedAccounts but not for global accounts

2) But we are more interested in the second issue
IEngine.getOrders()

Could you please have a look onto this request again ... it is detailed descriped in the attached document

many thanks

Author:  API Support [ Thu 08 Nov, 2012, 18:28 ]
Post subject:  Re: AgenaTrader: Requesting Comissions, Orders and Positions

We could not reproduce the second problem - a wrong list of IEngine.getOrders().

Author:  AgenaTrader [ Fri 09 Nov, 2012, 13:50 ]
Post subject:  Re: AgenaTrader: Requesting Comissions, Orders and Positions

Excuse me - but you didn't answer my question or your answer doesn't help us.

@ 1) @ commissions:Is there a special reason why this is supported for hedged Accounts but not for global accounts?

@2) It might be, that you can't reproduce this problem, but we can as you can see in the attachment.
So what can we do. to find out whats going wrong

Thank you for your help

Author:  API Support [ Tue 13 Nov, 2012, 11:24 ]
Post subject:  Re: AgenaTrader: Requesting Comissions, Orders and Positions

There is no an information on commissions for global accounts. Since all global account positions are being accumulated, merged and handled for a long period of time, there would be a trade server overload. As well it is not clear which commissions are required for instrument (for last hour, day, year?)

Author:  API Support [ Tue 20 Nov, 2012, 14:53 ]
Post subject:  Re: AgenaTrader: Requesting Comissions, Orders and Positions

Trade commissions for global account will be available in a next API version.

  Page 1 of 1