Skip to content

Commit

Permalink
add miniTicker function (thanks mrsantran!)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Eyrick authored Mar 8, 2018
1 parent b5fcc5b commit 3bdcc90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php-binance-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ public function miniTicker($callback) {
"eventTime" => $obj['E']
];
}
call_user_func($callback, $this, $symbols);
call_user_func($callback, $this, $markets);
});
$ws->on('close', function($code = null, $reason = null) {
echo "miniticker: WebSocket Connection closed! ({$code} - {$reason})" . PHP_EOL;
Expand Down

0 comments on commit 3bdcc90

Please sign in to comment.