Skip to content

Commit 3694d1f

Browse files
authored
fix orders: Illegal characters by mxgrim
2 parents d79baba + 621013e commit 3694d1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

php-binance-api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ public function openOrders(string $symbol = null)
453453
* @return array with error message or array of orderDetails array
454454
* @throws \Exception
455455
*/
456-
public function orders(string $symbol, int $limit = 500, int $fromOrderId = -1, array $params = []) {
456+
public function orders(string $symbol, int $limit = 500, int $fromOrderId = 0, array $params = []) {
457457
$params["symbol"] = $symbol;
458458
$params["limit"] = $limit;
459459
if ( $fromOrderId ) $params["orderId"] = $fromOrderId;

0 commit comments

Comments
 (0)