Type alias RoutingOptions

RoutingOptions: {
    maxSplits: number;
    numTopPartialQuotes: number;
    numTopRoutes: number;
    percentIncrement: number;

Options to configure the router.

Type declaration

  • maxSplits: number
  • numTopPartialQuotes: number
  • numTopRoutes: number
  • percentIncrement: number

Param: percentIncrement

The percent increment to use when splitting a trade into multiple trades.

Param: numTopRoutes

The number of top routes to return from the router.

Param: numTopPartialQuotes

The number of top partial quotes to return from the router.

Param: maxSplits

The maximum number of splits to perform on a trade.

Generated using TypeDoc