Files
ritmex-bot/docs/ccxt/wiki/examples/php/order-book-level-depth-extra-param.md
2025-10-03 15:28:16 +08:00

353 B

<?php

include './ccxt.php';

date_default_timezone_set('UTC');

// instantiate the exchange by id
$exchange = '\\ccxt\\kraken';
$exchange = new $exchange ();
$limit = 10; // up to ten order on each side, for example
var_dump ($exchange->fetch_order_book ('BTC/USD', $limit));


?>