php-binance-api.php
public function openOrders(string $symbol = null)
    {
        $params = [];
        if (is_null($symbol) != true) {
            $params = [
                "symbol" => $symbol,
            ];
        }
        return $this->httpRequest("v3/openOrders", "GET", $params, true);
    }
public function openOrders(string $symbol = null)
    {
        $params = [];
        if (is_null($symbol) != true) {
            $params = [
                "symbol" => $symbol,
            ];
        }
        return $this->httpRequest("v3/openOrders", "GET", $params, true);
    }
public function openOrders ( string $ symbol = null ) { $ params = [ ] ; if ( is_null ( $ symbol ) != true ) { $ params = [ "symbol" => $ symbol , ] ; } return $ this -> httpRequest ( "v3/openOrders" , "GET" , $ params , true ) ; }
openOrders attempts to get open orders for all currencies or a specific currency

$allOpenOrders = $api->openOrders();
$allBNBOrders = $api->openOrders( "BNBBTC" );

@param $symbol string the currency symbol
@return array with error message or the order details
@throws \Exception
openOrders attempts to get open orders for all currencies or a specific currency