Skip to content

BitMex api bağlantısı üzerinden işlem yapmayı sağlamaktadır. Marketi ve miktarı belirler, stratejiyi belirlemez.

Notifications You must be signed in to change notification settings

Tur-Pay/bitmex-api-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

bitmex-api-php

Bitmex api ile bağlantı kurulabilmesi için local php dosyası. index.php olarak kullanarak diğer stratejilerinizi inculude ederek kullanabilirsiniz. Localhost da zamanlanmış görev olarak sıralı işlem yapılabilmektedir.

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));
?>

About

BitMex api bağlantısı üzerinden işlem yapmayı sağlamaktadır. Marketi ve miktarı belirler, stratejiyi belirlemez.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • PHP 100.0%