mrteye / GDAX

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

example has syntax error #2

Closed rob-lindman closed 7 years ago

rob-lindman commented 7 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 7 years ago

Thank you. Fixed it.