BitMEX Adapter

juanjo76
Posts: 2
Joined: Sun May 05, 2019 4:01 am

Re: BitMEX Adapter

Post by juanjo76 » Tue May 07, 2019 4:11 pm

Thank you very much AndreyR for your response.

And congratulation for your GREAT job :)

J.

DilL
Posts: 1
Joined: Thu May 09, 2019 4:57 pm

Re: BitMEX Adapter

Post by DilL » Thu May 09, 2019 5:04 pm

I'd also be interested in having leverage adjustable through Bookmap

Imaginary Friend
Posts: 30
Joined: Wed Jun 26, 2019 7:32 am
Has thanked: 10 times

Re: BitMEX Adapter

Post by Imaginary Friend » Wed Jun 26, 2019 7:42 am

Bitmex recently had a bug with ETHUSD orderbook feed, and they "fixed" it. Direct quote from bitmex blog: "The issue was caused by a rare sequence of order events that triggered a bug in an optimisation of the orderBookL2 calculation which had been deployed to the production environment several hours earlier. This change has since been reverted." - link to Bitmex blog.

Now I can't connect to Bitmex, Bookmap returns a message "Invalid credentials. Please edit credentials and try again. Reason: Not subscribed to orderBookL2:XBTUSD."

So, it seems to me that their fix broke Bitmex adapter.

Andry API support
Posts: 548
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 25 times
Been thanked: 85 times

Re: BitMEX Adapter

Post by Andry API support » Wed Jun 26, 2019 8:31 am

Will be fixed soon

Imaginary Friend
Posts: 30
Joined: Wed Jun 26, 2019 7:32 am
Has thanked: 10 times

Re: BitMEX Adapter

Post by Imaginary Friend » Wed Jun 26, 2019 8:53 am

Great, thanks. 

Andry API support
Posts: 548
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 25 times
Been thanked: 85 times

Re: BitMEX Adapter

Post by Andry API support » Wed Jun 26, 2019 9:46 am

Please update the adapter from Bookmap

Imaginary Friend
Posts: 30
Joined: Wed Jun 26, 2019 7:32 am
Has thanked: 10 times

Re: BitMEX Adapter

Post by Imaginary Friend » Wed Jun 26, 2019 9:56 am

Yep, it's working.  ❤️

priceactiontr
Posts: 2
Joined: Fri Aug 16, 2019 7:41 am
Been thanked: 1 time

Re: BitMEX Adapter

Post by priceactiontr » Fri Aug 16, 2019 7:45 am

please implement all bitmex order types asap, especially postonly order type : 

https://blog.bitmex.com/site_announceme ... -leverage/

with this form it's not profitable even you catch a 15$ move because of the fees. 

Andry API support
Posts: 548
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 25 times
Been thanked: 85 times

Re: BitMEX Adapter

Post by Andry API support » Fri Aug 16, 2019 10:54 am

Hi priceactiontr,
we'll check that out.

ChuckBanger
Posts: 7
Joined: Sat Aug 31, 2019 3:09 am
Been thanked: 2 times

Re: BitMEX Adapter

Post by ChuckBanger » Sat Aug 31, 2019 6:43 am

Hi,
I'm also want to see the option to set post-only parameter on limit orders.

Maybe you figured it out already but the parameter you have to set for post-only when you send the order is: execInst="ParticipateDoNotInitiate" 

And that works if you use the rest API for orders. I don't know about websocket API. 

And it would be very nice if it is possible to change leverage through BookMap. This is a working example how you can change it:

Code: Select all

 
curl -X POST --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/json' --header 'X-Requested-With: XMLHttpRequest' -d 'symbol=XBTUSD&leverage=5' 'https://www.bitmex.com/api/v1/position/leverage'

Post Reply