Class FixedFeeModel
java.lang.Object
com.wualabs.qtsurfer.engine.strategy.backtest.simulation.FixedFeeModel
- All Implemented Interfaces:
FeeModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublerate(FeeContext ctx) Returns the decimal fee rate to charge for the given fill context.
-
Constructor Details
-
FixedFeeModel
public FixedFeeModel(double buyRate, double sellRate) - Parameters:
buyRate- decimal fee rate charged on BUY fillssellRate- decimal fee rate charged on SELL fills
-
-
Method Details