You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After editing the bitmex.js with my API credentials, what else needs to be edited? I see one variable is bitmex.urls and it's set to "TEST" - I tried live, the v1 url, and a few other things but no success.
Each time, when running the bitmex.js, I get the following:
node bitmex.js 2000 (node:27052) UnhandledPromiseRejectionWarning: ExchangeNotAvailable: bitmex GET undefined/api/v1/position?symbol=XBTUSD Only absolute URLs are supported at fetchImplementation.catch (/home/rooty/marketmaker/node_modules/ccxt/js/base/Exchange.js:410:35) at <anonymous> (node:27052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:27052) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:27052) UnhandledPromiseRejectionWarning: ExchangeNotAvailable: bitmex GET undefined/api/v1/instrument/activeAndIndices Only absolute URLs are supported at fetchImplementation.catch (/home/rooty/marketmaker/node_modules/ccxt/js/base/Exchange.js:410:35) at <anonymous> (node:27052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4) (node:27052) UnhandledPromiseRejectionWarning: ExchangeNotAvailable: bitmex GET undefined/api/v1/position?symbol=XBTUSD Only absolute URLs are supported at fetchImplementation.catch (/home/rooty/marketmaker/node_modules/ccxt/js/base/Exchange.js:410:35) at <anonymous> (node:27052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6) (node:27052) UnhandledPromiseRejectionWarning: ExchangeNotAvailable: bitmex GET undefined/api/v1/instrument/activeAndIndices Only absolute URLs are supported at fetchImplementation.catch (/home/rooty/marketmaker/node_modules/ccxt/js/base/Exchange.js:410:35) at <anonymous> (node:27052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 8) ^C
Any suggestions?
The text was updated successfully, but these errors were encountered:
After editing the bitmex.js with my API credentials, what else needs to be edited? I see one variable is bitmex.urls and it's set to "TEST" - I tried live, the v1 url, and a few other things but no success.
Each time, when running the bitmex.js, I get the following:
node bitmex.js 2000 (node:27052) UnhandledPromiseRejectionWarning: ExchangeNotAvailable: bitmex GET undefined/api/v1/position?symbol=XBTUSD Only absolute URLs are supported at fetchImplementation.catch (/home/rooty/marketmaker/node_modules/ccxt/js/base/Exchange.js:410:35) at <anonymous> (node:27052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:27052) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:27052) UnhandledPromiseRejectionWarning: ExchangeNotAvailable: bitmex GET undefined/api/v1/instrument/activeAndIndices Only absolute URLs are supported at fetchImplementation.catch (/home/rooty/marketmaker/node_modules/ccxt/js/base/Exchange.js:410:35) at <anonymous> (node:27052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4) (node:27052) UnhandledPromiseRejectionWarning: ExchangeNotAvailable: bitmex GET undefined/api/v1/position?symbol=XBTUSD Only absolute URLs are supported at fetchImplementation.catch (/home/rooty/marketmaker/node_modules/ccxt/js/base/Exchange.js:410:35) at <anonymous> (node:27052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 6) (node:27052) UnhandledPromiseRejectionWarning: ExchangeNotAvailable: bitmex GET undefined/api/v1/instrument/activeAndIndices Only absolute URLs are supported at fetchImplementation.catch (/home/rooty/marketmaker/node_modules/ccxt/js/base/Exchange.js:410:35) at <anonymous> (node:27052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 8) ^C
Any suggestions?
The text was updated successfully, but these errors were encountered: