mrteye / GDAX

API for GDAX: A service provided by Coinbase. (Unofficial API)
MIT License
18 stars 5 forks source link

example has syntax error #2

Closed rob-lindman closed 6 years ago

rob-lindman commented 6 years ago

From example #1:

$productOrderBook = $gdax->getProductOrderBook('BTC-USD', $param);
    'level' => 1
]);

should be:

$productOrderBook = $gdax->getProductOrderBook('BTC-USD', $param = [
    'level' => 1
]);
mrteye commented 6 years ago

Thank you. Fixed it.