Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Equity Final doesn't make sense #1264

Unanswered
landifrancesco asked this question in Q&A
Discussion options

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

image

Thank you for your time!

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

The likely issue is your trade size (number of shares/units) being too small. Check your self.buy/self.sell.

You must be logged in to vote
1 reply
Comment options

Thank you! I will definitely look into this and close the discussion if fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /