I need a Bitmex long or short script developed using Python.
Preferably using the websocket API.
The script should be able to.:
Place a Long or short position.
Position amount should be based on a given percentage of the available balance.
Closing the position once it is filled with a - or + amount.
I am looking to long the market XBT
Current XBT price is 1000
Available balance : 1 XBT
Percentage I want to use or balance I want to long with : 0.3 XBT
(Available balance * 0.3) = 0.3
Now after the position is filled or successfully place.
I want to close it with +100 (+100 for long position and -100 from opening price for short)
Close the position with price with (1000 + 100) with 1100.
I hope this makes my project clear.
If you have any questions please message me.
Looking forward for your bids.
4 freelanceria on tarjonnut keskimäärin 170$ tähän työhön
Hello. My name is Evgeny . I am read the task and I think I can do this job for you. I have experience in bitmex before, so I know how work with bitmex. Thanks