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

Rejection warnings, #3

Open
nateflanders opened this issue Aug 6, 2019 · 0 comments
Open

Rejection warnings, #3

nateflanders opened this issue Aug 6, 2019 · 0 comments

Comments

@nateflanders
Copy link

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?

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

1 participant