PDA

View Full Version : Backoffice API questions



karolis
02-20-2014, 08:39 AM
Hi,

I have a few questions regarding backoffice API:

1. How do I set interest/swap for a group I created?
2. How do I set leverage for a group?
3. Can I assign two accounts of the same client to two separate groups? If yes, how?

Thanks,
Karolis

Hassan-HS
02-20-2014, 01:43 PM
Hi Karolis,




1. How do I set interest/swap for a group I created?

1- You can enable or disable the interest for specific Client/Group using this method (http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4003).

2-The value of the interest is per symbol ( not per client), check symbol settings



2. How do I set leverage for a group?

Result = Contract size / Initial Margin
Leverage=1:Result

You can change the contract size for selected symbol using ChangeSymbolSettings method -check the .net 2010 sample-

Note: contract size is system option that means this value will be for all accounts...

You can change the initial margin of specific symbol for specific Client/Group using this method (http://www.hybrid-solutions.com/support/index.php?/Knowledgebase/Article/View/4003).

Note: initial margin is a per client parameter that means this value will be for all accounts for this client...


3. Can I assign two accounts of the same client to two separate groups? If yes, how?

No, all accounts for specific client must be exist in the same group.