|
Calculate commissions and overnight swaps |
[cold-river]
|
Post subject: Calculate commissions and overnight swaps |
Post rating: 0
|
Posted: Tue 21 Sep, 2010, 14:16
|
|
User rating: 0
Joined: Tue 21 Sep, 2010, 12:52 Posts: 6
|
Are there any methods to get the total commissions and overnight swaps of an order when I close it? Thanks for any suggestions.
|
|
|
|
|
API Support
|
Post subject: Re: How to calculate commissions and overnight swaps? |
Post rating: 0
|
Posted: Wed 06 Oct, 2010, 10:04
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
There are no such methods currently. They will be added later.
|
|
|
|
|
[quantisan]
|
Post subject: DDSJFX-181 Total commissions and overnight swaps |
Post rating: 0
|
Posted: Sun 17 Oct, 2010, 16:19
|
|
User rating: 1
Joined: Fri 26 Mar, 2010, 19:19 Posts: 116 Location: Canada
|
As suggested by this post, it would be good for data analysis if we can have a method to get the commission and overnight swaps (separately please) on both an opened and closed order.
|
|
|
|
|
API Support
|
Post subject: Re: DDSJFX-181 Total commissions and overnight swaps |
Post rating: 0
|
Posted: Mon 18 Oct, 2010, 09:47
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
The total commissions are being returned in the current API. The overnights will be added later.
|
|
|
|
|
[astro orbitor]
|
Post subject: Re: DDSJFX-181 Total commissions and overnight swaps |
Post rating: 0
|
Posted: Mon 18 Oct, 2010, 13:19
|
|
User rating: 0
Joined: Tue 27 Jul, 2010, 20:57 Posts: 49
|
Support wrote: The total commissions are being returned in the current API. Couldn't find this one. Which class, which method? That is, how to get the commission in account currency for a particular order that is either open (filled) or closed?
|
|
|
|
|
[quantisan]
|
Post subject: Re: DDSJFX-181 Total commissions and overnight swaps |
Post rating: 0
|
Posted: Wed 08 Dec, 2010, 16:56
|
|
User rating: 1
Joined: Fri 26 Mar, 2010, 19:19 Posts: 116 Location: Canada
|
Support wrote: The total commissions are being returned in the current API. The overnights will be added later. I couldn't find this too. Just to clarify this, I'm referring to commission and swap per order. Preferably as methods in IOrder. So that we can fetch these data in our own performance analysis.
|
|
|
|
|
[quantisan]
|
Post subject: Re: DDSJFX-181 Total commissions and overnight swaps |
Post rating: 0
|
Posted: Tue 08 Mar, 2011, 04:12
|
|
User rating: 1
Joined: Fri 26 Mar, 2010, 19:19 Posts: 116 Location: Canada
|
I understand these information are available in the portfolio report in the web. But that's for actual traded positions. I would like these data available in the API so that I can export data in backtesting for performance analysis.
|
|
|
|
|
trottel
|
Post subject: Re: DDSJFX-181 Total commissions and overnight swaps |
Post rating: 0
|
Posted: Fri 10 Jun, 2011, 12:10
|
|
User rating: 0
Joined: Wed 18 May, 2011, 08:40 Posts: 43 Location: RU
|
[quantisan] wrote: I understand these information are available in the portfolio report in the web. But that's for actual traded positions. I would like these data available in the API so that I can export data in backtesting for performance analysis. I cannot find any method that returns commission.
|
|
|
|
|
kurak777
|
Post subject: Re: APICLIENT-27 calculate commissions and overnight swaps |
Post rating: 0
|
Posted: Mon 24 Sep, 2012, 22:05
|
|
User rating: 7
Joined: Fri 13 Jan, 2012, 20:49 Posts: 94 Location: Poland, Warsaw
|
Hi, Regarding commision... what about IOrder.getCommission() and IOrder.getCommissionInUSD(); don't they work good enough? regards, Kurak
|
|
|
|
|
docotor
|
Post subject: Re: Calculate commissions and overnight swaps |
Post rating: 0
|
Posted: Thu 12 Dec, 2013, 22:54
|
|
User rating: 0
Joined: Thu 12 Dec, 2013, 09:24 Posts: 21 Location: Ukraine, Kyiv
|
How can I convert commision into pips in order to modify SL and TP?
|
|
|
|
|
hebasto
|
Post subject: Re: Calculate commissions and overnight swaps |
Post rating: 1
|
Posted: Fri 13 Dec, 2013, 07:51
|
|
User rating: 96
Joined: Mon 09 Sep, 2013, 07:09 Posts: 287 Location: Ukraine, SHostka
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|