I am using the Bitmex trading platform and I need something which will allow me to copy my trades automatically to other Bitmex account using the API keys. I also need this to take into account the account balance of the other users in order to apply the appropriate position sizes as a % of the account balance. I will also need to be able to adjust the leverage of all accounts.
Type of operations that I need to clone:
- Open Long and Short Positions (limit / market)
- Close Long and Short positions (limit / market)
Cancel all positions in all the accounts at the same time
Copy all types of stops example : Stop market/stop limit / trailing stop / take profit limit/ take profit market.
I want this script to be developed on phyton 3.
I want to see unrealised PNL (ROE%) and realised PNL off all accounts on my phyton console, and Liquidation price of each position on each account.