Click or drag to resize

How to develop a Commission

How much commission will be charged for a trade is determined by the Commission script type. The CommissionBase is the base class for the commission scriptTypes.

ArthaChitra internally calls the CalculateCommission(ITrade) method to determine the commission value applicable for that trade. It being an abstract method must be implemented by the user.

protected override double CalculateCommission(ITrade trade)
{
    //calculate and return the applicable commission for the trade
}
See Also