Page 1 of 1

Bookmap - Bitmex - API - Trading Control Panels Dont Work

Posted: Thu Oct 03, 2019 9:25 pm
by cryptovictor1188
Developers: 

I am using Bookmap for Trading on Bitmex. I have found a disconnect between the Bookmap Trading Control Panel and Bitmex. 
Bitmex has a very unique G.U.I. compared to Bookmap. Bookmap's controls do not match up with the Interface on Bitmex. Additionally I have tried to trade from the Bookmap Interface - API'd - to my Bitmex account with no success on anything pushing a signal. (yes I have made my Permissions on the API enabled for Bookmap to send a trading signal).

What needs to be known or is already known about Bitmex is that there needs to be unique Syntax in order to connect your Back End to the Bitmex Interface and have it properly work. Which would mean the Actual Layout of the Bookmap Trading Control Panel would need to change to match the Layout of Bitmex which is also (Leveraged Trading, which Bookmap does not have coded into the G.U.I.). And on top of that it would need to be uniquely coded to send a proper signal. 

What also needs to be taken into note is that if you are thinking about connecting the Bookmap Interface to the (user's) Personal Bitmex Exchange Account via API, Bitmex is Notorious for Overloading Issues, known as: Error Code 503 (Overload). The only way around this is a White Label API which is extremely rare as you must know a Developer or Owner of Bitmex to gain that kind of access plus supply huge amounts of Liquidity to their Market daily ($Millions).

I have uploaded 3 images: 
1. Is the 1-contract Sample order I made on Bookmap to send directly to my Bitmex account. 
2. Is my bitmex account which would have received that signal at the bottom right corner and put it into the Active Orders which there are none and was nothing received. 
3. Is an example of the 503 Error Overload that I have a long time experience with as Ive worked on different Bots / automated systems that would connect to Bitmex. 

Please let me know what you are doing about this to ensure a connection. Right now I am unsure why I would need to buy Bookmap if this is not working. 

Thank You!

59.PNG
59.PNG (306.61 KiB) Viewed 15766 times
60.PNG
60.PNG (282.96 KiB) Viewed 15766 times
62.PNG
62.PNG (334.15 KiB) Viewed 15766 times

Re: Bookmap - Bitmex - API - Trading Control Panels Dont Work

Posted: Fri Oct 04, 2019 8:47 am
by Andry API support
Hi cryptovictor1188,
you're running Bookmap in the simulated mode (take a look at the right bottom corner of your Bookmap screenshot).
In the simulated mode trading is completely simulated and orders never reach an exchange. Restart Bookmap and choose "External data/Trading through your ... account" in the opening dialog. If you use it with BitMEX you should use your API key ID/Secret as username/password when configuring the connection.

Bookmap's interaction with BitMEX is feedback-based. An order gets "placed" status in Bookmap only when the execution (an order status change) info is aquired from BitMEX's server via web socket "Execution" topic. Otherwise, an order would have been stuck in unresolved state (semi-transparent dots on the screen).

If you face the issue with real trading the first step to ensure the issue exists will be refreshing your BitMEX GUI webpage until your browser indicates no overload and see what happens next. Start worrying only if overload ceases and no order is shown in web GUI but an order is "placed" in Bookmap.

For your information, the leverage amending add-on will be released soon.

Re: Bookmap - Bitmex - API - Trading Control Panels Dont Work

Posted: Fri Oct 04, 2019 5:46 pm
by cryptovictor1188
Wow!!! I just did some practice Limit orders, It sent the signal extremely fast from Bookmap over to my Bitmex Account. I am extremely impressed. Ive been around quite a few Bot Systems and trading platforms and I have never seen something send this quick. the 503 Error Overload is still To Be Determined as I haven't seen it just yet or how Bookmap will react to it. 

But:
- If I want to change the Leverage I have to manually on the exchange first before commencing with an order on bookmap GUI. 
- If I want to have "Post-Only" I need to have this clicked prior to any Orders being sent from bookmap. 
- Basically anything that isnt on the Bookmap GUI I need to have checked before orders are placed. 

Will there be more"Add-On's" about Bitmex/Bookmap as time goes forward? 

Thank you,

Re: Bookmap - Bitmex - API - Trading Control Panels Dont Work

Posted: Fri Oct 04, 2019 8:21 pm
by Andry API support
- If I want to have "Post-Only" I need to have this clicked prior to any Orders being sent from bookmap.
Sending post-only orders is supported since 0.6.3 version of adapter. Choose the GTC_PO duration on the trade control panel to send post-only orders. Let me know if it works for you.
I've no info about implementing the full range of BitMEX features, but we're implementing the leverage control at the moment.

Re: Bookmap - Bitmex - API - Trading Control Panels Dont Work

Posted: Fri Oct 04, 2019 10:03 pm
by cryptovictor1188
AndreyR,

I trust that the GTC_PO works but on by Bitmex GUI it does not "Check Mark" the Post-Only Box, so I just ensure and I keep it checked so we are good on that.

Is there a Wiki that can explain all of the Bookmap Trading Control Panel Details and how they interact / correspond to the Bitmex GUI? 

 

Re: Bookmap - Bitmex - API - Trading Control Panels Dont Work

Posted: Sat Oct 05, 2019 7:06 am
by Andry API support
it does not "Check Mark" the Post-Only Box
I don't think it ever will. Post-only duration is a local setting for Limit orders. Bookmap does not interact with BitMEX GUI directly. Just like when you place a market order from Bookmap and you had Limit tab open in BitMEX GUI the tab won't change to Market.
Is there a Wiki that can explain all of the Bookmap Trading Control Panel Details and how they interact / correspond to the Bitmex GUI?
Basics howto:
https://www.youtube.com/watch?v=_0nPa09RgYo
pages 49-62:
https://bookmap.com/User_Guide/Bookmap_ ... de_7.0.pdf
There's no direct interaction between GUI's. Order settings are parameters applied to orders sent from Bookmap. There may be other settings for BitMEX GUI. On the other hand, there will be settings that influence trading globally. Leverage changes will be displayed in BitMEX GUI straight away.