|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Setting the account balance of a simulation account |
brucieE
|
Post subject: Setting the account balance of a simulation account |
Post rating: 0
|
Posted: Mon 12 Mar, 2012, 05:30
|
|
User rating: 1
Joined: Tue 30 Aug, 2011, 08:54 Posts: 19 Location: AustraliaAustralia
|
Is it possible to set the balance amount of a simulation account before starting a strategy (via the API)? I would like the balance to be set every time I run a session.
|
|
|
|
 |
API Support
|
Post subject: Re: Setting the account balance of a simulation account |
Post rating: 0
|
Posted: Mon 12 Mar, 2012, 08:26
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
brucieE
|
Post subject: Re: Setting the account balance of a simulation account |
Post rating: 0
|
Posted: Tue 13 Mar, 2012, 05:51
|
|
User rating: 1
Joined: Tue 30 Aug, 2011, 08:54 Posts: 19 Location: AustraliaAustralia
|
That is in the ITesterClient interface which is not what I am after. I am talking about the IClient interface which connects live to my DEMO account. This account started with $500,000 which doesn't allow me to test different lot size values for orders based on the current account size and a particular risk factor. Whenever I start a new live test using my demo account I would like the account balance to be reset to a particular value.
|
|
|
|
 |
API Support
|
Post subject: Re: Setting the account balance of a simulation account |
Post rating: 0
|
Posted: Tue 13 Mar, 2012, 09:24
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
You can select your account balance only on account creation. Afterwards, in orders to change it, you have to contact Dukascopy support. Thus, a more viable way would be to switch between multiple DEMO accounts of different account balances.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|