Skip to content

kstka/bitmex-api-php

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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