Skip to content

Commit

Permalink
removed previously added parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmarkacala committed Aug 1, 2021
1 parent cf72e30 commit a9912ad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions python/fastquant/backtest/backtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ def backtest(
init_cash=INIT_CASH,
plot=True,
fractional=False,
rr_ratio=None,
sr_fib=None,
verbose=1,
sort_by="rnorm",
sentiments=[],
Expand Down Expand Up @@ -152,8 +150,6 @@ def backtest(
symbol=symbol,
allow_short=allow_short,
fractional=fractional,
rr_ratio=rr_ratio,
sr_fib=sr_fib,
short_max=short_max,
**params,
)
Expand All @@ -178,8 +174,6 @@ def backtest(
channel=channel,
symbol=symbol,
fractional=fractional,
rr_ratio=rr_ratio,
sr_fib=sr_fib,
allow_short=allow_short,
short_max=short_max,
**kwargs,
Expand Down
2 changes: 0 additions & 2 deletions python/fastquant/strategies/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ class BaseStrategy(bt.Strategy):
("buy_prop", BUY_PROP),
("sell_prop", SELL_PROP),
("fractional", False),
("rr_ratio", None),
("sr_fib", None),
("commission", COMMISSION_PER_TRANSACTION),
("stop_loss", 0), # Zero means no stop loss
("stop_trail", 0), # Zero means no stop loss
Expand Down

0 comments on commit a9912ad

Please sign in to comment.