public method ClosedPosition.getCommission

Brief

Gets the amount of funds subtracted from the account balance to pay for the brokers service in accordance with the terms and conditions of the account trading agreement

Declaration

protojavascriptjavacsharp
public getCommission() : real

Returns

The method returns a real value that represents the amount of funds subtracted from the account balance to pay for the brokers service in accordance with the terms and conditions of the account trading agreement

Details

Commission is expressed in the account currency. If commission is not charged or has not been charged yet, the returned value is 0.0.

Declared in ClosedPosition

back