Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

position error #49

Open
gucasbrg opened this issue Aug 25, 2024 · 1 comment
Open

position error #49

gucasbrg opened this issue Aug 25, 2024 · 1 comment

Comments

@gucasbrg
Copy link

gucasbrg commented Aug 25, 2024

https://github.com/asavinov/intelligent-trading-bot/blob/master/common/gen_signals.py#L361
shorts.append((index, previous_price, price, profit, profit_percent)) # Bought would be
longs.append((index, previous_price, price, profit, profit_percent)) # Bought
https://github.com/asavinov/intelligent-trading-bot/blob/master/common/gen_signals.py#L374
longs.append((index, previous_price, price, profit, profit_percent)) # Sold would be
shorts.append((index, previous_price, price, profit, profit_percent)) # Sold

@PCC2901
Copy link

PCC2901 commented Oct 20, 2024

to fix your trouble check this click
maybe this will solve your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants