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

connection issue #12

Open
edenazord opened this issue Sep 26, 2019 · 0 comments
Open

connection issue #12

edenazord opened this issue Sep 26, 2019 · 0 comments

Comments

@edenazord
Copy link

Hi ty for ur work.
I can't connect with bitmex testnet.

in bitmex.php

class BitMex {

const API_URL = 'https://testnet.bitmex.com';
//const API_URL = 'https://www.bitmex.com';
const API_PATH = '/api/v1/';
const SYMBOL = 'XBTUSD';

in index.php

getOrders($symbol, $type, $side, $amount, $price); print_r($bitmex) ?>

I receved this message:

BitMex Object ( [apiKey:BitMex:private] => z1oduHSiFGR99iikY24lA2KB [apiSecret:BitMex:private] => mysecret [ch:BitMex:private] => Resource id #2 [error] => 1 [printErrors] => [errorCode] => HTTPError [errorMessage] => Access Denied [proxy] => )

What's wrong?
ty for ur help

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