symbolOrderBookTicker method
Best price/qty on the order book for a symbol.
Implementation
Future<Either<String, BookTicker>> symbolOrderBookTicker({
required String symbol,
}) {
Map<String, String> params = {'symbol': symbol};
return sendRequest(
path: 'fapi/v1/ticker/bookTicker',
type: RequestType.GET,
params: params,
).then((r) => r.isLeft ? Left(r.left) : Right(BookTicker.fromMap(r.right)));
}