public method IAccountCommissionsManager.getOpenCommission
Overview
Get the open commission
Declaration
function getOpenCommission(offer, account, amount, buySell, rate)
public double getOpenCommission(Offer offer, Account account, int amount, String buySell, double rate);
public double getOpenCommission(Offer offer, Account account, int amount, string buySell, double rate);
Parameters
| Name | Description |
|---|---|
| offer | The offer being traded |
| account | The account making the trade |
| amount | The amount being traded |
| buySell | The type of trade: 'B'or 'S' |
| rate | The exchange rate |
Returns
The method returns returns a real value that represents the open commission
Details
Declared in IAccountCommissionsManager