Function getExchangeSchema

  • Retrieves a registered exchange schema by name.

    Parameters

    • exchangeName: string

      Unique exchange identifier

    Returns IExchangeSchema

    The exchange schema configuration object

    Error if exchange is not registered

    const exchange = getExchange("binance");
    console.log(exchange.getCandles); // async function
    console.log(exchange.formatPrice); // async function