Description Usage Arguments Details Zipline Documentation
Control the commission model used for the backtest. Commission can be calculated per trade, per share, or per dollar.
1 2 3 4 5 6 7 |
us_equities |
The commission model to use for trading US equities |
us_futures |
The commission model to use for trading US futures |
cost |
The amount of commissions paid per dollar/share/trade. |
min_trade_cost |
The minimum amount of commissions paid per trade. |
fly_set_commission()
- Set the commission model for the backtest.
PerShare()
- Calculates a commission for a transaction based on a per
share cost with an optional minimum cost per trade.
PerTrade()
- Calculates a commission for a transaction based on a per
trade cost.
PerDollar()
- Calculates a commission for a transaction based on a
per dollar cost.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.