/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
namespace QuantConnect.Orders.Fees
{
///
/// Provides the default implementation of Refer to https://www.samco.in/technology/brokerage_calculator
///
public class ZerodhaFeeModel : IndiaFeeModel
{
///
/// Brokerage calculation Factor
///
protected override decimal BrokerageMultiplier => 0.0003M;
///
/// Maximum brokerage per order
///
protected override decimal MaxBrokerage => 20;
///
/// Securities Transaction Tax calculation Factor
///
protected override decimal SecuritiesTransactionTaxTotalMultiplier => 0.00025M;
///
/// Exchange Transaction Charge calculation Factor
///
protected override decimal ExchangeTransactionChargeMultiplier => 0.0000345M;
///
/// State Tax calculation Factor
///
protected override decimal StateTaxMultiplier => 0.18M;
///
/// Sebi Charges calculation Factor
///
protected override decimal SebiChargesMultiplier => 0.000001M;
///
/// Stamp Charges calculation Factor
///
protected override decimal StampChargesMultiplier => 0.00003M;
///
/// Checks if Stamp Charges is calculated from order valur or turnover
///
protected override bool IsStampChargesFromOrderValue => true;
}
}