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

Request: https://www.bitmex.com/api/v1order #217

Open
lucas1811 opened this issue May 19, 2020 · 3 comments
Open

Request: https://www.bitmex.com/api/v1order #217

lucas1811 opened this issue May 19, 2020 · 3 comments

Comments

@lucas1811
Copy link

lucas1811 commented May 19, 2020

Hi, have you ever had this kind of problem? I don't understand, it works very well in testnet but not in real.

Importing symbol settings for XBTUSD...
Unable to find settings-XBTUSD.py.
2020-05-20 00:17:22,712 - INFO - market_maker - BitMEX Market Maker Version: v1.1

2020-05-20 00:17:22,713 - INFO - ws_thread - Connecting to wss://www.bitmex.com/realtime?subscribe=quote:XBTUSD,trade:XBTUSD,instrument,order:XBTUSD,execution:XBTUSD,margin,position
2020-05-20 00:17:22,713 - INFO - ws_thread - Authenticating with API Key.
2020-05-20 00:17:22,715 - INFO - ws_thread - Started thread
2020-05-20 00:17:23,725 - INFO - ws_thread - Connected to WS. Waiting for data images, this may take a moment...
2020-05-20 00:17:24,562 - INFO - ws_thread - Got all market data. Starting.
2020-05-20 00:17:24,562 - INFO - market_maker - Using symbol XBTUSD.
2020-05-20 00:17:24,564 - INFO - market_maker - Order Manager initializing, connecting to BitMEX. Live run: executing real trades.
2020-05-20 00:17:24,570 - INFO - market_maker - Resetting current position. Canceling all existing orders.
2020-05-20 00:17:24,571 - INFO - bitmex - sending req to https://www.bitmex.com/api/v1order: {"filter": "{"ordStatus.isTerminated": false, "symbol": "XBTUSD"}", "count": 500}
2020-05-20 00:17:25,268 - ERROR - bitmex - Unable to contact the BitMEX API (404). Request: https://www.bitmex.com/api/v1order
null
2020-05-20 00:17:25,268 - INFO - market_maker - Shutting down. All open orders will be cancelled.
2020-05-20 00:17:25,271 - INFO - market_maker - Resetting current position. Canceling all existing orders.
2020-05-20 00:17:25,272 - INFO - bitmex - sending req to https://www.bitmex.com/api/v1order: {"filter": "{"ordStatus.isTerminated": false, "symbol": "XBTUSD"}", "count": 500}
2020-05-20 00:17:25,487 - ERROR - bitmex - Unable to contact the BitMEX API (404). Request: https://www.bitmex.com/api/v1order

Thank you in advance!

@dni
Copy link

dni commented Aug 28, 2020

at first glance should it be https://www.bitmex.com/api/v1/order
with a slash after v1?

@onisuk
Copy link

onisuk commented Jul 2, 2022

oooo yes, do you know where in the code this like is generated?!

@onisuk
Copy link

onisuk commented Jul 2, 2022

ah found it in settings/py just added a backslash to https://www.bitmex.com/api/v1/

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

3 participants