Skip to content
markpaper

src/orders/index.ts

v0.2.1 · 724 B

Download file
// Orders: size policy with both minimums, IoC fill by position delta, waiting for a resting order.

export {
  DEFAULT_IOC_POLL_INTERVAL_MS,
  DEFAULT_IOC_POLLS,
  type IocFillResult,
  type MeasureIocFillInput,
  measureIocFill,
} from './iocFill.js';
export {
  DEFAULT_RESTING_POLL_INTERVAL_MS,
  DEFAULT_RESTING_TIMEOUT_MS,
  type ResolveRestingInput,
  type ResolveRestingResult,
  type RestingOrderLike,
  resolveResting,
  SEND_ORDER,
  type SendClass,
  sendClassOf,
  sortForSending,
  type WaitForOrderKeyInput,
  waitForOrderKeyInBook,
} from './resting.js';
export {
  type OrderIntent,
  type PlanOrderSizeInput,
  planOrderSize,
  type SizePlan,
  type SizeSkipReason,
  type TimeInForce,
} from './size.js';
All files