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.

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

Reference

CommissionBase