Skip to content

Commit

Permalink
Remove vardump
Browse files Browse the repository at this point in the history
  • Loading branch information
eskrano committed Feb 8, 2020
1 parent cbb213d commit 75761af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
16 changes: 8 additions & 8 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);
echo '<pre>';
//error_reporting(E_ALL);
//ini_set('display_errors', 1);
//echo '<pre>';
require_once __DIR__ . '/vendor/autoload.php';

$key = 'bRiJLMgRnPrjnUnPRZlZNt3E';
$secret = '704mzedvg1gNLfslbjPvB1yjQn0yxIpqWGr9EPOb1Vc_rIMb';
$host = 'https://www.bitmex.com';
//$key = 'bRiJLMgRnPrjnUnPRZlZNt3E';
//$secret = '704mzedvg1gNLfslbjPvB1yjQn0yxIpqWGr9EPOb1Vc_rIMb';
//$host = 'https://www.bitmex.com';

$bitmex = new \Lin\Bitmex\Bitmex($key, $secret);

//$pos = $bitmex->orderBook()->get(['symbol' => 'XBTUSD', 'depth' => 1]);

$pos = $bitmex->position()->get(['symbol' => '']);
var_dump($pos);
//$pos = $bitmex->position()->get(['symbol' => '']);
//var_dump($pos);
3 changes: 0 additions & 3 deletions src/Api/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ public function get(array $data=[]){

$this->path='/api/v1/order?'.http_build_query($data);

var_dump($this->path);


//$this->data=$data;

return $this->exec();
Expand Down

0 comments on commit 75761af

Please sign in to comment.