php-binance-api.php
public function prevDay(string $symbol = null)
    {
        $additionalData = [];
        if (is_null($symbol) === false) {
            $additionalData = [
                'symbol' => $symbol,
            ];
        }
        return $this->httpRequest("v1/ticker/24hr", "GET", $additionalData);
    }
public function prevDay(string $symbol = null)
    {
        $additionalData = [];
        if (is_null($symbol) === false) {
            $additionalData = [
                'symbol' => $symbol,
            ];
        }
        return $this->httpRequest("v1/ticker/24hr", "GET", $additionalData);
    }
public function prevDay ( string $ symbol = null ) { $ additionalData = [ ] ; if ( is_null ( $ symbol ) === false ) { $ additionalData = [ 'symbol' => $ symbol , ] ; } return $ this -> httpRequest ( "v1/ticker/24hr" , "GET" , $ additionalData ) ; }
prevDay get 24hr ticker price change statistics for symbols

$prevDay = $api->prevDay("BNBBTC");

@param $symbol (optional) symbol to get the previous day change for
@return array with error message or array of prevDay change
@throws \Exception
prevDay get 24hr ticker price change statistics for symbols