Skip to main content
An order strategy is a rule that Pacifica runs for you on the server. It watches the market and places, reprices, or cancels orders on your account until it finishes. Each strategy has a strategy_type and a params object. See Strategy parameters for every type. For how each strategy behaves in the app, see Order Types. To stream lifecycle changes, subscribe to Account order strategy updates.

Lifecycle

A strategy’s lifecycle is one of these values: When a strategy reaches cancelled or expired, Pacifica cancels the orders it still has open. Fills that already happened stay.

Limits

  • An account can have up to 100 strategies that have not finished.
  • Strategy endpoints accept agent wallet signatures.