-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels