api/Controllers/MarketController.php
/**
	 * Get depth of the market. Basically current open orders
	 * @link https://www.investopedia.com/terms/d/depth.asp
	 * @param $market
	 * @return array|mixed
	 * @throws \Exception
	 * @throws \Illuminate\Support\Facades\ContainerExceptionInterface
	 * @throws \Illuminate\Support\Facades\NotFoundExceptionInterface
	 */
Get depth of the market.
Get depth of the market .
public function depth($market)
	{
		$market = $this->getMarket();
		return (new DepthPresenter())->present(\App::get(OrderRepository::class)->getOrderBook($market));
	}
public function depth ( $ market ) { $ market = $ this -> getMarket ( ) ; return ( new DepthPresenter ( ) ) -> present ( \ App :: get ( OrderRepository :: class ) -> getOrderBook ( $ market ) ) ; }
Get depth of the market.
Get depth of the market .