public method IAccountCommissionsManager.getCloseCommission

Overview

Get close commission

Declaration

function getCloseCommission(offer, account, amount, buySell, rate)
public double getCloseCommission(Offer offer, Account account, int amount, String buySell, double rate);
public double getCloseCommission(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 close commission

Details

Declared in IAccountCommissionsManager