Options
All
  • Public
  • Public/Protected
  • All
Menu

@project-serum/serum-dev-tools

Index

Type aliases

CrankOpts: { durationInSecs: number; verbose: boolean }
param durationInSecs

The duration in seconds for which the market maker will run.

param verbose

The boolean flag determining whether to log about the actions taking place.

Type declaration

  • durationInSecs: number
  • verbose: boolean
MarketMakerOpts: { baseGeckoSymbol: string; durationInSecs: number; initialBidSize: number; orderCount: number; quoteGeckoSymbol: string; verbose: boolean }
param durationInSecs

The duration in seconds for which the market maker will run.

param orderCount

The number of orders to place per side in each iteration.

param initialBidSize

The initial bid size for the market maker.

param baseGeckoSymbol

The symbol used by CoinGecko for the base coin.

param quoteGeckoSymbol

The symbol used by CoinGecko for the quote coin.

param verbose

The boolean flag determining whether to log about the actions taking place.

Type declaration

  • baseGeckoSymbol: string
  • durationInSecs: number
  • initialBidSize: number
  • orderCount: number
  • quoteGeckoSymbol: string
  • verbose: boolean
MarketParams: { lotSize: number; tickSize: number }
param lotSize

This is the smallest representable amount of the base coin .

param tickSize

This is the smallest representable amount of the quote coin.

Type declaration

  • lotSize: number
  • tickSize: number
MessageType: { action: "start"; args: any }

Type declaration

  • action: "start"
  • args: any
OrderType: "limit" | "ioc" | "postOnly"
SelfTradeBehaviour: "decrementTake" | "cancelProvide" | "abortTransaction"
TransactionWithSigners: { signers: Signer[]; transaction: Transaction }

Type declaration

  • signers: Signer[]
  • transaction: Transaction

Generated using TypeDoc