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

Option to work with hedge positions #8

Closed
techsnakebo opened this issue May 5, 2024 · 1 comment
Closed

Option to work with hedge positions #8

techsnakebo opened this issue May 5, 2024 · 1 comment

Comments

@techsnakebo
Copy link

hi, it works great, I'm testing it with bingX

Is there any way to identify a position? this to manage hedge positiions, to identify a particular position and close it using the identifier of the position. this will permit open hedge positions

@germangar
Copy link
Owner

germangar commented May 6, 2024

Hi,

I don't support hedge positions at the moment. I contemplated doing it but it's quite complicated to implement and I don't have much time to do it. I created the script when I was between jobs but now I can't do much more than maintenance.

Implementing hedged positions would require to create long and short commands that work the same way as the position command works, but they would only work in each trading direction. Problem is, in oneway most exchanges work the same, but in hedged the APIs are trickier. It takes a lot of time to figure out and test each exchange.

I may do it in the future, but not anytime soon. Sorry.

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