-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Equity Final doesn't make sense #1264
-
Good morning.
First of all, thank you for this library! It's very well made.
I have a noob question, which I am trying to answer alone but I can't.
After doing a lot of backtest, whatever amount of trade I take and whatever amount of wins I have the equity is still almost flat.
What am I doing wrong??
bt = Backtest(csv_low, Setup, cash=100000, commission=0.00002, spread=0.0001,
exclusive_orders=False, finalize_trades=False)
Equity Final [$] 100000.06128
Equity Peak [$] 100000.06763
Commissions [$] 0.00073
Return [%] 0.00006
Thank you for your time!
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 1 reply
-
The likely issue is your trade size (number of shares/units) being too small. Check your self.buy/self.sell.
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you! I will definitely look into this and close the discussion if fixed!
Beta Was this translation helpful? Give feedback.