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 · 0 comments
Open

position error #49

gucasbrg opened this issue Aug 25, 2024 · 0 comments

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

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

1 participant