Skip to content

BitMex PHP REST API Class (Keep-Alive support)

Notifications You must be signed in to change notification settings

evtunit/bitmex-api-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

bitmex-api-php

BitMex PHP REST API with HTTP Keep-Alive support

Get API keys from https://www.bitmex.com/app/apiKeys

HTTP Keep-Alive: BitMex says that "When using HTTP Keep-Alive, request/response round-trip time will be identical to Websocket"

Usage Example

<?php
require_once ("BitMex.php");

$key = "xxxxxxxxxxxxxxxxxxxxxx";
$secret = "yyyyyyyyyyyyyyyyyyyyyy";

$bitmex = new BitMex($key,$secret);

var_dump($bitmex->createOrder("Limit","Sell",50000,1000));
?>

Donations

Your BitCoin donations are highly appreciated at 1N36HHos4qQ76PX1BrmeaJCzWDmggreuNU

About

BitMex PHP REST API Class (Keep-Alive support)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%