public method IAccountCommissionsManager.getOpenCommission

Brief

Get the open commission

Declaration

protojavascriptjavacsharp
public getOpenCommission(offer : Offer, account : Account, amount : int, buySell : string, rate : real) : real

Parameters
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

See also: Offer, Account

Declared in IAccountCommissionsManager

back