Skip to content

connection issue #12

@edenazord

Description

@edenazord

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions