public method ClosedPosition.getCommissionGets 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
protojavascriptjavacsharppublic 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
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