Skip to content
Get started

V1

ModelsExpand Collapse
SecurityType = "COMMON_STOCK" | "PREFERRED_STOCK" | "OPTION" | 2 more

Security type

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"

V1Accounts

Manage trading accounts, balances, and portfolio history.

Get Accounts
client.v1.accounts.getAccounts(AccountGetAccountsParams { page_size, page_token } query?, RequestOptionsoptions?): AccountGetAccountsResponse { data }
GET/v1/accounts
Get Account By ID
client.v1.accounts.getAccountByID(numberaccountID, RequestOptionsoptions?): AccountGetAccountByIDResponse { data }
GET/v1/accounts/{account_id}
Patch Account By ID
client.v1.accounts.patchAccountByID(numberaccountID, AccountPatchAccountByIDParams { risk } body, RequestOptionsoptions?): AccountPatchAccountByIDResponse { data }
PATCH/v1/accounts/{account_id}
Get Account Balances
client.v1.accounts.getAccountBalances(numberaccountID, AccountGetAccountBalancesParams { top_margin_contributors_limit } query?, RequestOptionsoptions?): AccountGetAccountBalancesResponse { data }
GET/v1/accounts/{account_id}/balances
Get Portfolio History
client.v1.accounts.getPortfolioHistory(numberaccountID, AccountGetPortfolioHistoryParams { start_date, end_date } query, RequestOptionsoptions?): AccountGetPortfolioHistoryResponse { data }
GET/v1/accounts/{account_id}/portfolio-history
ModelsExpand Collapse
Account { id, account_holder_entity_id, full_name, 7 more }

Represents a trading account

id: number

The unique identifier for the account

formatint64
account_holder_entity_id: number

The account holder entity identifier

formatint64
full_name: string

The full legal name of the account

open_date: string

The date the account was opened

formatdate
options_level: number

The options level of the account

formatint64
short_name: string

The short name of the account

The current status of the account

One of the following:
"ACTIVE"
"INACTIVE"
"CLOSED"

The sub-type of account

One of the following:
"CASH"
"MARGIN"
"OTHER"

The type of account

One of the following:
"CUSTOMER"
"OTHER"
close_date?: string | null

The date the account was closed, if applicable

formatdate
AccountBalances { account_id, buying_power, currency, 16 more }

Represents the balance details for a trading account

account_id: number

The unique identifier for the account

formatint64
buying_power: string

The total buying power available in the account.

currency: string

Currency identifier for all monetary values.

daily_realized_pnl: string

Realized profit or loss since start of day.

daily_total_pnl: string

Total profit or loss since start of day.

daily_unrealized_pnl: string

Total unrealized profit or loss across all positions relative to prior close.

equity: string

The total equity in the account.

long_market_value: string

The total market value of all long positions.

margin_type: MarginType

The applicable margin model for the account

One of the following:
"OTHER"
"NONE"
"PORTFOLIO_MARGIN"
"RISK_BASED_HAIRCUT_BROKER_DEALER"
"REG_T"
"RISK_BASED_HAIRCUT_MARKET_MAKER"
"CIRO"
"FUTURES_NLV"
"FUTURES_TOT_EQ"
open_order_adjustment: string

Signed buying-power correction from open orders.

settled_cash: string

The amount of cash that is settled and available for withdrawal or trading.

sod: AccountBalancesSod { buying_power, equity, long_market_value, 6 more }

Start-of-day snapshot balances.

buying_power: string

Start-of-day buying power.

equity: string

Start-of-day equity.

long_market_value: string

Start-of-day long market value.

short_market_value: string

Start-of-day short market value.

asof?: string | null

Timestamp for the start-of-day values.

formatdate
day_trade_buying_power?: string | null

Start-of-day day-trade buying power.

maintenance_margin_excess?: string | null

Start-of-day maintenance margin excess.

maintenance_margin_requirement?: string | null

Start-of-day maintenance margin requirement.

trade_cash?: string | null

Start-of-day trade cash.

trade_cash: string

Trade-date effective cash.

unsettled_credits: string

Trade-date unsettled cash credits.

unsettled_debits: string

Trade-date unsettled cash debits.

withdrawable_cash: string

The amount of cash currently available to withdraw.

margin_details?: MarginDetails { day_trade_count, initial_margin_excess, initial_margin_requirement, 6 more } | null

Margin-account-only details.

day_trade_count: number

The number of day trades executed over the 5 most recent trading days.

formatint32
minimum0
initial_margin_excess: string

Initial margin excess for trade-date balances.

initial_margin_requirement: string

Initial margin requirement for trade-date balances.

maintenance_margin_excess: string

Maintenance margin excess for trade-date balances.

maintenance_margin_requirement: string

Maintenance margin requirement for trade-date balances.

pattern_day_trader: boolean

true if the account is currently flagged as a PDT, otherwise false.

day_trade_buying_power_usage?: string | null

The amount of day-trade buying power used during the current trading day.

top_contributors?: Array<MarginTopContributor { day_trade_buying_power_usage, initial_margin_requirement, maintenance_margin_requirement, 2 more } >

Optional top margin contributors, returned only when explicitly requested.

day_trade_buying_power_usage: string

Day-trade buying power consumed by fills against this underlying on the current trade date. Populated only for pattern day trader accounts.

initial_margin_requirement: string

Initial margin requirement attributable to this underlying.

maintenance_margin_requirement: string

Maintenance margin requirement attributable to this underlying.

market_value: string

Net market value attributable to this underlying.

underlying_instrument_id: string

UUID of the underlying security contributing to margin requirement.

formatuuid
usage?: MarginDetailsUsage { total, used } | null

Current usage totals.

total: string

The total margin available in the current model.

used: string

The amount of margin that is currently being utilized.

multiplier?: string | null

Applied multiplier for margin calculations.

short_market_value?: string | null

The total market value of all short positions.

AccountBalancesSod { buying_power, equity, long_market_value, 6 more }
buying_power: string

Start-of-day buying power.

equity: string

Start-of-day equity.

long_market_value: string

Start-of-day long market value.

short_market_value: string

Start-of-day short market value.

asof?: string | null

Timestamp for the start-of-day values.

formatdate
day_trade_buying_power?: string | null

Start-of-day day-trade buying power.

maintenance_margin_excess?: string | null

Start-of-day maintenance margin excess.

maintenance_margin_requirement?: string | null

Start-of-day maintenance margin requirement.

trade_cash?: string | null

Start-of-day trade cash.

AccountList = Array<Account { id, account_holder_entity_id, full_name, 7 more } >
id: number

The unique identifier for the account

formatint64
account_holder_entity_id: number

The account holder entity identifier

formatint64
full_name: string

The full legal name of the account

open_date: string

The date the account was opened

formatdate
options_level: number

The options level of the account

formatint64
short_name: string

The short name of the account

The current status of the account

One of the following:
"ACTIVE"
"INACTIVE"
"CLOSED"

The sub-type of account

One of the following:
"CASH"
"MARGIN"
"OTHER"

The type of account

One of the following:
"CUSTOMER"
"OTHER"
close_date?: string | null

The date the account was closed, if applicable

formatdate
AccountSettings { risk }
risk?: RiskSettings { max_notional } | null

Risk settings for the account

max_notional?: string | null

The maximum notional value available to the account

AccountStatus = "ACTIVE" | "INACTIVE" | "CLOSED"

Account status

One of the following:
"ACTIVE"
"INACTIVE"
"CLOSED"
AccountSubtype = "CASH" | "MARGIN" | "OTHER"

Account subtype classification providing more granular categorization

One of the following:
"CASH"
"MARGIN"
"OTHER"
AccountType = "CUSTOMER" | "OTHER"

Account type classification

One of the following:
"CUSTOMER"
"OTHER"
MarginDetails { day_trade_count, initial_margin_excess, initial_margin_requirement, 6 more }
day_trade_count: number

The number of day trades executed over the 5 most recent trading days.

formatint32
minimum0
initial_margin_excess: string

Initial margin excess for trade-date balances.

initial_margin_requirement: string

Initial margin requirement for trade-date balances.

maintenance_margin_excess: string

Maintenance margin excess for trade-date balances.

maintenance_margin_requirement: string

Maintenance margin requirement for trade-date balances.

pattern_day_trader: boolean

true if the account is currently flagged as a PDT, otherwise false.

day_trade_buying_power_usage?: string | null

The amount of day-trade buying power used during the current trading day.

top_contributors?: Array<MarginTopContributor { day_trade_buying_power_usage, initial_margin_requirement, maintenance_margin_requirement, 2 more } >

Optional top margin contributors, returned only when explicitly requested.

day_trade_buying_power_usage: string

Day-trade buying power consumed by fills against this underlying on the current trade date. Populated only for pattern day trader accounts.

initial_margin_requirement: string

Initial margin requirement attributable to this underlying.

maintenance_margin_requirement: string

Maintenance margin requirement attributable to this underlying.

market_value: string

Net market value attributable to this underlying.

underlying_instrument_id: string

UUID of the underlying security contributing to margin requirement.

formatuuid
usage?: MarginDetailsUsage { total, used } | null

Current usage totals.

total: string

The total margin available in the current model.

used: string

The amount of margin that is currently being utilized.

MarginDetailsUsage { total, used }
total: string

The total margin available in the current model.

used: string

The amount of margin that is currently being utilized.

MarginTopContributor { day_trade_buying_power_usage, initial_margin_requirement, maintenance_margin_requirement, 2 more }
day_trade_buying_power_usage: string

Day-trade buying power consumed by fills against this underlying on the current trade date. Populated only for pattern day trader accounts.

initial_margin_requirement: string

Initial margin requirement attributable to this underlying.

maintenance_margin_requirement: string

Maintenance margin requirement attributable to this underlying.

market_value: string

Net market value attributable to this underlying.

underlying_instrument_id: string

UUID of the underlying security contributing to margin requirement.

formatuuid
MarginType = "OTHER" | "NONE" | "PORTFOLIO_MARGIN" | 6 more

An account’s margin type

One of the following:
"OTHER"
"NONE"
"PORTFOLIO_MARGIN"
"RISK_BASED_HAIRCUT_BROKER_DEALER"
"REG_T"
"RISK_BASED_HAIRCUT_MARKET_MAKER"
"CIRO"
"FUTURES_NLV"
"FUTURES_TOT_EQ"
PortfolioHistoryResponse { segments }
segments: Array<PortfolioHistorySegment { date, eod_equity, realized_pnl, 7 more } >
date: string

The date for this segment

formatdate
eod_equity: string

The equity at the end of the trading day.

realized_pnl: string

Sum of the profit and loss realized from position closing trading activity.

sod_equity: string

The equity at the start of the trading day.

unrealized_pnl: string

Sum of the profit and loss from market changes.

bought_notional?: string | null

Amount bought MTM

day_pnl?: string | null

Sum of the profit and loss from intraday trading activities for the trading day.

net_pnl?: string | null

P&L after netting all realized and unrealized P&L, adjustments, dividends, change in accruals, income and expenses

position_pnl?: string | null

P&L attributable to start-of-day (carried) positions from market movement during this trading day.

sold_notional?: string | null

Amount sold MTM

PortfolioHistorySegment { date, eod_equity, realized_pnl, 7 more }
date: string

The date for this segment

formatdate
eod_equity: string

The equity at the end of the trading day.

realized_pnl: string

Sum of the profit and loss realized from position closing trading activity.

sod_equity: string

The equity at the start of the trading day.

unrealized_pnl: string

Sum of the profit and loss from market changes.

bought_notional?: string | null

Amount bought MTM

day_pnl?: string | null

Sum of the profit and loss from intraday trading activities for the trading day.

net_pnl?: string | null

P&L after netting all realized and unrealized P&L, adjustments, dividends, change in accruals, income and expenses

position_pnl?: string | null

P&L attributable to start-of-day (carried) positions from market movement during this trading day.

sold_notional?: string | null

Amount sold MTM

RiskSettings { max_notional }

Risk settings for an account

max_notional?: string | null

The maximum notional value available to the account

AccountGetAccountsResponse extends BaseResponse { metadata, error } { data }
data: AccountList { id, account_holder_entity_id, full_name, 7 more }
id: number

The unique identifier for the account

formatint64
account_holder_entity_id: number

The account holder entity identifier

formatint64
full_name: string

The full legal name of the account

open_date: string

The date the account was opened

formatdate
options_level: number

The options level of the account

formatint64
short_name: string

The short name of the account

The current status of the account

One of the following:
"ACTIVE"
"INACTIVE"
"CLOSED"

The sub-type of account

One of the following:
"CASH"
"MARGIN"
"OTHER"

The type of account

One of the following:
"CUSTOMER"
"OTHER"
close_date?: string | null

The date the account was closed, if applicable

formatdate
AccountGetAccountByIDResponse extends BaseResponse { metadata, error } { data }
data: Account { id, account_holder_entity_id, full_name, 7 more }

Represents a trading account

id: number

The unique identifier for the account

formatint64
account_holder_entity_id: number

The account holder entity identifier

formatint64
full_name: string

The full legal name of the account

open_date: string

The date the account was opened

formatdate
options_level: number

The options level of the account

formatint64
short_name: string

The short name of the account

The current status of the account

One of the following:
"ACTIVE"
"INACTIVE"
"CLOSED"

The sub-type of account

One of the following:
"CASH"
"MARGIN"
"OTHER"

The type of account

One of the following:
"CUSTOMER"
"OTHER"
close_date?: string | null

The date the account was closed, if applicable

formatdate
AccountPatchAccountByIDResponse extends BaseResponse { metadata, error } { data }
data: AccountSettings { risk }
risk?: RiskSettings { max_notional } | null

Risk settings for the account

max_notional?: string | null

The maximum notional value available to the account

AccountGetAccountBalancesResponse extends BaseResponse { metadata, error } { data }
data: AccountBalances { account_id, buying_power, currency, 16 more }

Represents the balance details for a trading account

account_id: number

The unique identifier for the account

formatint64
buying_power: string

The total buying power available in the account.

currency: string

Currency identifier for all monetary values.

daily_realized_pnl: string

Realized profit or loss since start of day.

daily_total_pnl: string

Total profit or loss since start of day.

daily_unrealized_pnl: string

Total unrealized profit or loss across all positions relative to prior close.

equity: string

The total equity in the account.

long_market_value: string

The total market value of all long positions.

margin_type: MarginType

The applicable margin model for the account

One of the following:
"OTHER"
"NONE"
"PORTFOLIO_MARGIN"
"RISK_BASED_HAIRCUT_BROKER_DEALER"
"REG_T"
"RISK_BASED_HAIRCUT_MARKET_MAKER"
"CIRO"
"FUTURES_NLV"
"FUTURES_TOT_EQ"
open_order_adjustment: string

Signed buying-power correction from open orders.

settled_cash: string

The amount of cash that is settled and available for withdrawal or trading.

sod: AccountBalancesSod { buying_power, equity, long_market_value, 6 more }

Start-of-day snapshot balances.

buying_power: string

Start-of-day buying power.

equity: string

Start-of-day equity.

long_market_value: string

Start-of-day long market value.

short_market_value: string

Start-of-day short market value.

asof?: string | null

Timestamp for the start-of-day values.

formatdate
day_trade_buying_power?: string | null

Start-of-day day-trade buying power.

maintenance_margin_excess?: string | null

Start-of-day maintenance margin excess.

maintenance_margin_requirement?: string | null

Start-of-day maintenance margin requirement.

trade_cash?: string | null

Start-of-day trade cash.

trade_cash: string

Trade-date effective cash.

unsettled_credits: string

Trade-date unsettled cash credits.

unsettled_debits: string

Trade-date unsettled cash debits.

withdrawable_cash: string

The amount of cash currently available to withdraw.

margin_details?: MarginDetails { day_trade_count, initial_margin_excess, initial_margin_requirement, 6 more } | null

Margin-account-only details.

day_trade_count: number

The number of day trades executed over the 5 most recent trading days.

formatint32
minimum0
initial_margin_excess: string

Initial margin excess for trade-date balances.

initial_margin_requirement: string

Initial margin requirement for trade-date balances.

maintenance_margin_excess: string

Maintenance margin excess for trade-date balances.

maintenance_margin_requirement: string

Maintenance margin requirement for trade-date balances.

pattern_day_trader: boolean

true if the account is currently flagged as a PDT, otherwise false.

day_trade_buying_power_usage?: string | null

The amount of day-trade buying power used during the current trading day.

top_contributors?: Array<MarginTopContributor { day_trade_buying_power_usage, initial_margin_requirement, maintenance_margin_requirement, 2 more } >

Optional top margin contributors, returned only when explicitly requested.

day_trade_buying_power_usage: string

Day-trade buying power consumed by fills against this underlying on the current trade date. Populated only for pattern day trader accounts.

initial_margin_requirement: string

Initial margin requirement attributable to this underlying.

maintenance_margin_requirement: string

Maintenance margin requirement attributable to this underlying.

market_value: string

Net market value attributable to this underlying.

underlying_instrument_id: string

UUID of the underlying security contributing to margin requirement.

formatuuid
usage?: MarginDetailsUsage { total, used } | null

Current usage totals.

total: string

The total margin available in the current model.

used: string

The amount of margin that is currently being utilized.

multiplier?: string | null

Applied multiplier for margin calculations.

short_market_value?: string | null

The total market value of all short positions.

AccountGetPortfolioHistoryResponse extends BaseResponse { metadata, error } { data }
data: PortfolioHistoryResponse { segments }
segments: Array<PortfolioHistorySegment { date, eod_equity, realized_pnl, 7 more } >
date: string

The date for this segment

formatdate
eod_equity: string

The equity at the end of the trading day.

realized_pnl: string

Sum of the profit and loss realized from position closing trading activity.

sod_equity: string

The equity at the start of the trading day.

unrealized_pnl: string

Sum of the profit and loss from market changes.

bought_notional?: string | null

Amount bought MTM

day_pnl?: string | null

Sum of the profit and loss from intraday trading activities for the trading day.

net_pnl?: string | null

P&L after netting all realized and unrealized P&L, adjustments, dividends, change in accruals, income and expenses

position_pnl?: string | null

P&L attributable to start-of-day (carried) positions from market movement during this trading day.

sold_notional?: string | null

Amount sold MTM

V1API Version

Endpoints for API service metadata.

Get the API version.
client.v1.apiVersion.getVersion(RequestOptionsoptions?): APIVersionGetVersionResponse { data }
GET/v1/version
ModelsExpand Collapse
Version { version }

API version information

version: string

API version string

APIVersionGetVersionResponse extends BaseResponse { metadata, error } { data }
data: Version { version }

API version information

version: string

API version string

V1Calendar

Access clocks and financial calendars for market sessions and events.

Get Clock
client.v1.calendar.getClock(RequestOptionsoptions?): CalendarGetClockResponse { data }
GET/v1/clock
Get Market Hours Calendar.
client.v1.calendar.getMarketHoursCalendar(CalendarGetMarketHoursCalendarParams { date, market } query, RequestOptionsoptions?): CalendarGetMarketHoursCalendarResponse { data }
GET/v1/calendars/market-hours
ModelsExpand Collapse
ClockDetail { clock }

Current server time and market clock information

clock: string

Current server time in UTC

formatdate-time
DayType = "TRADING_DAY" | "EARLY_CLOSE" | "HOLIDAY" | "WEEKEND"

Day type for market hours - indicates the type of trading day

One of the following:
"TRADING_DAY"
"EARLY_CLOSE"
"HOLIDAY"
"WEEKEND"
MarketHoursDetail { current_time, date, market, 5 more }

Comprehensive market hours information for a specific market and date

current_time: string

Current time in market timezone with offset

formatdate-time
date: string

The date for which market hours are provided

formatdate
market: MarketType

Market type identifier

One of the following:
"us_equities"
"us_options"
market_name: string

Human-readable market name

next_sessions: TradingSessions { after_hours, pre_market, regular }

Next trading day’s session schedules (without time_until fields)

after_hours?: SessionSchedule { close, open, time_until_close, time_until_open } | null

After-hours session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
pre_market?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Pre-market session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
regular?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Regular trading session schedule, null if holiday/weekend

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
status: MarketStatus { day_type, is_open, current_session }

Market status information

day_type: DayType

The type of trading day

One of the following:
"TRADING_DAY"
"EARLY_CLOSE"
"HOLIDAY"
"WEEKEND"
is_open: boolean

Whether the market is currently open (real-time)

current_session?: MarketSessionType | null

Current session type if market is open, null if closed

One of the following:
"pre_market"
"regular"
"after_hours"
timezone: string

IANA timezone identifier for the market

today_sessions: TradingSessions { after_hours, pre_market, regular }

Trading session schedules for the requested date with time_until fields

after_hours?: SessionSchedule { close, open, time_until_close, time_until_open } | null

After-hours session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
pre_market?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Pre-market session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
regular?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Regular trading session schedule, null if holiday/weekend

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
MarketHoursDetailList = Array<MarketHoursDetail { current_time, date, market, 5 more } >
current_time: string

Current time in market timezone with offset

formatdate-time
date: string

The date for which market hours are provided

formatdate
market: MarketType

Market type identifier

One of the following:
"us_equities"
"us_options"
market_name: string

Human-readable market name

next_sessions: TradingSessions { after_hours, pre_market, regular }

Next trading day’s session schedules (without time_until fields)

after_hours?: SessionSchedule { close, open, time_until_close, time_until_open } | null

After-hours session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
pre_market?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Pre-market session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
regular?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Regular trading session schedule, null if holiday/weekend

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
status: MarketStatus { day_type, is_open, current_session }

Market status information

day_type: DayType

The type of trading day

One of the following:
"TRADING_DAY"
"EARLY_CLOSE"
"HOLIDAY"
"WEEKEND"
is_open: boolean

Whether the market is currently open (real-time)

current_session?: MarketSessionType | null

Current session type if market is open, null if closed

One of the following:
"pre_market"
"regular"
"after_hours"
timezone: string

IANA timezone identifier for the market

today_sessions: TradingSessions { after_hours, pre_market, regular }

Trading session schedules for the requested date with time_until fields

after_hours?: SessionSchedule { close, open, time_until_close, time_until_open } | null

After-hours session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
pre_market?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Pre-market session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
regular?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Regular trading session schedule, null if holiday/weekend

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
MarketSessionType = "pre_market" | "regular" | "after_hours"

Session type for market hours

One of the following:
"pre_market"
"regular"
"after_hours"
MarketStatus { day_type, is_open, current_session }

Market status information

day_type: DayType

The type of trading day

One of the following:
"TRADING_DAY"
"EARLY_CLOSE"
"HOLIDAY"
"WEEKEND"
is_open: boolean

Whether the market is currently open (real-time)

current_session?: MarketSessionType | null

Current session type if market is open, null if closed

One of the following:
"pre_market"
"regular"
"after_hours"
MarketType = "us_equities" | "us_options"

Market type for market hours calendar endpoint

One of the following:
"us_equities"
"us_options"
SessionSchedule { close, open, time_until_close, time_until_open }

Session schedule with open and close timestamps

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
TradingSessions { after_hours, pre_market, regular }

Trading sessions for a market day with full timestamps

after_hours?: SessionSchedule { close, open, time_until_close, time_until_open } | null

After-hours session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
pre_market?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Pre-market session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
regular?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Regular trading session schedule, null if holiday/weekend

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
CalendarGetClockResponse extends BaseResponse { metadata, error } { data }
data: ClockDetail { clock }

Current server time and market clock information

clock: string

Current server time in UTC

formatdate-time
CalendarGetMarketHoursCalendarResponse extends BaseResponse { metadata, error } { data }
data: MarketHoursDetailList { current_time, date, market, 5 more }
current_time: string

Current time in market timezone with offset

formatdate-time
date: string

The date for which market hours are provided

formatdate
market: MarketType

Market type identifier

One of the following:
"us_equities"
"us_options"
market_name: string

Human-readable market name

next_sessions: TradingSessions { after_hours, pre_market, regular }

Next trading day’s session schedules (without time_until fields)

after_hours?: SessionSchedule { close, open, time_until_close, time_until_open } | null

After-hours session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
pre_market?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Pre-market session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
regular?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Regular trading session schedule, null if holiday/weekend

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
status: MarketStatus { day_type, is_open, current_session }

Market status information

day_type: DayType

The type of trading day

One of the following:
"TRADING_DAY"
"EARLY_CLOSE"
"HOLIDAY"
"WEEKEND"
is_open: boolean

Whether the market is currently open (real-time)

current_session?: MarketSessionType | null

Current session type if market is open, null if closed

One of the following:
"pre_market"
"regular"
"after_hours"
timezone: string

IANA timezone identifier for the market

today_sessions: TradingSessions { after_hours, pre_market, regular }

Trading session schedules for the requested date with time_until fields

after_hours?: SessionSchedule { close, open, time_until_close, time_until_open } | null

After-hours session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
pre_market?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Pre-market session schedule, null if not available

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration
regular?: SessionSchedule { close, open, time_until_close, time_until_open } | null

Regular trading session schedule, null if holiday/weekend

close: string

Session close timestamp with timezone offset

formatdate-time
open: string

Session open timestamp with timezone offset

formatdate-time
time_until_close?: string | null

ISO 8601 duration until session closes. Null if session is not currently open.

formatduration
time_until_open?: string | null

ISO 8601 duration until session opens. Null if session has already started or closed.

formatduration

V1Instrument Data

Retrieve instrument analytics, market data, news, and related reference data.

Get All Instrument Events
client.v1.instrumentData.getAllInstrumentEvents(InstrumentDataGetAllInstrumentEventsParams { event_types, from_date, instrument_ids, to_date } query?, RequestOptionsoptions?): InstrumentDataGetAllInstrumentEventsResponse { data }
GET/v1/instruments/events
Get Instrument Events
client.v1.instrumentData.getInstrumentEvents(InstrumentIDOrSymbolinstrumentID, InstrumentDataGetInstrumentEventsParams { from_date, to_date } query?, RequestOptionsoptions?): InstrumentDataGetInstrumentEventsResponse { data }
GET/v1/instruments/{instrument_id}/events
Get Instrument Fundamentals
client.v1.instrumentData.getInstrumentFundamentals(InstrumentIDOrSymbolinstrumentID, RequestOptionsoptions?): InstrumentDataGetInstrumentFundamentalsResponse { data }
GET/v1/instruments/{instrument_id}/fundamentals
Get Instrument Balance Sheet Statements
client.v1.instrumentData.getInstrumentBalanceSheetStatements(InstrumentIDOrSymbolinstrumentID, InstrumentDataGetInstrumentBalanceSheetStatementsParams { from_date, page_size, page_token, to_date } query?, RequestOptionsoptions?): InstrumentDataGetInstrumentBalanceSheetStatementsResponse { data }
GET/v1/instruments/{instrument_id}/balance-sheets
Get Instrument Income Statements
client.v1.instrumentData.getInstrumentIncomeStatements(InstrumentIDOrSymbolinstrumentID, InstrumentDataGetInstrumentIncomeStatementsParams { from_date, page_size, page_token, to_date } query?, RequestOptionsoptions?): InstrumentDataGetInstrumentIncomeStatementsResponse { data }
GET/v1/instruments/{instrument_id}/income-statements
Get Instrument Analyst Consensus
client.v1.instrumentData.getInstrumentAnalystConsensus(InstrumentIDOrSymbolinstrumentID, InstrumentDataGetInstrumentAnalystConsensusParams { from, to } query?, RequestOptionsoptions?): InstrumentDataGetInstrumentAnalystConsensusResponse { data }
GET/v1/instruments/{instrument_id}/analyst-reporting
Get Instrument Cash Flow Statements
client.v1.instrumentData.getInstrumentCashFlowStatements(InstrumentIDOrSymbolinstrumentID, InstrumentDataGetInstrumentCashFlowStatementsParams { from_date, page_size, page_token, to_date } query?, RequestOptionsoptions?): InstrumentDataGetInstrumentCashFlowStatementsResponse { data }
GET/v1/instruments/{instrument_id}/cash-flow-statements
ModelsExpand Collapse
AllEventsEventType = "EARNINGS" | "DIVIDEND" | "STOCK_SPLIT" | "IPO"

Event types supported by the all-events endpoint.

One of the following:
"EARNINGS"
"DIVIDEND"
"STOCK_SPLIT"
"IPO"
AnalystDistribution { buy, hold, sell, 2 more }

Analyst recommendation distribution

buy: number

Number of buy recommendations

formatint64
hold: number

Number of hold recommendations

formatint64
sell: number

Number of sell recommendations

formatint64
strong_buy: number

Number of strong buy recommendations

formatint64
strong_sell: number

Number of strong sell recommendations

formatint64
AnalystRating = "STRONG_BUY" | "BUY" | "HOLD" | 2 more

Analyst rating category

One of the following:
"STRONG_BUY"
"BUY"
"HOLD"
"SELL"
"STRONG_SELL"
FiscalPeriodType = "QUARTERLY" | "ANNUAL" | "TTM" | "BIANNUAL"

Fiscal period type for earnings reports

One of the following:
"QUARTERLY"
"ANNUAL"
"TTM"
"BIANNUAL"
InstrumentAllEventsData { event_dates }

All-events payload grouped by date.

event_dates: Array<InstrumentEventsByDate { date, events } >

Events grouped by date in descending order.

date: string

Event date.

formatdate
events: Array<InstrumentEventEnvelope { symbol, type, dividend_event_data, 6 more } >

Flat event envelopes for this date.

symbol: string

Symbol associated with the event.

Event type discriminator.

One of the following:
"EARNINGS"
"DIVIDEND"
"STOCK_SPLIT"
"IPO"
dividend_event_data?: InstrumentDividendEvent { adjusted_dividend_amount, ex_date, declaration_date, 5 more } | null

Dividend payload when type is DIVIDEND.

adjusted_dividend_amount: string

The adjusted dividend amount accounting for any splits.

ex_date: string

The day the stock starts trading without the right to receive that dividend.

formatdate
declaration_date?: string | null

The declaration date of the dividend

formatdate
dividend_amount?: string | null

The dividend amount per share.

dividend_yield?: string | null

The dividend yield as a percentage of the stock price.

frequency?: string | null

The frequency of the dividend payments (e.g., “Quarterly”, “Annual”).

payment_date?: string | null

The payment date is the date on which a declared stock dividend is scheduled to be paid.

formatdate
record_date?: string | null

The record date, set by a company’s board of directors, is when a company compiles a list of shareholders of the stock for which it has declared a dividend.

formatdate
earnings_event_data?: InstrumentEarnings { date, eps_actual, eps_estimate, 4 more } | null

Earnings payload when type is EARNINGS.

date: string

The date when the earnings report was published

formatdate
eps_actual?: string | null

The actual earnings per share (EPS) for the period

eps_estimate?: string | null

The estimated earnings per share (EPS) for the period

eps_surprise_percent?: string | null

The percentage difference between actual and estimated EPS

revenue_actual?: string | null

The actual total revenue for the period

revenue_estimate?: string | null

The estimated total revenue for the period

revenue_surprise_percent?: string | null

The percentage difference between actual and estimated revenue

instrument_id?: string | null

OEMS instrument identifier, when the instrument is found in the instrument cache.

formatuuid
ipo_event_data?: InstrumentEventIpoItem { actions, announced_at, company, 4 more } | null

IPO payload when type is IPO.

actions?: string | null

IPO action.

announced_at?: string | null

IPO announced timestamp.

formatdate-time
company?: string | null

IPO company name.

exchange?: string | null

IPO exchange.

market_cap?: string | null

IPO market cap.

price_range?: string | null

IPO price range.

shares?: string | null

IPO shares offered.

name?: string | null

Instrument name associated with the event, when available.

reporting_currency?: string | null

The currency used for reporting financial data.

stock_split_event_data?: InstrumentSplitEvent { date, denominator, numerator, split_type } | null

Stock split payload when type is STOCK_SPLIT.

date: string

The date of the stock split

formatdate
denominator: string

The denominator of the split ratio

numerator: string

The numerator of the split ratio

split_type: string

The type of stock split (e.g., “stock-split”, “stock-dividend”, “bonus-issue”)

InstrumentAnalystConsensus { date, distribution, price_target, rating }

Aggregated analyst consensus metrics

date: string

The date the consensus snapshot was generated

formatdate
distribution?: AnalystDistribution { buy, hold, sell, 2 more } | null

Count of individual analyst recommendations by category

buy: number

Number of buy recommendations

formatint64
hold: number

Number of hold recommendations

formatint64
sell: number

Number of sell recommendations

formatint64
strong_buy: number

Number of strong buy recommendations

formatint64
strong_sell: number

Number of strong sell recommendations

formatint64
price_target?: PriceTarget { average, currency, high, low } | null

Aggregated analyst price target statistics

average: string

Average analyst price target

currency: string

ISO 4217 currency code of the price targets

high: string

Highest analyst price target

low: string

Lowest analyst price target

rating?: AnalystRating | null

Consensus analyst rating

One of the following:
"STRONG_BUY"
"BUY"
"HOLD"
"SELL"
"STRONG_SELL"
InstrumentBalanceSheetStatement { accepted_date, filing_date, period, 55 more }

A quarterly balance sheet statement for an instrument.

accepted_date: string

The date and time when the filing was accepted by the SEC

formatdate-time
filing_date: string

The date the financial statement was filed

formatdate
period: string

The fiscal period identifier (e.g., “Q1”, “Q2”, “Q3”, “Q4”)

period_type: FiscalPeriodType

The type of fiscal period

One of the following:
"QUARTERLY"
"ANNUAL"
"TTM"
"BIANNUAL"
reported_currency: string

The currency in which the statement is reported (ISO 4217)

year: number

The fiscal year of the statement

formatint32
account_payables?: string | null

Account payables

accounts_receivables?: string | null

Accounts receivables

accrued_expenses?: string | null

Accrued expenses

accumulated_other_comprehensive_income_loss?: string | null

Accumulated other comprehensive income/loss

additional_paid_in_capital?: string | null

Additional paid-in capital

capital_lease_obligations?: string | null

Capital lease obligations (total)

capital_lease_obligations_current?: string | null

Capital lease obligations (current portion)

cash_and_cash_equivalents?: string | null

Cash and cash equivalents

cash_and_short_term_investments?: string | null

Cash and short-term investments combined

common_stock?: string | null

Common stock

deferred_revenue?: string | null

Deferred revenue

deferred_revenue_non_current?: string | null

Deferred revenue (non-current)

deferred_tax_liabilities_non_current?: string | null

Deferred tax liabilities (non-current)

goodwill?: string | null

Goodwill

goodwill_and_intangible_assets?: string | null

Goodwill and intangible assets combined

intangible_assets?: string | null

Intangible assets

inventory?: string | null

Inventory

long_term_debt?: string | null

Long-term debt

long_term_investments?: string | null

Long-term investments

minority_interest?: string | null

Minority interest

net_debt?: string | null

Net debt (total debt minus cash)

net_receivables?: string | null

Net receivables

other_assets?: string | null

Other assets

other_current_assets?: string | null

Other current assets

other_current_liabilities?: string | null

Other current liabilities

other_liabilities?: string | null

Other liabilities

other_non_current_assets?: string | null

Other non-current assets

other_non_current_liabilities?: string | null

Other non-current liabilities

other_payables?: string | null

Other payables

other_receivables?: string | null

Other receivables

other_total_stockholders_equity?: string | null

Other total stockholders equity

preferred_stock?: string | null

Preferred stock

prepaids?: string | null

Prepaids

property_plant_and_equipment_net?: string | null

Property, plant and equipment net of depreciation

retained_earnings?: string | null

Retained earnings

short_term_debt?: string | null

Short-term debt

short_term_investments?: string | null

Short-term investments

tax_assets?: string | null

Tax assets

tax_payables?: string | null

Tax payables

total_assets?: string | null

Total assets

total_current_assets?: string | null

Total current assets

total_current_liabilities?: string | null

Total current liabilities

total_debt?: string | null

Total debt

total_equity?: string | null

Total equity

total_investments?: string | null

Total investments

total_liabilities?: string | null

Total liabilities

total_liabilities_and_total_equity?: string | null

Total liabilities and total equity

total_non_current_assets?: string | null

Total non-current assets

total_non_current_liabilities?: string | null

Total non-current liabilities

total_payables?: string | null

Total payables

total_stockholders_equity?: string | null

Total stockholders equity

treasury_stock?: string | null

Treasury stock

InstrumentBalanceSheetStatementList = Array<InstrumentBalanceSheetStatement { accepted_date, filing_date, period, 55 more } >
accepted_date: string

The date and time when the filing was accepted by the SEC

formatdate-time
filing_date: string

The date the financial statement was filed

formatdate
period: string

The fiscal period identifier (e.g., “Q1”, “Q2”, “Q3”, “Q4”)

period_type: FiscalPeriodType

The type of fiscal period

One of the following:
"QUARTERLY"
"ANNUAL"
"TTM"
"BIANNUAL"
reported_currency: string

The currency in which the statement is reported (ISO 4217)

year: number

The fiscal year of the statement

formatint32
account_payables?: string | null

Account payables

accounts_receivables?: string | null

Accounts receivables

accrued_expenses?: string | null

Accrued expenses

accumulated_other_comprehensive_income_loss?: string | null

Accumulated other comprehensive income/loss

additional_paid_in_capital?: string | null

Additional paid-in capital

capital_lease_obligations?: string | null

Capital lease obligations (total)

capital_lease_obligations_current?: string | null

Capital lease obligations (current portion)

cash_and_cash_equivalents?: string | null

Cash and cash equivalents

cash_and_short_term_investments?: string | null

Cash and short-term investments combined

common_stock?: string | null

Common stock

deferred_revenue?: string | null

Deferred revenue

deferred_revenue_non_current?: string | null

Deferred revenue (non-current)

deferred_tax_liabilities_non_current?: string | null

Deferred tax liabilities (non-current)

goodwill?: string | null

Goodwill

goodwill_and_intangible_assets?: string | null

Goodwill and intangible assets combined

intangible_assets?: string | null

Intangible assets

inventory?: string | null

Inventory

long_term_debt?: string | null

Long-term debt

long_term_investments?: string | null

Long-term investments

minority_interest?: string | null

Minority interest

net_debt?: string | null

Net debt (total debt minus cash)

net_receivables?: string | null

Net receivables

other_assets?: string | null

Other assets

other_current_assets?: string | null

Other current assets

other_current_liabilities?: string | null

Other current liabilities

other_liabilities?: string | null

Other liabilities

other_non_current_assets?: string | null

Other non-current assets

other_non_current_liabilities?: string | null

Other non-current liabilities

other_payables?: string | null

Other payables

other_receivables?: string | null

Other receivables

other_total_stockholders_equity?: string | null

Other total stockholders equity

preferred_stock?: string | null

Preferred stock

prepaids?: string | null

Prepaids

property_plant_and_equipment_net?: string | null

Property, plant and equipment net of depreciation

retained_earnings?: string | null

Retained earnings

short_term_debt?: string | null

Short-term debt

short_term_investments?: string | null

Short-term investments

tax_assets?: string | null

Tax assets

tax_payables?: string | null

Tax payables

total_assets?: string | null

Total assets

total_current_assets?: string | null

Total current assets

total_current_liabilities?: string | null

Total current liabilities

total_debt?: string | null

Total debt

total_equity?: string | null

Total equity

total_investments?: string | null

Total investments

total_liabilities?: string | null

Total liabilities

total_liabilities_and_total_equity?: string | null

Total liabilities and total equity

total_non_current_assets?: string | null

Total non-current assets

total_non_current_liabilities?: string | null

Total non-current liabilities

total_payables?: string | null

Total payables

total_stockholders_equity?: string | null

Total stockholders equity

treasury_stock?: string | null

Treasury stock

InstrumentCashFlowStatement { accepted_date, filing_date, period, 42 more }

A quarterly cash flow statement for an instrument.

accepted_date: string

The date and time when the filing was accepted by the SEC

formatdate-time
filing_date: string

The date the financial statement was filed

formatdate
period: string

The fiscal period identifier (e.g., “Q1”, “Q2”, “Q3”, “Q4”)

period_type: FiscalPeriodType

The type of fiscal period

One of the following:
"QUARTERLY"
"ANNUAL"
"TTM"
"BIANNUAL"
reported_currency: string

The currency in which the statement is reported (ISO 4217)

year: number

The fiscal year of the statement

formatint32
accounts_payables?: string | null

Change in accounts payables

accounts_receivables?: string | null

Change in accounts receivables

acquisitions_net?: string | null

Net acquisitions

capital_expenditure?: string | null

Capital expenditure

cash_at_beginning_of_period?: string | null

Cash and cash equivalents at beginning of period

cash_at_end_of_period?: string | null

Cash and cash equivalents at end of period

change_in_working_capital?: string | null

Change in working capital

common_dividends_paid?: string | null

Common dividends paid

common_stock_issuance?: string | null

Common stock issuance

common_stock_repurchased?: string | null

Common stock repurchased (buybacks)

deferred_income_tax?: string | null

Deferred income tax expense

depreciation_and_amortization?: string | null

Depreciation and amortization expense

effect_of_forex_changes_on_cash?: string | null

Effect of foreign exchange changes on cash

free_cash_flow?: string | null

Free cash flow (operating cash flow minus capital expenditure)

income_taxes_paid?: string | null

Income taxes paid

interest_paid?: string | null

Interest paid

inventory?: string | null

Change in inventory

investments_in_property_plant_and_equipment?: string | null

Investments in property, plant, and equipment

long_term_net_debt_issuance?: string | null

Long-term net debt issuance

net_cash_provided_by_financing_activities?: string | null

Net cash provided by financing activities

net_cash_provided_by_investing_activities?: string | null

Net cash provided by investing activities

net_cash_provided_by_operating_activities?: string | null

Net cash provided by operating activities

net_change_in_cash?: string | null

Net change in cash during the period

net_common_stock_issuance?: string | null

Net common stock issuance

net_debt_issuance?: string | null

Net debt issuance (long-term + short-term)

net_dividends_paid?: string | null

Net dividends paid (common + preferred)

net_income?: string | null

Net income for the period

net_preferred_stock_issuance?: string | null

Net preferred stock issuance

net_stock_issuance?: string | null

Net stock issuance (common + preferred)

operating_cash_flow?: string | null

Operating cash flow (alternative calculation)

other_financing_activities?: string | null

Other financing activities

other_investing_activities?: string | null

Other investing activities

other_non_cash_items?: string | null

Other non-cash items

other_working_capital?: string | null

Change in other working capital

preferred_dividends_paid?: string | null

Preferred dividends paid

purchases_of_investments?: string | null

Purchases of investments

sales_maturities_of_investments?: string | null

Sales and maturities of investments

short_term_net_debt_issuance?: string | null

Short-term net debt issuance

stock_based_compensation?: string | null

Stock-based compensation expense

InstrumentCashFlowStatementList = Array<InstrumentCashFlowStatement { accepted_date, filing_date, period, 42 more } >
accepted_date: string

The date and time when the filing was accepted by the SEC

formatdate-time
filing_date: string

The date the financial statement was filed

formatdate
period: string

The fiscal period identifier (e.g., “Q1”, “Q2”, “Q3”, “Q4”)

period_type: FiscalPeriodType

The type of fiscal period

One of the following:
"QUARTERLY"
"ANNUAL"
"TTM"
"BIANNUAL"
reported_currency: string

The currency in which the statement is reported (ISO 4217)

year: number

The fiscal year of the statement

formatint32
accounts_payables?: string | null

Change in accounts payables

accounts_receivables?: string | null

Change in accounts receivables

acquisitions_net?: string | null

Net acquisitions

capital_expenditure?: string | null

Capital expenditure

cash_at_beginning_of_period?: string | null

Cash and cash equivalents at beginning of period

cash_at_end_of_period?: string | null

Cash and cash equivalents at end of period

change_in_working_capital?: string | null

Change in working capital

common_dividends_paid?: string | null

Common dividends paid

common_stock_issuance?: string | null

Common stock issuance

common_stock_repurchased?: string | null

Common stock repurchased (buybacks)

deferred_income_tax?: string | null

Deferred income tax expense

depreciation_and_amortization?: string | null

Depreciation and amortization expense

effect_of_forex_changes_on_cash?: string | null

Effect of foreign exchange changes on cash

free_cash_flow?: string | null

Free cash flow (operating cash flow minus capital expenditure)

income_taxes_paid?: string | null

Income taxes paid

interest_paid?: string | null

Interest paid

inventory?: string | null

Change in inventory

investments_in_property_plant_and_equipment?: string | null

Investments in property, plant, and equipment

long_term_net_debt_issuance?: string | null

Long-term net debt issuance

net_cash_provided_by_financing_activities?: string | null

Net cash provided by financing activities

net_cash_provided_by_investing_activities?: string | null

Net cash provided by investing activities

net_cash_provided_by_operating_activities?: string | null

Net cash provided by operating activities

net_change_in_cash?: string | null

Net change in cash during the period

net_common_stock_issuance?: string | null

Net common stock issuance

net_debt_issuance?: string | null

Net debt issuance (long-term + short-term)

net_dividends_paid?: string | null

Net dividends paid (common + preferred)

net_income?: string | null

Net income for the period

net_preferred_stock_issuance?: string | null

Net preferred stock issuance

net_stock_issuance?: string | null

Net stock issuance (common + preferred)

operating_cash_flow?: string | null

Operating cash flow (alternative calculation)

other_financing_activities?: string | null

Other financing activities

other_investing_activities?: string | null

Other investing activities

other_non_cash_items?: string | null

Other non-cash items

other_working_capital?: string | null

Change in other working capital

preferred_dividends_paid?: string | null

Preferred dividends paid

purchases_of_investments?: string | null

Purchases of investments

sales_maturities_of_investments?: string | null

Sales and maturities of investments

short_term_net_debt_issuance?: string | null

Short-term net debt issuance

stock_based_compensation?: string | null

Stock-based compensation expense

InstrumentDividendEvent { adjusted_dividend_amount, ex_date, declaration_date, 5 more }

Represents a dividend event for an instrument

adjusted_dividend_amount: string

The adjusted dividend amount accounting for any splits.

ex_date: string

The day the stock starts trading without the right to receive that dividend.

formatdate
declaration_date?: string | null

The declaration date of the dividend

formatdate
dividend_amount?: string | null

The dividend amount per share.

dividend_yield?: string | null

The dividend yield as a percentage of the stock price.

frequency?: string | null

The frequency of the dividend payments (e.g., “Quarterly”, “Annual”).

payment_date?: string | null

The payment date is the date on which a declared stock dividend is scheduled to be paid.

formatdate
record_date?: string | null

The record date, set by a company’s board of directors, is when a company compiles a list of shareholders of the stock for which it has declared a dividend.

formatdate
InstrumentEarnings { date, eps_actual, eps_estimate, 4 more }

Represents instrument earnings data

date: string

The date when the earnings report was published

formatdate
eps_actual?: string | null

The actual earnings per share (EPS) for the period

eps_estimate?: string | null

The estimated earnings per share (EPS) for the period

eps_surprise_percent?: string | null

The percentage difference between actual and estimated EPS

revenue_actual?: string | null

The actual total revenue for the period

revenue_estimate?: string | null

The estimated total revenue for the period

revenue_surprise_percent?: string | null

The percentage difference between actual and estimated revenue

InstrumentEventEnvelope { symbol, type, dividend_event_data, 6 more }

Unified envelope for the all-events response.

symbol: string

Symbol associated with the event.

Event type discriminator.

One of the following:
"EARNINGS"
"DIVIDEND"
"STOCK_SPLIT"
"IPO"
dividend_event_data?: InstrumentDividendEvent { adjusted_dividend_amount, ex_date, declaration_date, 5 more } | null

Dividend payload when type is DIVIDEND.

adjusted_dividend_amount: string

The adjusted dividend amount accounting for any splits.

ex_date: string

The day the stock starts trading without the right to receive that dividend.

formatdate
declaration_date?: string | null

The declaration date of the dividend

formatdate
dividend_amount?: string | null

The dividend amount per share.

dividend_yield?: string | null

The dividend yield as a percentage of the stock price.

frequency?: string | null

The frequency of the dividend payments (e.g., “Quarterly”, “Annual”).

payment_date?: string | null

The payment date is the date on which a declared stock dividend is scheduled to be paid.

formatdate
record_date?: string | null

The record date, set by a company’s board of directors, is when a company compiles a list of shareholders of the stock for which it has declared a dividend.

formatdate
earnings_event_data?: InstrumentEarnings { date, eps_actual, eps_estimate, 4 more } | null

Earnings payload when type is EARNINGS.

date: string

The date when the earnings report was published

formatdate
eps_actual?: string | null

The actual earnings per share (EPS) for the period

eps_estimate?: string | null

The estimated earnings per share (EPS) for the period

eps_surprise_percent?: string | null

The percentage difference between actual and estimated EPS

revenue_actual?: string | null

The actual total revenue for the period

revenue_estimate?: string | null

The estimated total revenue for the period

revenue_surprise_percent?: string | null

The percentage difference between actual and estimated revenue

instrument_id?: string | null

OEMS instrument identifier, when the instrument is found in the instrument cache.

formatuuid
ipo_event_data?: InstrumentEventIpoItem { actions, announced_at, company, 4 more } | null

IPO payload when type is IPO.

actions?: string | null

IPO action.

announced_at?: string | null

IPO announced timestamp.

formatdate-time
company?: string | null

IPO company name.

exchange?: string | null

IPO exchange.

market_cap?: string | null

IPO market cap.

price_range?: string | null

IPO price range.

shares?: string | null

IPO shares offered.

name?: string | null

Instrument name associated with the event, when available.

reporting_currency?: string | null

The currency used for reporting financial data.

stock_split_event_data?: InstrumentSplitEvent { date, denominator, numerator, split_type } | null

Stock split payload when type is STOCK_SPLIT.

date: string

The date of the stock split

formatdate
denominator: string

The denominator of the split ratio

numerator: string

The numerator of the split ratio

split_type: string

The type of stock split (e.g., “stock-split”, “stock-dividend”, “bonus-issue”)

InstrumentEventIpoItem { actions, announced_at, company, 4 more }

IPO event in the all-events date grouping response.

actions?: string | null

IPO action.

announced_at?: string | null

IPO announced timestamp.

formatdate-time
company?: string | null

IPO company name.

exchange?: string | null

IPO exchange.

market_cap?: string | null

IPO market cap.

price_range?: string | null

IPO price range.

shares?: string | null

IPO shares offered.

InstrumentEventsByDate { date, events }

Instrument events for a single date.

date: string

Event date.

formatdate
events: Array<InstrumentEventEnvelope { symbol, type, dividend_event_data, 6 more } >

Flat event envelopes for this date.

symbol: string

Symbol associated with the event.

Event type discriminator.

One of the following:
"EARNINGS"
"DIVIDEND"
"STOCK_SPLIT"
"IPO"
dividend_event_data?: InstrumentDividendEvent { adjusted_dividend_amount, ex_date, declaration_date, 5 more } | null

Dividend payload when type is DIVIDEND.

adjusted_dividend_amount: string

The adjusted dividend amount accounting for any splits.

ex_date: string

The day the stock starts trading without the right to receive that dividend.

formatdate
declaration_date?: string | null

The declaration date of the dividend

formatdate
dividend_amount?: string | null

The dividend amount per share.

dividend_yield?: string | null

The dividend yield as a percentage of the stock price.

frequency?: string | null

The frequency of the dividend payments (e.g., “Quarterly”, “Annual”).

payment_date?: string | null

The payment date is the date on which a declared stock dividend is scheduled to be paid.

formatdate
record_date?: string | null

The record date, set by a company’s board of directors, is when a company compiles a list of shareholders of the stock for which it has declared a dividend.

formatdate
earnings_event_data?: InstrumentEarnings { date, eps_actual, eps_estimate, 4 more } | null

Earnings payload when type is EARNINGS.

date: string

The date when the earnings report was published

formatdate
eps_actual?: string | null

The actual earnings per share (EPS) for the period

eps_estimate?: string | null

The estimated earnings per share (EPS) for the period

eps_surprise_percent?: string | null

The percentage difference between actual and estimated EPS

revenue_actual?: string | null

The actual total revenue for the period

revenue_estimate?: string | null

The estimated total revenue for the period

revenue_surprise_percent?: string | null

The percentage difference between actual and estimated revenue

instrument_id?: string | null

OEMS instrument identifier, when the instrument is found in the instrument cache.

formatuuid
ipo_event_data?: InstrumentEventIpoItem { actions, announced_at, company, 4 more } | null

IPO payload when type is IPO.

actions?: string | null

IPO action.

announced_at?: string | null

IPO announced timestamp.

formatdate-time
company?: string | null

IPO company name.

exchange?: string | null

IPO exchange.

market_cap?: string | null

IPO market cap.

price_range?: string | null

IPO price range.

shares?: string | null

IPO shares offered.

name?: string | null

Instrument name associated with the event, when available.

reporting_currency?: string | null

The currency used for reporting financial data.

stock_split_event_data?: InstrumentSplitEvent { date, denominator, numerator, split_type } | null

Stock split payload when type is STOCK_SPLIT.

date: string

The date of the stock split

formatdate
denominator: string

The denominator of the split ratio

numerator: string

The numerator of the split ratio

split_type: string

The type of stock split (e.g., “stock-split”, “stock-dividend”, “bonus-issue”)

InstrumentEventsData { dividends, earnings, instrument_id, 2 more }

Grouped instrument events by type

dividends: Array<InstrumentDividendEvent { adjusted_dividend_amount, ex_date, declaration_date, 5 more } >

Dividend distribution events

adjusted_dividend_amount: string

The adjusted dividend amount accounting for any splits.

ex_date: string

The day the stock starts trading without the right to receive that dividend.

formatdate
declaration_date?: string | null

The declaration date of the dividend

formatdate
dividend_amount?: string | null

The dividend amount per share.

dividend_yield?: string | null

The dividend yield as a percentage of the stock price.

frequency?: string | null

The frequency of the dividend payments (e.g., “Quarterly”, “Annual”).

payment_date?: string | null

The payment date is the date on which a declared stock dividend is scheduled to be paid.

formatdate
record_date?: string | null

The record date, set by a company’s board of directors, is when a company compiles a list of shareholders of the stock for which it has declared a dividend.

formatdate
earnings: Array<InstrumentEarnings { date, eps_actual, eps_estimate, 4 more } >

Earnings announcement events

date: string

The date when the earnings report was published

formatdate
eps_actual?: string | null

The actual earnings per share (EPS) for the period

eps_estimate?: string | null

The estimated earnings per share (EPS) for the period

eps_surprise_percent?: string | null

The percentage difference between actual and estimated EPS

revenue_actual?: string | null

The actual total revenue for the period

revenue_estimate?: string | null

The estimated total revenue for the period

revenue_surprise_percent?: string | null

The percentage difference between actual and estimated revenue

instrument_id: string

OEMS instrument UUID from the request

formatuuid
splits: Array<InstrumentSplitEvent { date, denominator, numerator, split_type } >

Stock split events

date: string

The date of the stock split

formatdate
denominator: string

The denominator of the split ratio

numerator: string

The numerator of the split ratio

split_type: string

The type of stock split (e.g., “stock-split”, “stock-dividend”, “bonus-issue”)

reporting_currency?: string | null

The currency used for reporting financial data

InstrumentFundamentals { average_volume, beta, description, 12 more }

Supplemental fundamentals and company profile data for an instrument.

average_volume?: number | null

The average daily trading volume over the past 30 days

formatint64
beta?: string | null

The beta value, measuring the instrument’s volatility relative to the overall market

description?: string | null

A detailed description of the instrument or company

dividend_yield?: string | null

The trailing twelve months (TTM) dividend yield

earnings_per_share?: string | null

The trailing twelve months (TTM) earnings per share

fifty_two_week_high?: string | null

The highest price over the last 52 weeks

fifty_two_week_low?: string | null

The lowest price over the last 52 weeks

industry?: string | null

The specific industry of the instrument’s issuer

list_date?: string | null

The date the instrument was first listed

formatdate
logo_url?: string | null

URL to a representative logo image for the instrument or issuer

market_cap?: string | null

The total market capitalization

previous_close?: string | null

The closing price from the previous trading day

price_to_earnings?: string | null

The price-to-earnings (P/E) ratio for the trailing twelve months (TTM)

reporting_currency?: string | null

The currency used for reporting financial data

sector?: string | null

The business sector of the instrument’s issuer

InstrumentIncomeStatement { accepted_date, filing_date, period, 34 more }

A quarterly income statement for an instrument.

accepted_date: string

The date and time when the filing was accepted by the SEC

formatdate-time
filing_date: string

The date the financial statement was filed

formatdate
period: string

The fiscal period identifier (e.g., “Q1”, “Q2”, “Q3”, “Q4”)

period_type: FiscalPeriodType

The type of fiscal period

One of the following:
"QUARTERLY"
"ANNUAL"
"TTM"
"BIANNUAL"
reported_currency: string

The currency in which the statement is reported (ISO 4217)

year: number

The fiscal year of the statement

formatint32
bottom_line_net_income?: string | null

Bottom line net income after all adjustments

cost_and_expenses?: string | null

Total costs and expenses

cost_of_revenue?: string | null

Direct costs attributable to producing goods sold

depreciation_and_amortization?: string | null

Depreciation and amortization expenses

ebit?: string | null

Earnings before interest and taxes

ebitda?: string | null

Earnings before interest, taxes, depreciation, and amortization

eps?: string | null

Basic earnings per share

eps_diluted?: string | null

Diluted earnings per share

general_and_administrative_expenses?: string | null

General administrative overhead expenses

gross_profit?: string | null

Revenue minus cost of revenue

income_before_tax?: string | null

Income before income tax expense

income_tax_expense?: string | null

Income tax expense for the period

interest_expense?: string | null

Interest paid on debt

interest_income?: string | null

Interest earned on investments and cash

net_income?: string | null

Total net income for the period

net_income_deductions?: string | null

Deductions from net income

net_income_from_continuing_operations?: string | null

Net income from continuing operations

net_income_from_discontinued_operations?: string | null

Net income from discontinued operations

net_interest_income?: string | null

Net interest income (interest income minus interest expense)

non_operating_income_excluding_interest?: string | null

Non-operating income excluding interest

operating_expenses?: string | null

Total operating expenses

operating_income?: string | null

Income from core business operations

other_adjustments_to_net_income?: string | null

Other adjustments to net income

other_expenses?: string | null

Other miscellaneous expenses

research_and_development_expenses?: string | null

Expenditure on research and development activities

revenue?: string | null

Total revenue from sales of goods and services

selling_and_marketing_expenses?: string | null

Expenditure on marketing and sales activities

selling_general_and_administrative_expenses?: string | null

Combined selling, general, and administrative expenses

total_other_income_expenses_net?: string | null

Net of other income and expenses

weighted_average_shs_out?: string | null

Weighted average shares outstanding (basic)

weighted_average_shs_out_dil?: string | null

Weighted average shares outstanding (diluted)

InstrumentIncomeStatementList = Array<InstrumentIncomeStatement { accepted_date, filing_date, period, 34 more } >
accepted_date: string

The date and time when the filing was accepted by the SEC

formatdate-time
filing_date: string

The date the financial statement was filed

formatdate
period: string

The fiscal period identifier (e.g., “Q1”, “Q2”, “Q3”, “Q4”)

period_type: FiscalPeriodType

The type of fiscal period

One of the following:
"QUARTERLY"
"ANNUAL"
"TTM"
"BIANNUAL"
reported_currency: string

The currency in which the statement is reported (ISO 4217)

year: number

The fiscal year of the statement

formatint32
bottom_line_net_income?: string | null

Bottom line net income after all adjustments

cost_and_expenses?: string | null

Total costs and expenses

cost_of_revenue?: string | null

Direct costs attributable to producing goods sold

depreciation_and_amortization?: string | null

Depreciation and amortization expenses

ebit?: string | null

Earnings before interest and taxes

ebitda?: string | null

Earnings before interest, taxes, depreciation, and amortization

eps?: string | null

Basic earnings per share

eps_diluted?: string | null

Diluted earnings per share

general_and_administrative_expenses?: string | null

General administrative overhead expenses

gross_profit?: string | null

Revenue minus cost of revenue

income_before_tax?: string | null

Income before income tax expense

income_tax_expense?: string | null

Income tax expense for the period

interest_expense?: string | null

Interest paid on debt

interest_income?: string | null

Interest earned on investments and cash

net_income?: string | null

Total net income for the period

net_income_deductions?: string | null

Deductions from net income

net_income_from_continuing_operations?: string | null

Net income from continuing operations

net_income_from_discontinued_operations?: string | null

Net income from discontinued operations

net_interest_income?: string | null

Net interest income (interest income minus interest expense)

non_operating_income_excluding_interest?: string | null

Non-operating income excluding interest

operating_expenses?: string | null

Total operating expenses

operating_income?: string | null

Income from core business operations

other_adjustments_to_net_income?: string | null

Other adjustments to net income

other_expenses?: string | null

Other miscellaneous expenses

research_and_development_expenses?: string | null

Expenditure on research and development activities

revenue?: string | null

Total revenue from sales of goods and services

selling_and_marketing_expenses?: string | null

Expenditure on marketing and sales activities

selling_general_and_administrative_expenses?: string | null

Combined selling, general, and administrative expenses

total_other_income_expenses_net?: string | null

Net of other income and expenses

weighted_average_shs_out?: string | null

Weighted average shares outstanding (basic)

weighted_average_shs_out_dil?: string | null

Weighted average shares outstanding (diluted)

InstrumentSplitEvent { date, denominator, numerator, split_type }

Represents a stock split event for an instrument

date: string

The date of the stock split

formatdate
denominator: string

The denominator of the split ratio

numerator: string

The numerator of the split ratio

split_type: string

The type of stock split (e.g., “stock-split”, “stock-dividend”, “bonus-issue”)

PriceTarget { average, currency, high, low }

Analyst price target statistics

average: string

Average analyst price target

currency: string

ISO 4217 currency code of the price targets

high: string

Highest analyst price target

low: string

Lowest analyst price target

InstrumentDataGetAllInstrumentEventsResponse extends BaseResponse { metadata, error } { data }
data: InstrumentAllEventsData { event_dates }

All-events payload grouped by date.

event_dates: Array<InstrumentEventsByDate { date, events } >

Events grouped by date in descending order.

date: string

Event date.

formatdate
events: Array<InstrumentEventEnvelope { symbol, type, dividend_event_data, 6 more } >

Flat event envelopes for this date.

symbol: string

Symbol associated with the event.

Event type discriminator.

One of the following:
"EARNINGS"
"DIVIDEND"
"STOCK_SPLIT"
"IPO"
dividend_event_data?: InstrumentDividendEvent { adjusted_dividend_amount, ex_date, declaration_date, 5 more } | null

Dividend payload when type is DIVIDEND.

adjusted_dividend_amount: string

The adjusted dividend amount accounting for any splits.

ex_date: string

The day the stock starts trading without the right to receive that dividend.

formatdate
declaration_date?: string | null

The declaration date of the dividend

formatdate
dividend_amount?: string | null

The dividend amount per share.

dividend_yield?: string | null

The dividend yield as a percentage of the stock price.

frequency?: string | null

The frequency of the dividend payments (e.g., “Quarterly”, “Annual”).

payment_date?: string | null

The payment date is the date on which a declared stock dividend is scheduled to be paid.

formatdate
record_date?: string | null

The record date, set by a company’s board of directors, is when a company compiles a list of shareholders of the stock for which it has declared a dividend.

formatdate
earnings_event_data?: InstrumentEarnings { date, eps_actual, eps_estimate, 4 more } | null

Earnings payload when type is EARNINGS.

date: string

The date when the earnings report was published

formatdate
eps_actual?: string | null

The actual earnings per share (EPS) for the period

eps_estimate?: string | null

The estimated earnings per share (EPS) for the period

eps_surprise_percent?: string | null

The percentage difference between actual and estimated EPS

revenue_actual?: string | null

The actual total revenue for the period

revenue_estimate?: string | null

The estimated total revenue for the period

revenue_surprise_percent?: string | null

The percentage difference between actual and estimated revenue

instrument_id?: string | null

OEMS instrument identifier, when the instrument is found in the instrument cache.

formatuuid
ipo_event_data?: InstrumentEventIpoItem { actions, announced_at, company, 4 more } | null

IPO payload when type is IPO.

actions?: string | null

IPO action.

announced_at?: string | null

IPO announced timestamp.

formatdate-time
company?: string | null

IPO company name.

exchange?: string | null

IPO exchange.

market_cap?: string | null

IPO market cap.

price_range?: string | null

IPO price range.

shares?: string | null

IPO shares offered.

name?: string | null

Instrument name associated with the event, when available.

reporting_currency?: string | null

The currency used for reporting financial data.

stock_split_event_data?: InstrumentSplitEvent { date, denominator, numerator, split_type } | null

Stock split payload when type is STOCK_SPLIT.

date: string

The date of the stock split

formatdate
denominator: string

The denominator of the split ratio

numerator: string

The numerator of the split ratio

split_type: string

The type of stock split (e.g., “stock-split”, “stock-dividend”, “bonus-issue”)

InstrumentDataGetInstrumentEventsResponse extends BaseResponse { metadata, error } { data }
data: InstrumentEventsData { dividends, earnings, instrument_id, 2 more }

Grouped instrument events by type

dividends: Array<InstrumentDividendEvent { adjusted_dividend_amount, ex_date, declaration_date, 5 more } >

Dividend distribution events

adjusted_dividend_amount: string

The adjusted dividend amount accounting for any splits.

ex_date: string

The day the stock starts trading without the right to receive that dividend.

formatdate
declaration_date?: string | null

The declaration date of the dividend

formatdate
dividend_amount?: string | null

The dividend amount per share.

dividend_yield?: string | null

The dividend yield as a percentage of the stock price.

frequency?: string | null

The frequency of the dividend payments (e.g., “Quarterly”, “Annual”).

payment_date?: string | null

The payment date is the date on which a declared stock dividend is scheduled to be paid.

formatdate
record_date?: string | null

The record date, set by a company’s board of directors, is when a company compiles a list of shareholders of the stock for which it has declared a dividend.

formatdate
earnings: Array<InstrumentEarnings { date, eps_actual, eps_estimate, 4 more } >

Earnings announcement events

date: string

The date when the earnings report was published

formatdate
eps_actual?: string | null

The actual earnings per share (EPS) for the period

eps_estimate?: string | null

The estimated earnings per share (EPS) for the period

eps_surprise_percent?: string | null

The percentage difference between actual and estimated EPS

revenue_actual?: string | null

The actual total revenue for the period

revenue_estimate?: string | null

The estimated total revenue for the period

revenue_surprise_percent?: string | null

The percentage difference between actual and estimated revenue

instrument_id: string

OEMS instrument UUID from the request

formatuuid
splits: Array<InstrumentSplitEvent { date, denominator, numerator, split_type } >

Stock split events

date: string

The date of the stock split

formatdate
denominator: string

The denominator of the split ratio

numerator: string

The numerator of the split ratio

split_type: string

The type of stock split (e.g., “stock-split”, “stock-dividend”, “bonus-issue”)

reporting_currency?: string | null

The currency used for reporting financial data

InstrumentDataGetInstrumentFundamentalsResponse extends BaseResponse { metadata, error } { data }
data: InstrumentFundamentals { average_volume, beta, description, 12 more }

Supplemental fundamentals and company profile data for an instrument.

average_volume?: number | null

The average daily trading volume over the past 30 days

formatint64
beta?: string | null

The beta value, measuring the instrument’s volatility relative to the overall market

description?: string | null

A detailed description of the instrument or company

dividend_yield?: string | null

The trailing twelve months (TTM) dividend yield

earnings_per_share?: string | null

The trailing twelve months (TTM) earnings per share

fifty_two_week_high?: string | null

The highest price over the last 52 weeks

fifty_two_week_low?: string | null

The lowest price over the last 52 weeks

industry?: string | null

The specific industry of the instrument’s issuer

list_date?: string | null

The date the instrument was first listed

formatdate
logo_url?: string | null

URL to a representative logo image for the instrument or issuer

market_cap?: string | null

The total market capitalization

previous_close?: string | null

The closing price from the previous trading day

price_to_earnings?: string | null

The price-to-earnings (P/E) ratio for the trailing twelve months (TTM)

reporting_currency?: string | null

The currency used for reporting financial data

sector?: string | null

The business sector of the instrument’s issuer

InstrumentDataGetInstrumentBalanceSheetStatementsResponse extends BaseResponse { metadata, error } { data }
data: InstrumentBalanceSheetStatementList { accepted_date, filing_date, period, 55 more }
accepted_date: string

The date and time when the filing was accepted by the SEC

formatdate-time
filing_date: string

The date the financial statement was filed

formatdate
period: string

The fiscal period identifier (e.g., “Q1”, “Q2”, “Q3”, “Q4”)

period_type: FiscalPeriodType

The type of fiscal period

One of the following:
"QUARTERLY"
"ANNUAL"
"TTM"
"BIANNUAL"
reported_currency: string

The currency in which the statement is reported (ISO 4217)

year: number

The fiscal year of the statement

formatint32
account_payables?: string | null

Account payables

accounts_receivables?: string | null

Accounts receivables

accrued_expenses?: string | null

Accrued expenses

accumulated_other_comprehensive_income_loss?: string | null

Accumulated other comprehensive income/loss

additional_paid_in_capital?: string | null

Additional paid-in capital

capital_lease_obligations?: string | null

Capital lease obligations (total)

capital_lease_obligations_current?: string | null

Capital lease obligations (current portion)

cash_and_cash_equivalents?: string | null

Cash and cash equivalents

cash_and_short_term_investments?: string | null

Cash and short-term investments combined

common_stock?: string | null

Common stock

deferred_revenue?: string | null

Deferred revenue

deferred_revenue_non_current?: string | null

Deferred revenue (non-current)

deferred_tax_liabilities_non_current?: string | null

Deferred tax liabilities (non-current)

goodwill?: string | null

Goodwill

goodwill_and_intangible_assets?: string | null

Goodwill and intangible assets combined

intangible_assets?: string | null

Intangible assets

inventory?: string | null

Inventory

long_term_debt?: string | null

Long-term debt

long_term_investments?: string | null

Long-term investments

minority_interest?: string | null

Minority interest

net_debt?: string | null

Net debt (total debt minus cash)

net_receivables?: string | null

Net receivables

other_assets?: string | null

Other assets

other_current_assets?: string | null

Other current assets

other_current_liabilities?: string | null

Other current liabilities

other_liabilities?: string | null

Other liabilities

other_non_current_assets?: string | null

Other non-current assets

other_non_current_liabilities?: string | null

Other non-current liabilities

other_payables?: string | null

Other payables

other_receivables?: string | null

Other receivables

other_total_stockholders_equity?: string | null

Other total stockholders equity

preferred_stock?: string | null

Preferred stock

prepaids?: string | null

Prepaids

property_plant_and_equipment_net?: string | null

Property, plant and equipment net of depreciation

retained_earnings?: string | null

Retained earnings

short_term_debt?: string | null

Short-term debt

short_term_investments?: string | null

Short-term investments

tax_assets?: string | null

Tax assets

tax_payables?: string | null

Tax payables

total_assets?: string | null

Total assets

total_current_assets?: string | null

Total current assets

total_current_liabilities?: string | null

Total current liabilities

total_debt?: string | null

Total debt

total_equity?: string | null

Total equity

total_investments?: string | null

Total investments

total_liabilities?: string | null

Total liabilities

total_liabilities_and_total_equity?: string | null

Total liabilities and total equity

total_non_current_assets?: string | null

Total non-current assets

total_non_current_liabilities?: string | null

Total non-current liabilities

total_payables?: string | null

Total payables

total_stockholders_equity?: string | null

Total stockholders equity

treasury_stock?: string | null

Treasury stock

InstrumentDataGetInstrumentIncomeStatementsResponse extends BaseResponse { metadata, error } { data }
data: InstrumentIncomeStatementList { accepted_date, filing_date, period, 34 more }
accepted_date: string

The date and time when the filing was accepted by the SEC

formatdate-time
filing_date: string

The date the financial statement was filed

formatdate
period: string

The fiscal period identifier (e.g., “Q1”, “Q2”, “Q3”, “Q4”)

period_type: FiscalPeriodType

The type of fiscal period

One of the following:
"QUARTERLY"
"ANNUAL"
"TTM"
"BIANNUAL"
reported_currency: string

The currency in which the statement is reported (ISO 4217)

year: number

The fiscal year of the statement

formatint32
bottom_line_net_income?: string | null

Bottom line net income after all adjustments

cost_and_expenses?: string | null

Total costs and expenses

cost_of_revenue?: string | null

Direct costs attributable to producing goods sold

depreciation_and_amortization?: string | null

Depreciation and amortization expenses

ebit?: string | null

Earnings before interest and taxes

ebitda?: string | null

Earnings before interest, taxes, depreciation, and amortization

eps?: string | null

Basic earnings per share

eps_diluted?: string | null

Diluted earnings per share

general_and_administrative_expenses?: string | null

General administrative overhead expenses

gross_profit?: string | null

Revenue minus cost of revenue

income_before_tax?: string | null

Income before income tax expense

income_tax_expense?: string | null

Income tax expense for the period

interest_expense?: string | null

Interest paid on debt

interest_income?: string | null

Interest earned on investments and cash

net_income?: string | null

Total net income for the period

net_income_deductions?: string | null

Deductions from net income

net_income_from_continuing_operations?: string | null

Net income from continuing operations

net_income_from_discontinued_operations?: string | null

Net income from discontinued operations

net_interest_income?: string | null

Net interest income (interest income minus interest expense)

non_operating_income_excluding_interest?: string | null

Non-operating income excluding interest

operating_expenses?: string | null

Total operating expenses

operating_income?: string | null

Income from core business operations

other_adjustments_to_net_income?: string | null

Other adjustments to net income

other_expenses?: string | null

Other miscellaneous expenses

research_and_development_expenses?: string | null

Expenditure on research and development activities

revenue?: string | null

Total revenue from sales of goods and services

selling_and_marketing_expenses?: string | null

Expenditure on marketing and sales activities

selling_general_and_administrative_expenses?: string | null

Combined selling, general, and administrative expenses

total_other_income_expenses_net?: string | null

Net of other income and expenses

weighted_average_shs_out?: string | null

Weighted average shares outstanding (basic)

weighted_average_shs_out_dil?: string | null

Weighted average shares outstanding (diluted)

InstrumentDataGetInstrumentAnalystConsensusResponse extends BaseResponse { metadata, error } { data }
data: InstrumentAnalystConsensus { date, distribution, price_target, rating }

Aggregated analyst consensus metrics

date: string

The date the consensus snapshot was generated

formatdate
distribution?: AnalystDistribution { buy, hold, sell, 2 more } | null

Count of individual analyst recommendations by category

buy: number

Number of buy recommendations

formatint64
hold: number

Number of hold recommendations

formatint64
sell: number

Number of sell recommendations

formatint64
strong_buy: number

Number of strong buy recommendations

formatint64
strong_sell: number

Number of strong sell recommendations

formatint64
price_target?: PriceTarget { average, currency, high, low } | null

Aggregated analyst price target statistics

average: string

Average analyst price target

currency: string

ISO 4217 currency code of the price targets

high: string

Highest analyst price target

low: string

Lowest analyst price target

rating?: AnalystRating | null

Consensus analyst rating

One of the following:
"STRONG_BUY"
"BUY"
"HOLD"
"SELL"
"STRONG_SELL"
InstrumentDataGetInstrumentCashFlowStatementsResponse extends BaseResponse { metadata, error } { data }
data: InstrumentCashFlowStatementList { accepted_date, filing_date, period, 42 more }
accepted_date: string

The date and time when the filing was accepted by the SEC

formatdate-time
filing_date: string

The date the financial statement was filed

formatdate
period: string

The fiscal period identifier (e.g., “Q1”, “Q2”, “Q3”, “Q4”)

period_type: FiscalPeriodType

The type of fiscal period

One of the following:
"QUARTERLY"
"ANNUAL"
"TTM"
"BIANNUAL"
reported_currency: string

The currency in which the statement is reported (ISO 4217)

year: number

The fiscal year of the statement

formatint32
accounts_payables?: string | null

Change in accounts payables

accounts_receivables?: string | null

Change in accounts receivables

acquisitions_net?: string | null

Net acquisitions

capital_expenditure?: string | null

Capital expenditure

cash_at_beginning_of_period?: string | null

Cash and cash equivalents at beginning of period

cash_at_end_of_period?: string | null

Cash and cash equivalents at end of period

change_in_working_capital?: string | null

Change in working capital

common_dividends_paid?: string | null

Common dividends paid

common_stock_issuance?: string | null

Common stock issuance

common_stock_repurchased?: string | null

Common stock repurchased (buybacks)

deferred_income_tax?: string | null

Deferred income tax expense

depreciation_and_amortization?: string | null

Depreciation and amortization expense

effect_of_forex_changes_on_cash?: string | null

Effect of foreign exchange changes on cash

free_cash_flow?: string | null

Free cash flow (operating cash flow minus capital expenditure)

income_taxes_paid?: string | null

Income taxes paid

interest_paid?: string | null

Interest paid

inventory?: string | null

Change in inventory

investments_in_property_plant_and_equipment?: string | null

Investments in property, plant, and equipment

long_term_net_debt_issuance?: string | null

Long-term net debt issuance

net_cash_provided_by_financing_activities?: string | null

Net cash provided by financing activities

net_cash_provided_by_investing_activities?: string | null

Net cash provided by investing activities

net_cash_provided_by_operating_activities?: string | null

Net cash provided by operating activities

net_change_in_cash?: string | null

Net change in cash during the period

net_common_stock_issuance?: string | null

Net common stock issuance

net_debt_issuance?: string | null

Net debt issuance (long-term + short-term)

net_dividends_paid?: string | null

Net dividends paid (common + preferred)

net_income?: string | null

Net income for the period

net_preferred_stock_issuance?: string | null

Net preferred stock issuance

net_stock_issuance?: string | null

Net stock issuance (common + preferred)

operating_cash_flow?: string | null

Operating cash flow (alternative calculation)

other_financing_activities?: string | null

Other financing activities

other_investing_activities?: string | null

Other investing activities

other_non_cash_items?: string | null

Other non-cash items

other_working_capital?: string | null

Change in other working capital

preferred_dividends_paid?: string | null

Preferred dividends paid

purchases_of_investments?: string | null

Purchases of investments

sales_maturities_of_investments?: string | null

Sales and maturities of investments

short_term_net_debt_issuance?: string | null

Short-term net debt issuance

stock_based_compensation?: string | null

Stock-based compensation expense

V1Instrument DataMarket Data

Retrieve instrument analytics, market data, news, and related reference data.

Get Snapshots
client.v1.instrumentData.marketData.getSnapshots(MarketDataGetSnapshotsParams { instrument_ids } query?, RequestOptionsoptions?): MarketDataGetSnapshotsResponse { data }
GET/v1/market-data/snapshot
Get Daily Aggregate Summaries
client.v1.instrumentData.marketData.getDailySummaries(MarketDataGetDailySummariesParams { instrument_ids } query, RequestOptionsoptions?): MarketDataGetDailySummariesResponse { data }
GET/v1/market-data/daily-summary
ModelsExpand Collapse
DailySummary { instrument_id, high, low, 4 more }

Daily aggregate (OHLV) summary for a single instrument.

Returned by GET /market-data/daily-summary. Every field except instrument_id is Option:

  • Unresolvable instrument_id → all other fields None (including symbol).
  • Resolvable instrument_id with no realtime cache entry → symbol populated, OHLV/trade_date None.
  • trade_date reflects the session the OHLV represents (today during trading hours, the last trading date during weekends/holidays).
instrument_id: string

OEMS instrument identifier. Always populated; echoes the request ID.

formatuuid
high?: string | null

Session high.

low?: string | null

Session low.

open?: string | null

Opening price for the session.

symbol?: string | null

Display symbol for the security. None for unresolvable IDs.

trade_date?: string | null

Session date the OHLV represents, US/Eastern.

formatdate
volume?: number | null

Session cumulative trading volume.

formatint64
DailySummaryList = Array<DailySummary { instrument_id, high, low, 4 more } >
instrument_id: string

OEMS instrument identifier. Always populated; echoes the request ID.

formatuuid
high?: string | null

Session high.

low?: string | null

Session low.

open?: string | null

Opening price for the session.

symbol?: string | null

Display symbol for the security. None for unresolvable IDs.

trade_date?: string | null

Session date the OHLV represents, US/Eastern.

formatdate
volume?: number | null

Session cumulative trading volume.

formatint64
MarketDataSnapshot { instrument_id, symbol, cumulative_volume, 4 more }

Market data snapshot for a single security.

instrument_id: string

OEMS instrument identifier.

symbol: string

Display symbol for the security.

cumulative_volume?: number | null

Cumulative traded volume reported on the most recent trade, in shares for equities or contracts for options. Absent when no trade is available.

formatint64
minimum0
last_quote?: SnapshotQuote { ask, bid, midpoint, 2 more } | null

Most recent quote if available.

ask: string

Current best ask.

bid: string

Current best bid.

midpoint: string

Midpoint of bid and ask.

ask_size?: number | null

Size at the best ask, in shares.

formatint32
minimum0
bid_size?: number | null

Size at the best bid, in shares.

formatint32
minimum0
last_trade?: SnapshotLastTrade { price } | null

Most recent last-sale trade if available.

price: string

Most recent last-sale eligible trade price.

name?: string | null

Security name if available.

session?: SnapshotSession { change, change_percent, previous_close } | null

Session metrics computed from previous close and last trade, if available.

change: string

Absolute change from previous close to last trade.

change_percent: string

Percent change from previous close to last trade.

previous_close: string

Previous session close price.

MarketDataSnapshotList = Array<MarketDataSnapshot { instrument_id, symbol, cumulative_volume, 4 more } >
instrument_id: string

OEMS instrument identifier.

symbol: string

Display symbol for the security.

cumulative_volume?: number | null

Cumulative traded volume reported on the most recent trade, in shares for equities or contracts for options. Absent when no trade is available.

formatint64
minimum0
last_quote?: SnapshotQuote { ask, bid, midpoint, 2 more } | null

Most recent quote if available.

ask: string

Current best ask.

bid: string

Current best bid.

midpoint: string

Midpoint of bid and ask.

ask_size?: number | null

Size at the best ask, in shares.

formatint32
minimum0
bid_size?: number | null

Size at the best bid, in shares.

formatint32
minimum0
last_trade?: SnapshotLastTrade { price } | null

Most recent last-sale trade if available.

price: string

Most recent last-sale eligible trade price.

name?: string | null

Security name if available.

session?: SnapshotSession { change, change_percent, previous_close } | null

Session metrics computed from previous close and last trade, if available.

change: string

Absolute change from previous close to last trade.

change_percent: string

Percent change from previous close to last trade.

previous_close: string

Previous session close price.

SnapshotLastTrade { price }

Last-trade fields for a market data snapshot.

price: string

Most recent last-sale eligible trade price.

SnapshotQuote { ask, bid, midpoint, 2 more }

L1 quote fields for a market data snapshot.

ask: string

Current best ask.

bid: string

Current best bid.

midpoint: string

Midpoint of bid and ask.

ask_size?: number | null

Size at the best ask, in shares.

formatint32
minimum0
bid_size?: number | null

Size at the best bid, in shares.

formatint32
minimum0
SnapshotSession { change, change_percent, previous_close }

Session-level pricing metrics for a market data snapshot.

change: string

Absolute change from previous close to last trade.

change_percent: string

Percent change from previous close to last trade.

previous_close: string

Previous session close price.

MarketDataGetSnapshotsResponse extends BaseResponse { metadata, error } { data }
data: MarketDataSnapshotList { instrument_id, symbol, cumulative_volume, 4 more }
instrument_id: string

OEMS instrument identifier.

symbol: string

Display symbol for the security.

cumulative_volume?: number | null

Cumulative traded volume reported on the most recent trade, in shares for equities or contracts for options. Absent when no trade is available.

formatint64
minimum0
last_quote?: SnapshotQuote { ask, bid, midpoint, 2 more } | null

Most recent quote if available.

ask: string

Current best ask.

bid: string

Current best bid.

midpoint: string

Midpoint of bid and ask.

ask_size?: number | null

Size at the best ask, in shares.

formatint32
minimum0
bid_size?: number | null

Size at the best bid, in shares.

formatint32
minimum0
last_trade?: SnapshotLastTrade { price } | null

Most recent last-sale trade if available.

price: string

Most recent last-sale eligible trade price.

name?: string | null

Security name if available.

session?: SnapshotSession { change, change_percent, previous_close } | null

Session metrics computed from previous close and last trade, if available.

change: string

Absolute change from previous close to last trade.

change_percent: string

Percent change from previous close to last trade.

previous_close: string

Previous session close price.

MarketDataGetDailySummariesResponse extends BaseResponse { metadata, error } { data }
data: DailySummaryList { instrument_id, high, low, 4 more }
instrument_id: string

OEMS instrument identifier. Always populated; echoes the request ID.

formatuuid
high?: string | null

Session high.

low?: string | null

Session low.

open?: string | null

Opening price for the session.

symbol?: string | null

Display symbol for the security. None for unresolvable IDs.

trade_date?: string | null

Session date the OHLV represents, US/Eastern.

formatdate
volume?: number | null

Session cumulative trading volume.

formatint64

V1Instrument DataNews

Retrieve instrument analytics, market data, news, and related reference data.

Get News
client.v1.instrumentData.news.getNews(NewsGetNewsParams { exclude_publishers, from, include_publishers, 7 more } query?, RequestOptionsoptions?): NewsGetNewsResponse { data }
GET/v1/news
ModelsExpand Collapse
NewsInstrument { instrument_id, name, symbol }

Instrument associated with a news item.

instrument_id: string

OEMS instrument UUID.

formatuuid
name?: string | null

Instrument name/description, if available from instrument cache enrichment.

symbol?: string | null

Trading symbol, if available from instrument cache enrichment.

NewsItem { instruments, news_type, published_at, 6 more }

A single news item and its associated instruments.

instruments: Array<NewsInstrument { instrument_id, name, symbol } >

Instruments associated with this news item.

instrument_id: string

OEMS instrument UUID.

formatuuid
name?: string | null

Instrument name/description, if available from instrument cache enrichment.

symbol?: string | null

Trading symbol, if available from instrument cache enrichment.

news_type: NewsType

Classification of the item.

One of the following:
"NEWS"
"PRESS_RELEASE"
published_at: string

The published date/time of the article in UTC.

formatdate-time
publisher: string

The publisher or newswire source.

title: string

The headline/title of the article.

url: string

Canonical URL to the full article.

image_url?: string | null

URL of an associated image if provided by the source.

site?: string | null

The primary domain/site of the publisher.

text?: string | null

The full or excerpted article body.

NewsItemList = Array<NewsItem { instruments, news_type, published_at, 6 more } >
instruments: Array<NewsInstrument { instrument_id, name, symbol } >

Instruments associated with this news item.

instrument_id: string

OEMS instrument UUID.

formatuuid
name?: string | null

Instrument name/description, if available from instrument cache enrichment.

symbol?: string | null

Trading symbol, if available from instrument cache enrichment.

news_type: NewsType

Classification of the item.

One of the following:
"NEWS"
"PRESS_RELEASE"
published_at: string

The published date/time of the article in UTC.

formatdate-time
publisher: string

The publisher or newswire source.

title: string

The headline/title of the article.

url: string

Canonical URL to the full article.

image_url?: string | null

URL of an associated image if provided by the source.

site?: string | null

The primary domain/site of the publisher.

text?: string | null

The full or excerpted article body.

NewsType = "NEWS" | "PRESS_RELEASE"

News item classification.

One of the following:
"NEWS"
"PRESS_RELEASE"
NewsGetNewsResponse extends BaseResponse { metadata, error } { data }
data: NewsItemList { instruments, news_type, published_at, 6 more }
instruments: Array<NewsInstrument { instrument_id, name, symbol } >

Instruments associated with this news item.

instrument_id: string

OEMS instrument UUID.

formatuuid
name?: string | null

Instrument name/description, if available from instrument cache enrichment.

symbol?: string | null

Trading symbol, if available from instrument cache enrichment.

news_type: NewsType

Classification of the item.

One of the following:
"NEWS"
"PRESS_RELEASE"
published_at: string

The published date/time of the article in UTC.

formatdate-time
publisher: string

The publisher or newswire source.

title: string

The headline/title of the article.

url: string

Canonical URL to the full article.

image_url?: string | null

URL of an associated image if provided by the source.

site?: string | null

The primary domain/site of the publisher.

text?: string | null

The full or excerpted article body.

V1Instruments

Retrieve core details and discovery endpoints for tradable instruments.

Get Instruments
client.v1.instruments.getInstruments(InstrumentGetInstrumentsParams { easy_to_borrow, instrument_ids, instrument_type, 7 more } query?, RequestOptionsoptions?): InstrumentGetInstrumentsResponse { data }
GET/v1/instruments
Get Instrument By ID
client.v1.instruments.getInstrumentByID(InstrumentIDOrSymbolinstrumentID, InstrumentGetInstrumentByIDParams { include_options_expiry_dates } query?, RequestOptionsoptions?): InstrumentGetInstrumentByIDResponse { data }
GET/v1/instruments/{instrument_id}
Search Instruments
client.v1.instruments.searchInstruments(InstrumentSearchInstrumentsParams { q, asset_class, country, 5 more } query, RequestOptionsoptions?): InstrumentSearchInstrumentsResponse { data }
GET/v1/instruments/search
Get Option Contracts
client.v1.instruments.getOptionContracts(InstrumentGetOptionContractsParams { contract_type, expiry, page_size, 3 more } query?, RequestOptionsoptions?): InstrumentGetOptionContractsResponse { data }
GET/v1/instruments/options/contracts
ModelsExpand Collapse
ContractType = "CALL" | "PUT"

The type of options contract

One of the following:
"CALL"
"PUT"
ExerciseStyle = "AMERICAN" | "EUROPEAN"

The exercise style of an options contract

One of the following:
"AMERICAN"
"EUROPEAN"
Instrument { id, country_of_issue, currency, 19 more }

Represents a tradable financial instrument.

id: string

Unique OEMS instrument identifier (UUID)

formatuuid
country_of_issue: string

The ISO country code of the instrument’s issue

currency: string

The ISO currency code in which the instrument is traded

easy_to_borrow: boolean

Indicates if the instrument is classified as Easy-To-Borrow

is_liquidation_only: boolean

Indicates if the instrument is liquidation only and cannot be bought

is_marginable: boolean

Indicates if the instrument is marginable

is_restricted: boolean

Indicates if the instrument is restricted from trading

is_short_prohibited: boolean

Indicates if short selling is prohibited for the instrument

is_threshold_security: boolean

Indicates if the instrument is on the Regulation SHO Threshold Security List

is_tradable: boolean

Indicates if the instrument is tradable

symbol: string

The trading symbol for the instrument

venue: string

The MIC code of the primary listing venue

adv?: string | null

Average daily share volume from the security definition.

expiry?: string | null

The expiration date for options instruments

formatdate
instrument_type?: SecurityType | null

The type of security (e.g., Common Stock, ETF)

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
long_margin_rate?: string | null

The percent of a long position’s value you must post as margin

name?: string | null

The full name of the instrument or its issuer

notional_adv?: string | null

Notional ADV (adv × previous_close). The primary liquidity signal used by /instruments/search ranking. Computed at response time so it stays consistent with whatever adv and previous_close show.

options_expiry_dates?: Array<string> | null

Available options expiration dates for this instrument. Present only when include_options_expiry_dates=true in the request.

previous_close?: string | null

Last close price from the security definition.

short_margin_rate?: string | null

The percent of a short position’s value you must post as margin

strike_price?: string | null

The strike price for options instruments

InstrumentCore { id, country_of_issue, currency, 18 more }
id: string

Unique OEMS instrument identifier (UUID)

formatuuid
country_of_issue: string

The ISO country code of the instrument’s issue

currency: string

The ISO currency code in which the instrument is traded

easy_to_borrow: boolean

Indicates if the instrument is classified as Easy-To-Borrow

is_liquidation_only: boolean

Indicates if the instrument is liquidation only and cannot be bought

is_marginable: boolean

Indicates if the instrument is marginable

is_restricted: boolean

Indicates if the instrument is restricted from trading

is_short_prohibited: boolean

Indicates if short selling is prohibited for the instrument

is_threshold_security: boolean

Indicates if the instrument is on the Regulation SHO Threshold Security List

is_tradable: boolean

Indicates if the instrument is tradable

symbol: string

The trading symbol for the instrument

venue: string

The MIC code of the primary listing venue

adv?: string | null

Average daily share volume from the security definition.

expiry?: string | null

The expiration date for options instruments

formatdate
instrument_type?: SecurityType | null

The type of security (e.g., Common Stock, ETF)

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
long_margin_rate?: string | null

The percent of a long position’s value you must post as margin

name?: string | null

The full name of the instrument or its issuer

notional_adv?: string | null

Notional ADV (adv × previous_close). The primary liquidity signal used by /instruments/search ranking. Computed at response time so it stays consistent with whatever adv and previous_close show.

previous_close?: string | null

Last close price from the security definition.

short_margin_rate?: string | null

The percent of a short position’s value you must post as margin

strike_price?: string | null

The strike price for options instruments

InstrumentCoreList = Array<InstrumentCore { id, country_of_issue, currency, 18 more } >
id: string

Unique OEMS instrument identifier (UUID)

formatuuid
country_of_issue: string

The ISO country code of the instrument’s issue

currency: string

The ISO currency code in which the instrument is traded

easy_to_borrow: boolean

Indicates if the instrument is classified as Easy-To-Borrow

is_liquidation_only: boolean

Indicates if the instrument is liquidation only and cannot be bought

is_marginable: boolean

Indicates if the instrument is marginable

is_restricted: boolean

Indicates if the instrument is restricted from trading

is_short_prohibited: boolean

Indicates if short selling is prohibited for the instrument

is_threshold_security: boolean

Indicates if the instrument is on the Regulation SHO Threshold Security List

is_tradable: boolean

Indicates if the instrument is tradable

symbol: string

The trading symbol for the instrument

venue: string

The MIC code of the primary listing venue

adv?: string | null

Average daily share volume from the security definition.

expiry?: string | null

The expiration date for options instruments

formatdate
instrument_type?: SecurityType | null

The type of security (e.g., Common Stock, ETF)

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
long_margin_rate?: string | null

The percent of a long position’s value you must post as margin

name?: string | null

The full name of the instrument or its issuer

notional_adv?: string | null

Notional ADV (adv × previous_close). The primary liquidity signal used by /instruments/search ranking. Computed at response time so it stays consistent with whatever adv and previous_close show.

previous_close?: string | null

Last close price from the security definition.

short_margin_rate?: string | null

The percent of a short position’s value you must post as margin

strike_price?: string | null

The strike price for options instruments

ListingType = "STANDARD" | "FLEX" | "OTC"

The listing type of an options contract

One of the following:
"STANDARD"
"FLEX"
"OTC"
OptionsContract { id, contract_type, currency, 12 more }

An options contract with options-specific metadata

id: string

OEMS instrument identifier

formatuuid
contract_type: ContractType

Whether this is a CALL or PUT

One of the following:
"CALL"
"PUT"
currency: string

ISO currency code

exchange: string

MIC code of the primary listing venue

exercise_style: ExerciseStyle

Exercise style

One of the following:
"AMERICAN"
"EUROPEAN"
expiry: string

Expiration date

formatdate
is_liquidation_only: boolean

Whether the contract is liquidation-only

is_marginable: boolean

Whether the contract is marginable

is_restricted: boolean

Whether the contract is restricted from trading

listing_type: ListingType

Listing type

One of the following:
"STANDARD"
"FLEX"
"OTC"
multiplier: string

Contract multiplier (100 for standard options)

strike_price: string

Strike price

symbol: string

OSI symbol (e.g. “AAPL 251219C00150000”)

open_interest?: number | null

Open interest (number of outstanding contracts), if available

formatint64
underlying_instrument_id?: string | null

OEMS instrument ID of the underlying instrument, if resolvable

formatuuid
OptionsContractList = Array<OptionsContract { id, contract_type, currency, 12 more } >
id: string

OEMS instrument identifier

formatuuid
contract_type: ContractType

Whether this is a CALL or PUT

One of the following:
"CALL"
"PUT"
currency: string

ISO currency code

exchange: string

MIC code of the primary listing venue

exercise_style: ExerciseStyle

Exercise style

One of the following:
"AMERICAN"
"EUROPEAN"
expiry: string

Expiration date

formatdate
is_liquidation_only: boolean

Whether the contract is liquidation-only

is_marginable: boolean

Whether the contract is marginable

is_restricted: boolean

Whether the contract is restricted from trading

listing_type: ListingType

Listing type

One of the following:
"STANDARD"
"FLEX"
"OTC"
multiplier: string

Contract multiplier (100 for standard options)

strike_price: string

Strike price

symbol: string

OSI symbol (e.g. “AAPL 251219C00150000”)

open_interest?: number | null

Open interest (number of outstanding contracts), if available

formatint64
underlying_instrument_id?: string | null

OEMS instrument ID of the underlying instrument, if resolvable

formatuuid
InstrumentGetInstrumentsResponse extends BaseResponse { metadata, error } { data }
data: InstrumentCoreList { id, country_of_issue, currency, 18 more }
id: string

Unique OEMS instrument identifier (UUID)

formatuuid
country_of_issue: string

The ISO country code of the instrument’s issue

currency: string

The ISO currency code in which the instrument is traded

easy_to_borrow: boolean

Indicates if the instrument is classified as Easy-To-Borrow

is_liquidation_only: boolean

Indicates if the instrument is liquidation only and cannot be bought

is_marginable: boolean

Indicates if the instrument is marginable

is_restricted: boolean

Indicates if the instrument is restricted from trading

is_short_prohibited: boolean

Indicates if short selling is prohibited for the instrument

is_threshold_security: boolean

Indicates if the instrument is on the Regulation SHO Threshold Security List

is_tradable: boolean

Indicates if the instrument is tradable

symbol: string

The trading symbol for the instrument

venue: string

The MIC code of the primary listing venue

adv?: string | null

Average daily share volume from the security definition.

expiry?: string | null

The expiration date for options instruments

formatdate
instrument_type?: SecurityType | null

The type of security (e.g., Common Stock, ETF)

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
long_margin_rate?: string | null

The percent of a long position’s value you must post as margin

name?: string | null

The full name of the instrument or its issuer

notional_adv?: string | null

Notional ADV (adv × previous_close). The primary liquidity signal used by /instruments/search ranking. Computed at response time so it stays consistent with whatever adv and previous_close show.

previous_close?: string | null

Last close price from the security definition.

short_margin_rate?: string | null

The percent of a short position’s value you must post as margin

strike_price?: string | null

The strike price for options instruments

InstrumentGetInstrumentByIDResponse extends BaseResponse { metadata, error } { data }
data: Instrument { id, country_of_issue, currency, 19 more }

Represents a tradable financial instrument.

id: string

Unique OEMS instrument identifier (UUID)

formatuuid
country_of_issue: string

The ISO country code of the instrument’s issue

currency: string

The ISO currency code in which the instrument is traded

easy_to_borrow: boolean

Indicates if the instrument is classified as Easy-To-Borrow

is_liquidation_only: boolean

Indicates if the instrument is liquidation only and cannot be bought

is_marginable: boolean

Indicates if the instrument is marginable

is_restricted: boolean

Indicates if the instrument is restricted from trading

is_short_prohibited: boolean

Indicates if short selling is prohibited for the instrument

is_threshold_security: boolean

Indicates if the instrument is on the Regulation SHO Threshold Security List

is_tradable: boolean

Indicates if the instrument is tradable

symbol: string

The trading symbol for the instrument

venue: string

The MIC code of the primary listing venue

adv?: string | null

Average daily share volume from the security definition.

expiry?: string | null

The expiration date for options instruments

formatdate
instrument_type?: SecurityType | null

The type of security (e.g., Common Stock, ETF)

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
long_margin_rate?: string | null

The percent of a long position’s value you must post as margin

name?: string | null

The full name of the instrument or its issuer

notional_adv?: string | null

Notional ADV (adv × previous_close). The primary liquidity signal used by /instruments/search ranking. Computed at response time so it stays consistent with whatever adv and previous_close show.

options_expiry_dates?: Array<string> | null

Available options expiration dates for this instrument. Present only when include_options_expiry_dates=true in the request.

previous_close?: string | null

Last close price from the security definition.

short_margin_rate?: string | null

The percent of a short position’s value you must post as margin

strike_price?: string | null

The strike price for options instruments

InstrumentSearchInstrumentsResponse extends BaseResponse { metadata, error } { data }
data: InstrumentCoreList { id, country_of_issue, currency, 18 more }
id: string

Unique OEMS instrument identifier (UUID)

formatuuid
country_of_issue: string

The ISO country code of the instrument’s issue

currency: string

The ISO currency code in which the instrument is traded

easy_to_borrow: boolean

Indicates if the instrument is classified as Easy-To-Borrow

is_liquidation_only: boolean

Indicates if the instrument is liquidation only and cannot be bought

is_marginable: boolean

Indicates if the instrument is marginable

is_restricted: boolean

Indicates if the instrument is restricted from trading

is_short_prohibited: boolean

Indicates if short selling is prohibited for the instrument

is_threshold_security: boolean

Indicates if the instrument is on the Regulation SHO Threshold Security List

is_tradable: boolean

Indicates if the instrument is tradable

symbol: string

The trading symbol for the instrument

venue: string

The MIC code of the primary listing venue

adv?: string | null

Average daily share volume from the security definition.

expiry?: string | null

The expiration date for options instruments

formatdate
instrument_type?: SecurityType | null

The type of security (e.g., Common Stock, ETF)

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
long_margin_rate?: string | null

The percent of a long position’s value you must post as margin

name?: string | null

The full name of the instrument or its issuer

notional_adv?: string | null

Notional ADV (adv × previous_close). The primary liquidity signal used by /instruments/search ranking. Computed at response time so it stays consistent with whatever adv and previous_close show.

previous_close?: string | null

Last close price from the security definition.

short_margin_rate?: string | null

The percent of a short position’s value you must post as margin

strike_price?: string | null

The strike price for options instruments

InstrumentGetOptionContractsResponse extends BaseResponse { metadata, error } { data }
data: OptionsContractList { id, contract_type, currency, 12 more }
id: string

OEMS instrument identifier

formatuuid
contract_type: ContractType

Whether this is a CALL or PUT

One of the following:
"CALL"
"PUT"
currency: string

ISO currency code

exchange: string

MIC code of the primary listing venue

exercise_style: ExerciseStyle

Exercise style

One of the following:
"AMERICAN"
"EUROPEAN"
expiry: string

Expiration date

formatdate
is_liquidation_only: boolean

Whether the contract is liquidation-only

is_marginable: boolean

Whether the contract is marginable

is_restricted: boolean

Whether the contract is restricted from trading

listing_type: ListingType

Listing type

One of the following:
"STANDARD"
"FLEX"
"OTC"
multiplier: string

Contract multiplier (100 for standard options)

strike_price: string

Strike price

symbol: string

OSI symbol (e.g. “AAPL 251219C00150000”)

open_interest?: number | null

Open interest (number of outstanding contracts), if available

formatint64
underlying_instrument_id?: string | null

OEMS instrument ID of the underlying instrument, if resolvable

formatuuid

V1Omni AI

ModelsExpand Collapse
ActionButton { buttonId, label, prompt, structuredAction }

Button metadata shared by chart and suggested-actions payloads.

buttonId: string

Stable button identifier within the content part.

label: string

User-visible label.

prompt?: PromptButtonAction { prompt } | null

Follow-up prompt to submit as the next user message.

prompt: string

Prompt text to submit as the next user turn.

structuredAction?: StructuredActionButtonAction { actionId } | null

Structured action in the same message to execute on click.

actionId?: string | null

UUID of a structured_action content part in the same message.

formatuuid
ChartPayload { chartId, actionButtons, dataChart, symbolChart }

Typed chart payload rendered inline in assistant content.

chartId: string

Stable chart identifier scoped to the content part.

actionButtons?: Array<ActionButton { buttonId, label, prompt, structuredAction } >

Buttons associated with this chart.

buttonId: string

Stable button identifier within the content part.

label: string

User-visible label.

prompt?: PromptButtonAction { prompt } | null

Follow-up prompt to submit as the next user message.

prompt: string

Prompt text to submit as the next user turn.

structuredAction?: StructuredActionButtonAction { actionId } | null

Structured action in the same message to execute on click.

actionId?: string | null

UUID of a structured_action content part in the same message.

formatuuid
dataChart?: DataChart { series } | null

Explicit series-driven chart definition.

series?: Array<ChartSeries { name, points } >
name: string
points?: Array<ChartPoint { x, y } >
x: string
y: number
symbolChart?: SymbolChart { symbol, timeframe } | null

Symbol-driven chart definition.

symbol: string
timeframe?: string | null
ChartPoint { x, y }

Single chart coordinate.

x: string
y: number
ChartSeries { name, points }

Named data series within a chart.

name: string
points?: Array<ChartPoint { x, y } >
x: string
y: number
ContentPartChartPayload { payload }

Chart payload content part.

payload: ChartPayload { chartId, actionButtons, dataChart, symbolChart }

Typed chart payload rendered inline in assistant content.

chartId: string

Stable chart identifier scoped to the content part.

actionButtons?: Array<ActionButton { buttonId, label, prompt, structuredAction } >

Buttons associated with this chart.

buttonId: string

Stable button identifier within the content part.

label: string

User-visible label.

prompt?: PromptButtonAction { prompt } | null

Follow-up prompt to submit as the next user message.

prompt: string

Prompt text to submit as the next user turn.

structuredAction?: StructuredActionButtonAction { actionId } | null

Structured action in the same message to execute on click.

actionId?: string | null

UUID of a structured_action content part in the same message.

formatuuid
dataChart?: DataChart { series } | null

Explicit series-driven chart definition.

series?: Array<ChartSeries { name, points } >
name: string
points?: Array<ChartPoint { x, y } >
x: string
y: number
symbolChart?: SymbolChart { symbol, timeframe } | null

Symbol-driven chart definition.

symbol: string
timeframe?: string | null
ContentPartCustomPayload { payload }

Escape-hatch custom payload content part.

payload: unknown
ContentPartStructuredActionPayload { action, action_id }

Structured action content part.

Structured actions that Omni AI can return to clients.

These actions provide machine-readable instructions for the client to execute, such as prefilling an order ticket, opening a chart, or navigating to a route.

One of the following:
PrefillOrder { prefill_order }

Prefill an order ticket for user confirmation

prefill_order: PrefillOrderAction

Prefill an order ticket for user confirmation

One of the following:
PrefillNewOrderAction extends PrefillNewOrderAction { orders } { action_type }

Create one or more new orders.

action_type: "NEW"
PrefillCancelOrderAction extends PrefillCancelOrderAction { orders } { action_type }

Cancel one or more existing orders.

action_type: "CANCEL"
OpenChart { open_chart }

Open a chart for a symbol

open_chart: OpenChartAction { symbol, extras, timeframe }

Open a chart for a symbol

symbol: string

Trading symbol to chart

extras?: unknown

Additional chart configuration (indicators, overlays, etc.)

timeframe?: string | null

Chart timeframe (e.g., “1D”, “1W”, “1M”, “3M”, “1Y”, “5Y”)

OpenScreener { open_screener }

Open a stock screener with filters

open_screener: OpenScreenerAction { filters, field_filter, page_size, 2 more }

Open a stock screener with filters

filters: Array<ScreenerFilter { field, operator, value } >

Filter criteria for the screener

field: string

Field to filter on (e.g., “market_cap”, “sector”, “price”)

operator: string

Comparison operator (e.g., “eq”, “gte”, “lte”, “in”)

value: unknown

Filter value

field_filter?: Array<string> | null

Optional field/column selection for screener results.

page_size?: number | null

Optional page size.

formatint32
sort_by?: string | null

Optional sort field for screener rows.

sort_direction?: string | null

Optional sort direction (ASC or DESC).

OpenEntitlementConsent { open_entitlement_consent }

Open entitlement consent flow

Open entitlement consent flow

Stable entitlement agreement family key.

action_id: string
ContentPartSuggestedActionsPayload { payload }

Suggested actions payload content part.

payload: SuggestedActionsPayload { actionButtons }

Suggested follow-up buttons rendered at the end of an assistant message.

actionButtons?: Array<ActionButton { buttonId, label, prompt, structuredAction } >

Ordered message-level buttons.

buttonId: string

Stable button identifier within the content part.

label: string

User-visible label.

prompt?: PromptButtonAction { prompt } | null

Follow-up prompt to submit as the next user message.

prompt: string

Prompt text to submit as the next user turn.

structuredAction?: StructuredActionButtonAction { actionId } | null

Structured action in the same message to execute on click.

actionId?: string | null

UUID of a structured_action content part in the same message.

formatuuid
ContentPartTextPayload { text }

Text content part.

text: string
ContentPartThinkingPayload { thoughts }

Thinking content part shown on dynamic response polling.

thoughts: Array<string>
DataChart { series }

Chart represented by explicit data series.

series?: Array<ChartSeries { name, points } >
name: string
points?: Array<ChartPoint { x, y } >
x: string
y: number
OpenChartAction { symbol, extras, timeframe }

Action to open a chart for a symbol.

symbol: string

Trading symbol to chart

extras?: unknown

Additional chart configuration (indicators, overlays, etc.)

timeframe?: string | null

Chart timeframe (e.g., “1D”, “1W”, “1M”, “3M”, “1Y”, “5Y”)

Action to open entitlement consent flow for one or more accounts.

Stable entitlement agreement family key.

OpenScreenerAction { filters, field_filter, page_size, 2 more }

Action to open a stock screener with filters.

filters: Array<ScreenerFilter { field, operator, value } >

Filter criteria for the screener

field: string

Field to filter on (e.g., “market_cap”, “sector”, “price”)

operator: string

Comparison operator (e.g., “eq”, “gte”, “lte”, “in”)

value: unknown

Filter value

field_filter?: Array<string> | null

Optional field/column selection for screener results.

page_size?: number | null

Optional page size.

formatint32
sort_by?: string | null

Optional sort field for screener rows.

sort_direction?: string | null

Optional sort direction (ASC or DESC).

PrefillCancelOrderAction { orders }

Cancel-order prefill action.

orders: Array<CancelOrderRequest { account_id, order_id } >

Orders to cancel using the same identifiers required by the cancel-order API.

account_id: number

Account ID (from path parameter)

formatint64
order_id: string

Order ID to cancel (from path parameter)

PrefillNewOrderAction { orders }

New-order prefill action.

orders: Array<NewOrderRequest { instrument_type, order_type, quantity, 13 more } >

Orders to prefill using the same shape accepted by the orders API.

instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
order_type: RequestOrderType

Type of order

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
quantity: string

Quantity to trade. For COMMON_STOCK: shares (may be fractional if supported). For OPTION (single-leg): contracts (must be an integer)

side: Side

Side of the order

One of the following:
"BUY"
"SELL"
"SELL_SHORT"
"OTHER"
time_in_force: RequestTimeInForce

Time in force

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
id?: string | null

Optional client-provided unique ID (idempotency). Required to be unique per account.

maxLength64
expires_at?: string | null

The timestamp when the order should expire (UTC). Required when time_in_force is GOOD_TILL_DATE.

formatdate-time
extended_hours?: boolean | null

Allow trading outside regular trading hours. Some brokers disallow options outside RTH.

instrument_id?: InstrumentIDOrSymbol | null

OEMS instrument UUID

formatuuid
limit_offset?: string | null

Limit offset for trailing stop-limit orders (signed)

limit_price?: string | null

Limit price (required for LIMIT and STOP_LIMIT orders)

position_effect?: PositionEffect

Required when instrument_type is OPTION. Specifies whether the order opens or closes a position.

One of the following:
"OPEN"
"CLOSE"
stop_price?: string | null

Stop price (required for STOP and STOP_LIMIT orders)

symbol?: string | null

Trading symbol. For equities, use the ticker symbol (e.g., “AAPL”). For options, use the OSI symbol (e.g., “AAPL 250117C00190000”). Either symbol or instrument_id must be provided.

trailing_offset?: string | null

Trailing offset amount (required for trailing orders)

trailing_offset_type?: TrailingOffsetType | null

Trailing offset type (PRICE or PERCENT_BPS)

One of the following:
"PRICE"
"BPS"
PrefillOrderAction = PrefillNewOrderAction { action_type } | PrefillCancelOrderAction { action_type }

Action to prefill order details for user confirmation.

The user must review and authorize the order before submission to the trading API. This action provides parsed order data that can be used to prefill an order ticket UI or submitted directly via the orders API after user confirmation.

One of the following:
PrefillNewOrderAction extends PrefillNewOrderAction { orders } { action_type }

Create one or more new orders.

action_type: "NEW"
PrefillCancelOrderAction extends PrefillCancelOrderAction { orders } { action_type }

Cancel one or more existing orders.

action_type: "CANCEL"
PromptButtonAction { prompt }

Prompt-style button behavior.

prompt: string

Prompt text to submit as the next user turn.

ScreenerFilter { field, operator, value }

A single filter criterion for the screener.

field: string

Field to filter on (e.g., “market_cap”, “sector”, “price”)

operator: string

Comparison operator (e.g., “eq”, “gte”, “lte”, “in”)

value: unknown

Filter value

StructuredAction = PrefillOrder { prefill_order } | OpenChart { open_chart } | OpenScreener { open_screener } | OpenEntitlementConsent { open_entitlement_consent }

Structured actions that Omni AI can return to clients.

These actions provide machine-readable instructions for the client to execute, such as prefilling an order ticket, opening a chart, or navigating to a route.

One of the following:
PrefillOrder { prefill_order }

Prefill an order ticket for user confirmation

prefill_order: PrefillOrderAction

Prefill an order ticket for user confirmation

One of the following:
PrefillNewOrderAction extends PrefillNewOrderAction { orders } { action_type }

Create one or more new orders.

action_type: "NEW"
PrefillCancelOrderAction extends PrefillCancelOrderAction { orders } { action_type }

Cancel one or more existing orders.

action_type: "CANCEL"
OpenChart { open_chart }

Open a chart for a symbol

open_chart: OpenChartAction { symbol, extras, timeframe }

Open a chart for a symbol

symbol: string

Trading symbol to chart

extras?: unknown

Additional chart configuration (indicators, overlays, etc.)

timeframe?: string | null

Chart timeframe (e.g., “1D”, “1W”, “1M”, “3M”, “1Y”, “5Y”)

OpenScreener { open_screener }

Open a stock screener with filters

open_screener: OpenScreenerAction { filters, field_filter, page_size, 2 more }

Open a stock screener with filters

filters: Array<ScreenerFilter { field, operator, value } >

Filter criteria for the screener

field: string

Field to filter on (e.g., “market_cap”, “sector”, “price”)

operator: string

Comparison operator (e.g., “eq”, “gte”, “lte”, “in”)

value: unknown

Filter value

field_filter?: Array<string> | null

Optional field/column selection for screener results.

page_size?: number | null

Optional page size.

formatint32
sort_by?: string | null

Optional sort field for screener rows.

sort_direction?: string | null

Optional sort direction (ASC or DESC).

OpenEntitlementConsent { open_entitlement_consent }

Open entitlement consent flow

Open entitlement consent flow

Stable entitlement agreement family key.

StructuredActionButtonAction { actionId }

Structured-action button behavior.

actionId?: string | null

UUID of a structured_action content part in the same message.

formatuuid
SuggestedActionsPayload { actionButtons }

Suggested follow-up buttons rendered at the end of an assistant message.

actionButtons?: Array<ActionButton { buttonId, label, prompt, structuredAction } >

Ordered message-level buttons.

buttonId: string

Stable button identifier within the content part.

label: string

User-visible label.

prompt?: PromptButtonAction { prompt } | null

Follow-up prompt to submit as the next user message.

prompt: string

Prompt text to submit as the next user turn.

structuredAction?: StructuredActionButtonAction { actionId } | null

Structured action in the same message to execute on click.

actionId?: string | null

UUID of a structured_action content part in the same message.

formatuuid
SymbolChart { symbol, timeframe }

Chart for a single symbol and timeframe.

symbol: string
timeframe?: string | null

V1Omni AIEntitlements

Thread-centric AI assistant for conversational trading. Create threads to start conversations, poll response objects for in-progress output, and read finalized messages from thread history. Thread/message/response endpoints require an explicit account_id. Entitlement endpoints are caller-scoped and use trading_account_ids.

Get Entitlements
client.v1.omniAI.entitlements.getEntitlements(EntitlementGetEntitlementsParams { trading_account_id } query?, RequestOptionsoptions?): EntitlementGetEntitlementsResponse { data }
GET/v1/omni-ai/entitlements
Create Entitlements
client.v1.omniAI.entitlements.createEntitlements(EntitlementCreateEntitlementsParams { agreement_id, requested_entitlement_codes, trading_account_ids } body, RequestOptionsoptions?): EntitlementCreateEntitlementsResponse { data }
POST/v1/omni-ai/entitlements
Delete Entitlement
client.v1.omniAI.entitlements.deleteEntitlement(stringentitlementID, RequestOptionsoptions?): EntitlementDeleteEntitlementResponse { data }
DELETE/v1/omni-ai/entitlements/{entitlement_id}
Get Entitlement Agreements
client.v1.omniAI.entitlements.getEntitlementAgreements(RequestOptionsoptions?): EntitlementGetEntitlementAgreementsResponse { data }
GET/v1/omni-ai/entitlement-agreements
ModelsExpand Collapse
DeleteEntitlementResponse { entitlement_id, revoked }
entitlement_id: string
revoked: boolean
EntitlementAgreementKey = "omni_account_data_access"

Stable entitlement agreement family key.

EntitlementAgreementResource { agreement_id, agreement_key, document_content, 4 more }
agreement_id: string
agreement_key: EntitlementAgreementKey { }

Stable entitlement agreement family key.

document_content: string
document_sha256: string
entitlement_codes: Array<EntitlementCode { } >
title: string
version: number
EntitlementAgreementResourceList = Array<EntitlementAgreementResource { agreement_id, agreement_key, document_content, 4 more } >
agreement_id: string
agreement_key: EntitlementAgreementKey { }

Stable entitlement agreement family key.

document_content: string
document_sha256: string
entitlement_codes: Array<EntitlementCode { } >
title: string
version: number
EntitlementCode = "omni.account_data"

Stable entitlement code granted by an agreement.

EntitlementResource { agreement_id, entitlement_code, entitlement_id, 2 more }
agreement_id: string
entitlement_code: EntitlementCode { }

Stable entitlement code granted by an agreement.

entitlement_id: string
granted_at: string
trading_account_id: number
EntitlementResourceList = Array<EntitlementResource { agreement_id, entitlement_code, entitlement_id, 2 more } >
agreement_id: string
entitlement_code: EntitlementCode { }

Stable entitlement code granted by an agreement.

entitlement_id: string
granted_at: string
trading_account_id: number
EntitlementGetEntitlementsResponse extends BaseResponse { metadata, error } { data }
data: EntitlementResourceList { agreement_id, entitlement_code, entitlement_id, 2 more }
agreement_id: string
entitlement_code: EntitlementCode { }

Stable entitlement code granted by an agreement.

entitlement_id: string
granted_at: string
trading_account_id: number
EntitlementCreateEntitlementsResponse extends BaseResponse { metadata, error } { data }
data: EntitlementResourceList { agreement_id, entitlement_code, entitlement_id, 2 more }
agreement_id: string
entitlement_code: EntitlementCode { }

Stable entitlement code granted by an agreement.

entitlement_id: string
granted_at: string
trading_account_id: number
EntitlementDeleteEntitlementResponse extends BaseResponse { metadata, error } { data }
data: DeleteEntitlementResponse { entitlement_id, revoked }
entitlement_id: string
revoked: boolean
EntitlementGetEntitlementAgreementsResponse extends BaseResponse { metadata, error } { data }
data: EntitlementAgreementResourceList { agreement_id, agreement_key, document_content, 4 more }
agreement_id: string
agreement_key: EntitlementAgreementKey { }

Stable entitlement agreement family key.

document_content: string
document_sha256: string
entitlement_codes: Array<EntitlementCode { } >
title: string
version: number

V1Omni AIMessages

Thread-centric AI assistant for conversational trading. Create threads to start conversations, poll response objects for in-progress output, and read finalized messages from thread history. Thread/message/response endpoints require an explicit account_id. Entitlement endpoints are caller-scoped and use trading_account_ids.

Get Message By ID
client.v1.omniAI.messages.getMessageByID(stringmessageID, MessageGetMessageByIDParams { account_id } query, RequestOptionsoptions?): MessageGetMessageByIDResponse { data }
GET/v1/omni-ai/messages/{message_id}
Submit Feedback
client.v1.omniAI.messages.submitFeedback(stringmessageID, MessageSubmitFeedbackParams { account_id, score, comment, metadata } body, RequestOptionsoptions?): MessageSubmitFeedbackResponse { data }
POST/v1/omni-ai/messages/{message_id}/feedback
ModelsExpand Collapse
CreateFeedbackResponse { created_at, feedback_id }
created_at: string
feedback_id?: string | null
MessageGetMessageByIDResponse extends BaseResponse { metadata, error } { data }
data: Message { id, content, created_at, 5 more }

Final immutable message.

id: string
content: MessageContent { parts }

Finalized immutable message content container. Never includes thinking parts.

parts: Array<MessageContentPart>
One of the following:
UnionMember0 extends ContentPartTextPayload { text } { type }

Text content part.

type: "text"
UnionMember1 extends ContentPartStructuredActionPayload { action, action_id } { type }

Structured action content part.

type: "structured_action"
UnionMember2 extends ContentPartChartPayload { payload } { type }

Chart payload content part.

type: "chart"
UnionMember3 extends ContentPartSuggestedActionsPayload { payload } { type }

Suggested actions payload content part.

type: "suggested_actions"
UnionMember4 extends ContentPartCustomPayload { payload } { type }

Escape-hatch custom payload content part.

type: "custom"
created_at: string

Immutable terminal outcome for a finalized assistant message.

One of the following:
"completed"
"errored"
"canceled"

Finalized message role in the public contract.

One of the following:
"USER"
"ASSISTANT"
seq: number
thread_id: string
error?: ErrorStatus { code, message, details } | null

Shared sanitized error payload.

code: string
message: string
details?: unknown
MessageSubmitFeedbackResponse extends BaseResponse { metadata, error } { data }
data: CreateFeedbackResponse { created_at, feedback_id }
created_at: string
feedback_id?: string | null

V1Omni AIResponses

Thread-centric AI assistant for conversational trading. Create threads to start conversations, poll response objects for in-progress output, and read finalized messages from thread history. Thread/message/response endpoints require an explicit account_id. Entitlement endpoints are caller-scoped and use trading_account_ids.

Get Response By ID
client.v1.omniAI.responses.getResponseByID(stringresponseID, ResponseGetResponseByIDParams { account_id } query, RequestOptionsoptions?): ResponseGetResponseByIDResponse { data }
GET/v1/omni-ai/responses/{response_id}
Cancel Response
client.v1.omniAI.responses.cancelResponse(stringresponseID, ResponseCancelResponseParams { account_id } params, RequestOptionsoptions?): ResponseCancelResponseResponse { data }
DELETE/v1/omni-ai/responses/{response_id}
ModelsExpand Collapse
CancelResponsePayload { canceled }
canceled: boolean
ErrorStatus { code, message, details }

Shared sanitized error payload.

code: string
message: string
details?: unknown
Response { id, status, thread_id, 4 more }

Dynamic pollable response.

id: string

Dynamic lifecycle status for a pollable response.

One of the following:
"queued"
"running"
"succeeded"
"failed"
"canceled"
thread_id: string
user_message_id: string
content?: ResponseContent { parts } | null

Dynamic response content container. May include thinking parts.

parts: Array<ResponseContentPart>
One of the following:
UnionMember0 extends ContentPartTextPayload { text } { type }

Text content part.

type: "text"
UnionMember1 extends ContentPartThinkingPayload { thoughts } { type }

Thinking content part shown on dynamic response polling.

type: "thinking"
UnionMember2 extends ContentPartStructuredActionPayload { action, action_id } { type }

Structured action content part.

type: "structured_action"
UnionMember3 extends ContentPartChartPayload { payload } { type }

Chart payload content part.

type: "chart"
UnionMember4 extends ContentPartSuggestedActionsPayload { payload } { type }

Suggested actions payload content part.

type: "suggested_actions"
UnionMember5 extends ContentPartCustomPayload { payload } { type }

Escape-hatch custom payload content part.

type: "custom"
error?: ErrorStatus { code, message, details } | null

Shared sanitized error payload.

code: string
message: string
details?: unknown
output_message_id?: string | null
ResponseContent { parts }

Dynamic response content container. May include thinking parts.

parts: Array<ResponseContentPart>
One of the following:
UnionMember0 extends ContentPartTextPayload { text } { type }

Text content part.

type: "text"
UnionMember1 extends ContentPartThinkingPayload { thoughts } { type }

Thinking content part shown on dynamic response polling.

type: "thinking"
UnionMember2 extends ContentPartStructuredActionPayload { action, action_id } { type }

Structured action content part.

type: "structured_action"
UnionMember3 extends ContentPartChartPayload { payload } { type }

Chart payload content part.

type: "chart"
UnionMember4 extends ContentPartSuggestedActionsPayload { payload } { type }

Suggested actions payload content part.

type: "suggested_actions"
UnionMember5 extends ContentPartCustomPayload { payload } { type }

Escape-hatch custom payload content part.

type: "custom"
ResponseContentPart = UnionMember0 { type } | UnionMember1 { type } | UnionMember2 { type } | 3 more

Dynamic content part visible on a pollable response.

One of the following:
UnionMember0 extends ContentPartTextPayload { text } { type }

Text content part.

type: "text"
UnionMember1 extends ContentPartThinkingPayload { thoughts } { type }

Thinking content part shown on dynamic response polling.

type: "thinking"
UnionMember2 extends ContentPartStructuredActionPayload { action, action_id } { type }

Structured action content part.

type: "structured_action"
UnionMember3 extends ContentPartChartPayload { payload } { type }

Chart payload content part.

type: "chart"
UnionMember4 extends ContentPartSuggestedActionsPayload { payload } { type }

Suggested actions payload content part.

type: "suggested_actions"
UnionMember5 extends ContentPartCustomPayload { payload } { type }

Escape-hatch custom payload content part.

type: "custom"
ResponseStatus = "queued" | "running" | "succeeded" | 2 more

Dynamic lifecycle status for a pollable response.

One of the following:
"queued"
"running"
"succeeded"
"failed"
"canceled"
ResponseGetResponseByIDResponse extends BaseResponse { metadata, error } { data }
data: Response { id, status, thread_id, 4 more }

Dynamic pollable response.

id: string

Dynamic lifecycle status for a pollable response.

One of the following:
"queued"
"running"
"succeeded"
"failed"
"canceled"
thread_id: string
user_message_id: string
content?: ResponseContent { parts } | null

Dynamic response content container. May include thinking parts.

parts: Array<ResponseContentPart>
One of the following:
UnionMember0 extends ContentPartTextPayload { text } { type }

Text content part.

type: "text"
UnionMember1 extends ContentPartThinkingPayload { thoughts } { type }

Thinking content part shown on dynamic response polling.

type: "thinking"
UnionMember2 extends ContentPartStructuredActionPayload { action, action_id } { type }

Structured action content part.

type: "structured_action"
UnionMember3 extends ContentPartChartPayload { payload } { type }

Chart payload content part.

type: "chart"
UnionMember4 extends ContentPartSuggestedActionsPayload { payload } { type }

Suggested actions payload content part.

type: "suggested_actions"
UnionMember5 extends ContentPartCustomPayload { payload } { type }

Escape-hatch custom payload content part.

type: "custom"
error?: ErrorStatus { code, message, details } | null

Shared sanitized error payload.

code: string
message: string
details?: unknown
output_message_id?: string | null
ResponseCancelResponseResponse extends BaseResponse { metadata, error } { data }
data: CancelResponsePayload { canceled }
canceled: boolean

V1Omni AIThreads

Thread-centric AI assistant for conversational trading. Create threads to start conversations, poll response objects for in-progress output, and read finalized messages from thread history. Thread/message/response endpoints require an explicit account_id. Entitlement endpoints are caller-scoped and use trading_account_ids.

Get Threads
client.v1.omniAI.threads.getThreads(ThreadGetThreadsParams { account_id, page_size, page_token } query, RequestOptionsoptions?): ThreadGetThreadsResponse { data }
GET/v1/omni-ai/threads
Get Thread By ID
client.v1.omniAI.threads.getThreadByID(stringthreadID, ThreadGetThreadByIDParams { account_id } query, RequestOptionsoptions?): ThreadGetThreadByIDResponse { data }
GET/v1/omni-ai/threads/{thread_id}
Create Thread
client.v1.omniAI.threads.createThread(ThreadCreateThreadParams { account_id, type, capabilities, 3 more } body, RequestOptionsoptions?): ThreadCreateThreadResponse { data }
POST/v1/omni-ai/threads
Get Thread Response
client.v1.omniAI.threads.getThreadResponse(stringthreadID, ThreadGetThreadResponseParams { account_id } query, RequestOptionsoptions?): ThreadGetThreadResponseResponse { data }
GET/v1/omni-ai/threads/{thread_id}/response
Get Messages
client.v1.omniAI.threads.getMessages(stringthreadID, ThreadGetMessagesParams { account_id, page_size, page_token } query, RequestOptionsoptions?): ThreadGetMessagesResponse { data }
GET/v1/omni-ai/threads/{thread_id}/messages
Create Message
client.v1.omniAI.threads.createMessage(stringthreadID, ThreadCreateMessageParams { account_id, text, capabilities } body, RequestOptionsoptions?): ThreadCreateMessageResponse { data }
POST/v1/omni-ai/threads/{thread_id}/messages
ModelsExpand Collapse
CreateMessageResponse { response_id, thread_id, user_message_id }

Response payload for continuing a thread with a new message.

response_id: string
thread_id: string
user_message_id: string
CreateThreadResponse { response_id, thread_id, user_message_id }

Response payload for thread creation.

response_id: string
thread_id: string
user_message_id: string
Message { id, content, created_at, 5 more }

Final immutable message.

id: string
content: MessageContent { parts }

Finalized immutable message content container. Never includes thinking parts.

parts: Array<MessageContentPart>
One of the following:
UnionMember0 extends ContentPartTextPayload { text } { type }

Text content part.

type: "text"
UnionMember1 extends ContentPartStructuredActionPayload { action, action_id } { type }

Structured action content part.

type: "structured_action"
UnionMember2 extends ContentPartChartPayload { payload } { type }

Chart payload content part.

type: "chart"
UnionMember3 extends ContentPartSuggestedActionsPayload { payload } { type }

Suggested actions payload content part.

type: "suggested_actions"
UnionMember4 extends ContentPartCustomPayload { payload } { type }

Escape-hatch custom payload content part.

type: "custom"
created_at: string

Immutable terminal outcome for a finalized assistant message.

One of the following:
"completed"
"errored"
"canceled"

Finalized message role in the public contract.

One of the following:
"USER"
"ASSISTANT"
seq: number
thread_id: string
error?: ErrorStatus { code, message, details } | null

Shared sanitized error payload.

code: string
message: string
details?: unknown
MessageContent { parts }

Finalized immutable message content container. Never includes thinking parts.

parts: Array<MessageContentPart>
One of the following:
UnionMember0 extends ContentPartTextPayload { text } { type }

Text content part.

type: "text"
UnionMember1 extends ContentPartStructuredActionPayload { action, action_id } { type }

Structured action content part.

type: "structured_action"
UnionMember2 extends ContentPartChartPayload { payload } { type }

Chart payload content part.

type: "chart"
UnionMember3 extends ContentPartSuggestedActionsPayload { payload } { type }

Suggested actions payload content part.

type: "suggested_actions"
UnionMember4 extends ContentPartCustomPayload { payload } { type }

Escape-hatch custom payload content part.

type: "custom"
MessageContentPart = UnionMember0 { type } | UnionMember1 { type } | UnionMember2 { type } | 2 more

Final immutable content part visible on persisted messages.

One of the following:
UnionMember0 extends ContentPartTextPayload { text } { type }

Text content part.

type: "text"
UnionMember1 extends ContentPartStructuredActionPayload { action, action_id } { type }

Structured action content part.

type: "structured_action"
UnionMember2 extends ContentPartChartPayload { payload } { type }

Chart payload content part.

type: "chart"
UnionMember3 extends ContentPartSuggestedActionsPayload { payload } { type }

Suggested actions payload content part.

type: "suggested_actions"
UnionMember4 extends ContentPartCustomPayload { payload } { type }

Escape-hatch custom payload content part.

type: "custom"
MessageList = Array<Message { id, content, created_at, 5 more } >
id: string
content: MessageContent { parts }

Finalized immutable message content container. Never includes thinking parts.

parts: Array<MessageContentPart>
One of the following:
UnionMember0 extends ContentPartTextPayload { text } { type }

Text content part.

type: "text"
UnionMember1 extends ContentPartStructuredActionPayload { action, action_id } { type }

Structured action content part.

type: "structured_action"
UnionMember2 extends ContentPartChartPayload { payload } { type }

Chart payload content part.

type: "chart"
UnionMember3 extends ContentPartSuggestedActionsPayload { payload } { type }

Suggested actions payload content part.

type: "suggested_actions"
UnionMember4 extends ContentPartCustomPayload { payload } { type }

Escape-hatch custom payload content part.

type: "custom"
created_at: string

Immutable terminal outcome for a finalized assistant message.

One of the following:
"completed"
"errored"
"canceled"

Finalized message role in the public contract.

One of the following:
"USER"
"ASSISTANT"
seq: number
thread_id: string
error?: ErrorStatus { code, message, details } | null

Shared sanitized error payload.

code: string
message: string
details?: unknown
MessageOutcome = "completed" | "errored" | "canceled"

Immutable terminal outcome for a finalized assistant message.

One of the following:
"completed"
"errored"
"canceled"
MessageRole = "USER" | "ASSISTANT"

Finalized message role in the public contract.

One of the following:
"USER"
"ASSISTANT"
Thread { id, created_at, title, updated_at }

Thread metadata returned by list/get thread endpoints.

id: string
created_at: string
title: string
updated_at: string
ThreadList = Array<Thread { id, created_at, title, updated_at } >
id: string
created_at: string
title: string
updated_at: string
ThreadGetThreadsResponse extends BaseResponse { metadata, error } { data }
data: ThreadList { id, created_at, title, updated_at }
id: string
created_at: string
title: string
updated_at: string
ThreadGetThreadByIDResponse extends BaseResponse { metadata, error } { data }
data: Thread { id, created_at, title, updated_at }

Thread metadata returned by list/get thread endpoints.

id: string
created_at: string
title: string
updated_at: string
ThreadCreateThreadResponse extends BaseResponse { metadata, error } { data }
data: CreateThreadResponse { response_id, thread_id, user_message_id }

Response payload for thread creation.

response_id: string
thread_id: string
user_message_id: string
ThreadGetThreadResponseResponse extends BaseResponse { metadata, error } { data }
data: Response { id, status, thread_id, 4 more }

Dynamic pollable response.

id: string

Dynamic lifecycle status for a pollable response.

One of the following:
"queued"
"running"
"succeeded"
"failed"
"canceled"
thread_id: string
user_message_id: string
content?: ResponseContent { parts } | null

Dynamic response content container. May include thinking parts.

parts: Array<ResponseContentPart>
One of the following:
UnionMember0 extends ContentPartTextPayload { text } { type }

Text content part.

type: "text"
UnionMember1 extends ContentPartThinkingPayload { thoughts } { type }

Thinking content part shown on dynamic response polling.

type: "thinking"
UnionMember2 extends ContentPartStructuredActionPayload { action, action_id } { type }

Structured action content part.

type: "structured_action"
UnionMember3 extends ContentPartChartPayload { payload } { type }

Chart payload content part.

type: "chart"
UnionMember4 extends ContentPartSuggestedActionsPayload { payload } { type }

Suggested actions payload content part.

type: "suggested_actions"
UnionMember5 extends ContentPartCustomPayload { payload } { type }

Escape-hatch custom payload content part.

type: "custom"
error?: ErrorStatus { code, message, details } | null

Shared sanitized error payload.

code: string
message: string
details?: unknown
output_message_id?: string | null
ThreadGetMessagesResponse extends BaseResponse { metadata, error } { data }
data: MessageList { id, content, created_at, 5 more }
id: string
content: MessageContent { parts }

Finalized immutable message content container. Never includes thinking parts.

parts: Array<MessageContentPart>
One of the following:
UnionMember0 extends ContentPartTextPayload { text } { type }

Text content part.

type: "text"
UnionMember1 extends ContentPartStructuredActionPayload { action, action_id } { type }

Structured action content part.

type: "structured_action"
UnionMember2 extends ContentPartChartPayload { payload } { type }

Chart payload content part.

type: "chart"
UnionMember3 extends ContentPartSuggestedActionsPayload { payload } { type }

Suggested actions payload content part.

type: "suggested_actions"
UnionMember4 extends ContentPartCustomPayload { payload } { type }

Escape-hatch custom payload content part.

type: "custom"
created_at: string

Immutable terminal outcome for a finalized assistant message.

One of the following:
"completed"
"errored"
"canceled"

Finalized message role in the public contract.

One of the following:
"USER"
"ASSISTANT"
seq: number
thread_id: string
error?: ErrorStatus { code, message, details } | null

Shared sanitized error payload.

code: string
message: string
details?: unknown
ThreadCreateMessageResponse extends BaseResponse { metadata, error } { data }
data: CreateMessageResponse { response_id, thread_id, user_message_id }

Response payload for continuing a thread with a new message.

response_id: string
thread_id: string
user_message_id: string

V1Orders

Place, monitor, and manage trading orders.

Get Orders
client.v1.orders.getOrders(numberaccountID, OrderGetOrdersParams { from, instrument_ids, instrument_type, 6 more } query?, RequestOptionsoptions?): OrderGetOrdersResponse { data }
GET/v1/accounts/{account_id}/orders
Get Order By ID
client.v1.orders.getOrderByID(stringorderID, OrderGetOrderByIDParams { account_id } params, RequestOptionsoptions?): OrderGetOrderByIDResponse { data }
GET/v1/accounts/{account_id}/orders/{order_id}
Submit Orders
client.v1.orders.submitOrders(numberaccountID, OrderSubmitOrdersParams { orders } params, RequestOptionsoptions?): OrderSubmitOrdersResponse { data }
POST/v1/accounts/{account_id}/orders
Replace Order
client.v1.orders.replaceOrder(stringorderID, OrderReplaceOrderParams { account_id, limit_price, quantity, 2 more } params, RequestOptionsoptions?): OrderReplaceOrderResponse { data }
PATCH/v1/accounts/{account_id}/orders/{order_id}
Cancel Open Order
client.v1.orders.cancelOpenOrder(stringorderID, OrderCancelOpenOrderParams { account_id } params, RequestOptionsoptions?): OrderCancelOpenOrderResponse { data }
DELETE/v1/accounts/{account_id}/orders/{order_id}
Cancel All Open Orders
client.v1.orders.cancelAllOpenOrders(numberaccountID, OrderCancelAllOpenOrdersParams { instrument_ids, instrument_type, side, type } params?, RequestOptionsoptions?): OrderCancelAllOpenOrdersResponse { data }
DELETE/v1/accounts/{account_id}/orders
ModelsExpand Collapse
CancelOrderRequest { account_id, order_id }

Request to cancel an existing order

Note: In the API, order cancellation is done via DELETE request without a body. The order_id and account_id come from the URL path parameters.

account_id: number

Account ID (from path parameter)

formatint64
order_id: string

Order ID to cancel (from path parameter)

InstrumentIDOrSymbol = string

OEMS instrument UUID

NewOrderRequest { instrument_type, order_type, quantity, 13 more }

Request to submit a new order (PlaceOrderRequest from spec)

instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
order_type: RequestOrderType

Type of order

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
quantity: string

Quantity to trade. For COMMON_STOCK: shares (may be fractional if supported). For OPTION (single-leg): contracts (must be an integer)

side: Side

Side of the order

One of the following:
"BUY"
"SELL"
"SELL_SHORT"
"OTHER"
time_in_force: RequestTimeInForce

Time in force

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
id?: string | null

Optional client-provided unique ID (idempotency). Required to be unique per account.

maxLength64
expires_at?: string | null

The timestamp when the order should expire (UTC). Required when time_in_force is GOOD_TILL_DATE.

formatdate-time
extended_hours?: boolean | null

Allow trading outside regular trading hours. Some brokers disallow options outside RTH.

instrument_id?: InstrumentIDOrSymbol | null

OEMS instrument UUID

formatuuid
limit_offset?: string | null

Limit offset for trailing stop-limit orders (signed)

limit_price?: string | null

Limit price (required for LIMIT and STOP_LIMIT orders)

position_effect?: PositionEffect

Required when instrument_type is OPTION. Specifies whether the order opens or closes a position.

One of the following:
"OPEN"
"CLOSE"
stop_price?: string | null

Stop price (required for STOP and STOP_LIMIT orders)

symbol?: string | null

Trading symbol. For equities, use the ticker symbol (e.g., “AAPL”). For options, use the OSI symbol (e.g., “AAPL 250117C00190000”). Either symbol or instrument_id must be provided.

trailing_offset?: string | null

Trailing offset amount (required for trailing orders)

trailing_offset_type?: TrailingOffsetType | null

Trailing offset type (PRICE or PERCENT_BPS)

One of the following:
"PRICE"
"BPS"
Order { id, account_id, client_order_id, 29 more }

A trading order with its current state and execution details.

This is the unified API representation of an order across its lifecycle, combining data from execution reports, order status queries, and parent/child tracking.

id: string

Engine-assigned unique identifier for this order (UUID).

account_id: number

Account placing the order

formatint64
client_order_id: string

Client-provided identifier echoed back (FIX tag 11).

created_at: string

Timestamp when order was created (UTC)

formatdate-time
filled_quantity: string

Cumulative filled quantity

instrument_id: string

OEMS instrument UUID for the traded instrument.

formatuuid
instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
leaves_quantity: string

Remaining unfilled quantity

order_type: OrderType

Type of order (MARKET, LIMIT, etc.)

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
"OTHER"
quantity: string

Total order quantity

side: Side

Side of the order (BUY, SELL, SELL_SHORT)

One of the following:
"BUY"
"SELL"
"SELL_SHORT"
"OTHER"
status: OrderStatus

Current status of the order

One of the following:
"PENDING_NEW"
"NEW"
"PARTIALLY_FILLED"
"FILLED"
"CANCELED"
"REJECTED"
"EXPIRED"
"PENDING_CANCEL"
"PENDING_REPLACE"
"REPLACED"
"DONE_FOR_DAY"
"STOPPED"
"SUSPENDED"
"CALCULATED"
"OTHER"
symbol: string

Trading symbol

time_in_force: TimeInForce

Time in force instruction

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
"OTHER"
updated_at: string

Timestamp of the most recent update (UTC)

formatdate-time
venue: string

MIC code of the venue where the order is routed

average_fill_price?: string | null

Average fill price across all executions

details?: Array<string>

Contains execution, rejection or cancellation details, if any

expires_at?: string | null

Timestamp when the order will expire (UTC). Present when time_in_force is GOOD_TILL_DATE.

formatdate-time
extended_hours?: boolean | null

Whether the order is eligible for extended-hours trading.

limit_offset?: string | null

Limit offset for trailing stop-limit orders (signed)

limit_price?: string | null

Limit price (for LIMIT and STOP_LIMIT orders)

queue_state?: QueueState | null

Parent order queue state, present when the order is awaiting release or released.

One of the following:
"AWAITING_RELEASE"
"RELEASED"
releases_at?: string | null

Scheduled release time for orders awaiting release.

formatdate-time
stop_price?: string | null

Stop price (for STOP and STOP_LIMIT orders)

trailing_limit_px?: string | null

Current trailing limit price computed by the trailing strategy

trailing_offset?: string | null

Trailing offset amount for trailing orders

trailing_offset_type?: TrailingOffsetType | null

Trailing offset type for trailing orders

One of the following:
"PRICE"
"BPS"
trailing_stop_px?: string | null

Current trailing stop price computed by the trailing strategy

trailing_watermark_px?: string | null

Trailing watermark price for trailing orders

trailing_watermark_ts?: string | null

Trailing watermark timestamp for trailing orders

formatdate-time
underlying_instrument_id?: string | null

OEMS instrument ID of the option’s underlying instrument. Populated only for OPTIONS orders; null for non-options and for options whose underlier cannot be resolved from the instrument cache.

formatuuid
OrderList = Array<Order { id, account_id, client_order_id, 29 more } >
id: string

Engine-assigned unique identifier for this order (UUID).

account_id: number

Account placing the order

formatint64
client_order_id: string

Client-provided identifier echoed back (FIX tag 11).

created_at: string

Timestamp when order was created (UTC)

formatdate-time
filled_quantity: string

Cumulative filled quantity

instrument_id: string

OEMS instrument UUID for the traded instrument.

formatuuid
instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
leaves_quantity: string

Remaining unfilled quantity

order_type: OrderType

Type of order (MARKET, LIMIT, etc.)

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
"OTHER"
quantity: string

Total order quantity

side: Side

Side of the order (BUY, SELL, SELL_SHORT)

One of the following:
"BUY"
"SELL"
"SELL_SHORT"
"OTHER"
status: OrderStatus

Current status of the order

One of the following:
"PENDING_NEW"
"NEW"
"PARTIALLY_FILLED"
"FILLED"
"CANCELED"
"REJECTED"
"EXPIRED"
"PENDING_CANCEL"
"PENDING_REPLACE"
"REPLACED"
"DONE_FOR_DAY"
"STOPPED"
"SUSPENDED"
"CALCULATED"
"OTHER"
symbol: string

Trading symbol

time_in_force: TimeInForce

Time in force instruction

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
"OTHER"
updated_at: string

Timestamp of the most recent update (UTC)

formatdate-time
venue: string

MIC code of the venue where the order is routed

average_fill_price?: string | null

Average fill price across all executions

details?: Array<string>

Contains execution, rejection or cancellation details, if any

expires_at?: string | null

Timestamp when the order will expire (UTC). Present when time_in_force is GOOD_TILL_DATE.

formatdate-time
extended_hours?: boolean | null

Whether the order is eligible for extended-hours trading.

limit_offset?: string | null

Limit offset for trailing stop-limit orders (signed)

limit_price?: string | null

Limit price (for LIMIT and STOP_LIMIT orders)

queue_state?: QueueState | null

Parent order queue state, present when the order is awaiting release or released.

One of the following:
"AWAITING_RELEASE"
"RELEASED"
releases_at?: string | null

Scheduled release time for orders awaiting release.

formatdate-time
stop_price?: string | null

Stop price (for STOP and STOP_LIMIT orders)

trailing_limit_px?: string | null

Current trailing limit price computed by the trailing strategy

trailing_offset?: string | null

Trailing offset amount for trailing orders

trailing_offset_type?: TrailingOffsetType | null

Trailing offset type for trailing orders

One of the following:
"PRICE"
"BPS"
trailing_stop_px?: string | null

Current trailing stop price computed by the trailing strategy

trailing_watermark_px?: string | null

Trailing watermark price for trailing orders

trailing_watermark_ts?: string | null

Trailing watermark timestamp for trailing orders

formatdate-time
underlying_instrument_id?: string | null

OEMS instrument ID of the option’s underlying instrument. Populated only for OPTIONS orders; null for non-options and for options whose underlier cannot be resolved from the instrument cache.

formatuuid
OrderStatus = "PENDING_NEW" | "NEW" | "PARTIALLY_FILLED" | 12 more

Order status

One of the following:
"PENDING_NEW"
"NEW"
"PARTIALLY_FILLED"
"FILLED"
"CANCELED"
"REJECTED"
"EXPIRED"
"PENDING_CANCEL"
"PENDING_REPLACE"
"REPLACED"
"DONE_FOR_DAY"
"STOPPED"
"SUSPENDED"
"CALCULATED"
"OTHER"
OrderType = "MARKET" | "LIMIT" | "STOP" | 4 more

Order type

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
"OTHER"
PositionEffect = "OPEN" | "CLOSE"

Position effect for options orders

One of the following:
"OPEN"
"CLOSE"
QueueState = "AWAITING_RELEASE" | "RELEASED"

Parent order queue or hold state.

One of the following:
"AWAITING_RELEASE"
"RELEASED"
RequestOrderType = "MARKET" | "LIMIT" | "STOP" | 3 more

Strict order-type enum for order submission/replacement requests.

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
RequestTimeInForce = "DAY" | "GOOD_TILL_CANCEL" | "IMMEDIATE_OR_CANCEL" | 7 more

Strict time-in-force enum for order submission/replacement requests.

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
Side = "BUY" | "SELL" | "SELL_SHORT" | "OTHER"

Side of an order

One of the following:
"BUY"
"SELL"
"SELL_SHORT"
"OTHER"
TimeInForce = "DAY" | "GOOD_TILL_CANCEL" | "IMMEDIATE_OR_CANCEL" | 8 more

Time in force

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
"OTHER"
TrailingOffsetType = "PRICE" | "BPS"

Trailing offset type for trailing stop orders.

One of the following:
"PRICE"
"BPS"
OrderGetOrdersResponse extends BaseResponse { metadata, error } { data }
data: OrderList { id, account_id, client_order_id, 29 more }
id: string

Engine-assigned unique identifier for this order (UUID).

account_id: number

Account placing the order

formatint64
client_order_id: string

Client-provided identifier echoed back (FIX tag 11).

created_at: string

Timestamp when order was created (UTC)

formatdate-time
filled_quantity: string

Cumulative filled quantity

instrument_id: string

OEMS instrument UUID for the traded instrument.

formatuuid
instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
leaves_quantity: string

Remaining unfilled quantity

order_type: OrderType

Type of order (MARKET, LIMIT, etc.)

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
"OTHER"
quantity: string

Total order quantity

side: Side

Side of the order (BUY, SELL, SELL_SHORT)

One of the following:
"BUY"
"SELL"
"SELL_SHORT"
"OTHER"
status: OrderStatus

Current status of the order

One of the following:
"PENDING_NEW"
"NEW"
"PARTIALLY_FILLED"
"FILLED"
"CANCELED"
"REJECTED"
"EXPIRED"
"PENDING_CANCEL"
"PENDING_REPLACE"
"REPLACED"
"DONE_FOR_DAY"
"STOPPED"
"SUSPENDED"
"CALCULATED"
"OTHER"
symbol: string

Trading symbol

time_in_force: TimeInForce

Time in force instruction

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
"OTHER"
updated_at: string

Timestamp of the most recent update (UTC)

formatdate-time
venue: string

MIC code of the venue where the order is routed

average_fill_price?: string | null

Average fill price across all executions

details?: Array<string>

Contains execution, rejection or cancellation details, if any

expires_at?: string | null

Timestamp when the order will expire (UTC). Present when time_in_force is GOOD_TILL_DATE.

formatdate-time
extended_hours?: boolean | null

Whether the order is eligible for extended-hours trading.

limit_offset?: string | null

Limit offset for trailing stop-limit orders (signed)

limit_price?: string | null

Limit price (for LIMIT and STOP_LIMIT orders)

queue_state?: QueueState | null

Parent order queue state, present when the order is awaiting release or released.

One of the following:
"AWAITING_RELEASE"
"RELEASED"
releases_at?: string | null

Scheduled release time for orders awaiting release.

formatdate-time
stop_price?: string | null

Stop price (for STOP and STOP_LIMIT orders)

trailing_limit_px?: string | null

Current trailing limit price computed by the trailing strategy

trailing_offset?: string | null

Trailing offset amount for trailing orders

trailing_offset_type?: TrailingOffsetType | null

Trailing offset type for trailing orders

One of the following:
"PRICE"
"BPS"
trailing_stop_px?: string | null

Current trailing stop price computed by the trailing strategy

trailing_watermark_px?: string | null

Trailing watermark price for trailing orders

trailing_watermark_ts?: string | null

Trailing watermark timestamp for trailing orders

formatdate-time
underlying_instrument_id?: string | null

OEMS instrument ID of the option’s underlying instrument. Populated only for OPTIONS orders; null for non-options and for options whose underlier cannot be resolved from the instrument cache.

formatuuid
OrderGetOrderByIDResponse extends BaseResponse { metadata, error } { data }
data: Order { id, account_id, client_order_id, 29 more }

A trading order with its current state and execution details.

This is the unified API representation of an order across its lifecycle, combining data from execution reports, order status queries, and parent/child tracking.

id: string

Engine-assigned unique identifier for this order (UUID).

account_id: number

Account placing the order

formatint64
client_order_id: string

Client-provided identifier echoed back (FIX tag 11).

created_at: string

Timestamp when order was created (UTC)

formatdate-time
filled_quantity: string

Cumulative filled quantity

instrument_id: string

OEMS instrument UUID for the traded instrument.

formatuuid
instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
leaves_quantity: string

Remaining unfilled quantity

order_type: OrderType

Type of order (MARKET, LIMIT, etc.)

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
"OTHER"
quantity: string

Total order quantity

side: Side

Side of the order (BUY, SELL, SELL_SHORT)

One of the following:
"BUY"
"SELL"
"SELL_SHORT"
"OTHER"
status: OrderStatus

Current status of the order

One of the following:
"PENDING_NEW"
"NEW"
"PARTIALLY_FILLED"
"FILLED"
"CANCELED"
"REJECTED"
"EXPIRED"
"PENDING_CANCEL"
"PENDING_REPLACE"
"REPLACED"
"DONE_FOR_DAY"
"STOPPED"
"SUSPENDED"
"CALCULATED"
"OTHER"
symbol: string

Trading symbol

time_in_force: TimeInForce

Time in force instruction

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
"OTHER"
updated_at: string

Timestamp of the most recent update (UTC)

formatdate-time
venue: string

MIC code of the venue where the order is routed

average_fill_price?: string | null

Average fill price across all executions

details?: Array<string>

Contains execution, rejection or cancellation details, if any

expires_at?: string | null

Timestamp when the order will expire (UTC). Present when time_in_force is GOOD_TILL_DATE.

formatdate-time
extended_hours?: boolean | null

Whether the order is eligible for extended-hours trading.

limit_offset?: string | null

Limit offset for trailing stop-limit orders (signed)

limit_price?: string | null

Limit price (for LIMIT and STOP_LIMIT orders)

queue_state?: QueueState | null

Parent order queue state, present when the order is awaiting release or released.

One of the following:
"AWAITING_RELEASE"
"RELEASED"
releases_at?: string | null

Scheduled release time for orders awaiting release.

formatdate-time
stop_price?: string | null

Stop price (for STOP and STOP_LIMIT orders)

trailing_limit_px?: string | null

Current trailing limit price computed by the trailing strategy

trailing_offset?: string | null

Trailing offset amount for trailing orders

trailing_offset_type?: TrailingOffsetType | null

Trailing offset type for trailing orders

One of the following:
"PRICE"
"BPS"
trailing_stop_px?: string | null

Current trailing stop price computed by the trailing strategy

trailing_watermark_px?: string | null

Trailing watermark price for trailing orders

trailing_watermark_ts?: string | null

Trailing watermark timestamp for trailing orders

formatdate-time
underlying_instrument_id?: string | null

OEMS instrument ID of the option’s underlying instrument. Populated only for OPTIONS orders; null for non-options and for options whose underlier cannot be resolved from the instrument cache.

formatuuid
OrderSubmitOrdersResponse extends BaseResponse { metadata, error } { data }
data: OrderList { id, account_id, client_order_id, 29 more }
id: string

Engine-assigned unique identifier for this order (UUID).

account_id: number

Account placing the order

formatint64
client_order_id: string

Client-provided identifier echoed back (FIX tag 11).

created_at: string

Timestamp when order was created (UTC)

formatdate-time
filled_quantity: string

Cumulative filled quantity

instrument_id: string

OEMS instrument UUID for the traded instrument.

formatuuid
instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
leaves_quantity: string

Remaining unfilled quantity

order_type: OrderType

Type of order (MARKET, LIMIT, etc.)

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
"OTHER"
quantity: string

Total order quantity

side: Side

Side of the order (BUY, SELL, SELL_SHORT)

One of the following:
"BUY"
"SELL"
"SELL_SHORT"
"OTHER"
status: OrderStatus

Current status of the order

One of the following:
"PENDING_NEW"
"NEW"
"PARTIALLY_FILLED"
"FILLED"
"CANCELED"
"REJECTED"
"EXPIRED"
"PENDING_CANCEL"
"PENDING_REPLACE"
"REPLACED"
"DONE_FOR_DAY"
"STOPPED"
"SUSPENDED"
"CALCULATED"
"OTHER"
symbol: string

Trading symbol

time_in_force: TimeInForce

Time in force instruction

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
"OTHER"
updated_at: string

Timestamp of the most recent update (UTC)

formatdate-time
venue: string

MIC code of the venue where the order is routed

average_fill_price?: string | null

Average fill price across all executions

details?: Array<string>

Contains execution, rejection or cancellation details, if any

expires_at?: string | null

Timestamp when the order will expire (UTC). Present when time_in_force is GOOD_TILL_DATE.

formatdate-time
extended_hours?: boolean | null

Whether the order is eligible for extended-hours trading.

limit_offset?: string | null

Limit offset for trailing stop-limit orders (signed)

limit_price?: string | null

Limit price (for LIMIT and STOP_LIMIT orders)

queue_state?: QueueState | null

Parent order queue state, present when the order is awaiting release or released.

One of the following:
"AWAITING_RELEASE"
"RELEASED"
releases_at?: string | null

Scheduled release time for orders awaiting release.

formatdate-time
stop_price?: string | null

Stop price (for STOP and STOP_LIMIT orders)

trailing_limit_px?: string | null

Current trailing limit price computed by the trailing strategy

trailing_offset?: string | null

Trailing offset amount for trailing orders

trailing_offset_type?: TrailingOffsetType | null

Trailing offset type for trailing orders

One of the following:
"PRICE"
"BPS"
trailing_stop_px?: string | null

Current trailing stop price computed by the trailing strategy

trailing_watermark_px?: string | null

Trailing watermark price for trailing orders

trailing_watermark_ts?: string | null

Trailing watermark timestamp for trailing orders

formatdate-time
underlying_instrument_id?: string | null

OEMS instrument ID of the option’s underlying instrument. Populated only for OPTIONS orders; null for non-options and for options whose underlier cannot be resolved from the instrument cache.

formatuuid
OrderReplaceOrderResponse extends BaseResponse { metadata, error } { data }
data: Order { id, account_id, client_order_id, 29 more }

A trading order with its current state and execution details.

This is the unified API representation of an order across its lifecycle, combining data from execution reports, order status queries, and parent/child tracking.

id: string

Engine-assigned unique identifier for this order (UUID).

account_id: number

Account placing the order

formatint64
client_order_id: string

Client-provided identifier echoed back (FIX tag 11).

created_at: string

Timestamp when order was created (UTC)

formatdate-time
filled_quantity: string

Cumulative filled quantity

instrument_id: string

OEMS instrument UUID for the traded instrument.

formatuuid
instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
leaves_quantity: string

Remaining unfilled quantity

order_type: OrderType

Type of order (MARKET, LIMIT, etc.)

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
"OTHER"
quantity: string

Total order quantity

side: Side

Side of the order (BUY, SELL, SELL_SHORT)

One of the following:
"BUY"
"SELL"
"SELL_SHORT"
"OTHER"
status: OrderStatus

Current status of the order

One of the following:
"PENDING_NEW"
"NEW"
"PARTIALLY_FILLED"
"FILLED"
"CANCELED"
"REJECTED"
"EXPIRED"
"PENDING_CANCEL"
"PENDING_REPLACE"
"REPLACED"
"DONE_FOR_DAY"
"STOPPED"
"SUSPENDED"
"CALCULATED"
"OTHER"
symbol: string

Trading symbol

time_in_force: TimeInForce

Time in force instruction

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
"OTHER"
updated_at: string

Timestamp of the most recent update (UTC)

formatdate-time
venue: string

MIC code of the venue where the order is routed

average_fill_price?: string | null

Average fill price across all executions

details?: Array<string>

Contains execution, rejection or cancellation details, if any

expires_at?: string | null

Timestamp when the order will expire (UTC). Present when time_in_force is GOOD_TILL_DATE.

formatdate-time
extended_hours?: boolean | null

Whether the order is eligible for extended-hours trading.

limit_offset?: string | null

Limit offset for trailing stop-limit orders (signed)

limit_price?: string | null

Limit price (for LIMIT and STOP_LIMIT orders)

queue_state?: QueueState | null

Parent order queue state, present when the order is awaiting release or released.

One of the following:
"AWAITING_RELEASE"
"RELEASED"
releases_at?: string | null

Scheduled release time for orders awaiting release.

formatdate-time
stop_price?: string | null

Stop price (for STOP and STOP_LIMIT orders)

trailing_limit_px?: string | null

Current trailing limit price computed by the trailing strategy

trailing_offset?: string | null

Trailing offset amount for trailing orders

trailing_offset_type?: TrailingOffsetType | null

Trailing offset type for trailing orders

One of the following:
"PRICE"
"BPS"
trailing_stop_px?: string | null

Current trailing stop price computed by the trailing strategy

trailing_watermark_px?: string | null

Trailing watermark price for trailing orders

trailing_watermark_ts?: string | null

Trailing watermark timestamp for trailing orders

formatdate-time
underlying_instrument_id?: string | null

OEMS instrument ID of the option’s underlying instrument. Populated only for OPTIONS orders; null for non-options and for options whose underlier cannot be resolved from the instrument cache.

formatuuid
OrderCancelOpenOrderResponse extends BaseResponse { metadata, error } { data }
data: Order { id, account_id, client_order_id, 29 more }

A trading order with its current state and execution details.

This is the unified API representation of an order across its lifecycle, combining data from execution reports, order status queries, and parent/child tracking.

id: string

Engine-assigned unique identifier for this order (UUID).

account_id: number

Account placing the order

formatint64
client_order_id: string

Client-provided identifier echoed back (FIX tag 11).

created_at: string

Timestamp when order was created (UTC)

formatdate-time
filled_quantity: string

Cumulative filled quantity

instrument_id: string

OEMS instrument UUID for the traded instrument.

formatuuid
instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
leaves_quantity: string

Remaining unfilled quantity

order_type: OrderType

Type of order (MARKET, LIMIT, etc.)

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
"OTHER"
quantity: string

Total order quantity

side: Side

Side of the order (BUY, SELL, SELL_SHORT)

One of the following:
"BUY"
"SELL"
"SELL_SHORT"
"OTHER"
status: OrderStatus

Current status of the order

One of the following:
"PENDING_NEW"
"NEW"
"PARTIALLY_FILLED"
"FILLED"
"CANCELED"
"REJECTED"
"EXPIRED"
"PENDING_CANCEL"
"PENDING_REPLACE"
"REPLACED"
"DONE_FOR_DAY"
"STOPPED"
"SUSPENDED"
"CALCULATED"
"OTHER"
symbol: string

Trading symbol

time_in_force: TimeInForce

Time in force instruction

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
"OTHER"
updated_at: string

Timestamp of the most recent update (UTC)

formatdate-time
venue: string

MIC code of the venue where the order is routed

average_fill_price?: string | null

Average fill price across all executions

details?: Array<string>

Contains execution, rejection or cancellation details, if any

expires_at?: string | null

Timestamp when the order will expire (UTC). Present when time_in_force is GOOD_TILL_DATE.

formatdate-time
extended_hours?: boolean | null

Whether the order is eligible for extended-hours trading.

limit_offset?: string | null

Limit offset for trailing stop-limit orders (signed)

limit_price?: string | null

Limit price (for LIMIT and STOP_LIMIT orders)

queue_state?: QueueState | null

Parent order queue state, present when the order is awaiting release or released.

One of the following:
"AWAITING_RELEASE"
"RELEASED"
releases_at?: string | null

Scheduled release time for orders awaiting release.

formatdate-time
stop_price?: string | null

Stop price (for STOP and STOP_LIMIT orders)

trailing_limit_px?: string | null

Current trailing limit price computed by the trailing strategy

trailing_offset?: string | null

Trailing offset amount for trailing orders

trailing_offset_type?: TrailingOffsetType | null

Trailing offset type for trailing orders

One of the following:
"PRICE"
"BPS"
trailing_stop_px?: string | null

Current trailing stop price computed by the trailing strategy

trailing_watermark_px?: string | null

Trailing watermark price for trailing orders

trailing_watermark_ts?: string | null

Trailing watermark timestamp for trailing orders

formatdate-time
underlying_instrument_id?: string | null

OEMS instrument ID of the option’s underlying instrument. Populated only for OPTIONS orders; null for non-options and for options whose underlier cannot be resolved from the instrument cache.

formatuuid
OrderCancelAllOpenOrdersResponse extends BaseResponse { metadata, error } { data }
data: OrderList { id, account_id, client_order_id, 29 more }
id: string

Engine-assigned unique identifier for this order (UUID).

account_id: number

Account placing the order

formatint64
client_order_id: string

Client-provided identifier echoed back (FIX tag 11).

created_at: string

Timestamp when order was created (UTC)

formatdate-time
filled_quantity: string

Cumulative filled quantity

instrument_id: string

OEMS instrument UUID for the traded instrument.

formatuuid
instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
leaves_quantity: string

Remaining unfilled quantity

order_type: OrderType

Type of order (MARKET, LIMIT, etc.)

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
"OTHER"
quantity: string

Total order quantity

side: Side

Side of the order (BUY, SELL, SELL_SHORT)

One of the following:
"BUY"
"SELL"
"SELL_SHORT"
"OTHER"
status: OrderStatus

Current status of the order

One of the following:
"PENDING_NEW"
"NEW"
"PARTIALLY_FILLED"
"FILLED"
"CANCELED"
"REJECTED"
"EXPIRED"
"PENDING_CANCEL"
"PENDING_REPLACE"
"REPLACED"
"DONE_FOR_DAY"
"STOPPED"
"SUSPENDED"
"CALCULATED"
"OTHER"
symbol: string

Trading symbol

time_in_force: TimeInForce

Time in force instruction

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
"OTHER"
updated_at: string

Timestamp of the most recent update (UTC)

formatdate-time
venue: string

MIC code of the venue where the order is routed

average_fill_price?: string | null

Average fill price across all executions

details?: Array<string>

Contains execution, rejection or cancellation details, if any

expires_at?: string | null

Timestamp when the order will expire (UTC). Present when time_in_force is GOOD_TILL_DATE.

formatdate-time
extended_hours?: boolean | null

Whether the order is eligible for extended-hours trading.

limit_offset?: string | null

Limit offset for trailing stop-limit orders (signed)

limit_price?: string | null

Limit price (for LIMIT and STOP_LIMIT orders)

queue_state?: QueueState | null

Parent order queue state, present when the order is awaiting release or released.

One of the following:
"AWAITING_RELEASE"
"RELEASED"
releases_at?: string | null

Scheduled release time for orders awaiting release.

formatdate-time
stop_price?: string | null

Stop price (for STOP and STOP_LIMIT orders)

trailing_limit_px?: string | null

Current trailing limit price computed by the trailing strategy

trailing_offset?: string | null

Trailing offset amount for trailing orders

trailing_offset_type?: TrailingOffsetType | null

Trailing offset type for trailing orders

One of the following:
"PRICE"
"BPS"
trailing_stop_px?: string | null

Current trailing stop price computed by the trailing strategy

trailing_watermark_px?: string | null

Trailing watermark price for trailing orders

trailing_watermark_ts?: string | null

Trailing watermark timestamp for trailing orders

formatdate-time
underlying_instrument_id?: string | null

OEMS instrument ID of the option’s underlying instrument. Populated only for OPTIONS orders; null for non-options and for options whose underlier cannot be resolved from the instrument cache.

formatuuid

V1Positions

View positions and manage position instructions.

Get Positions
client.v1.positions.getPositions(numberaccountID, PositionGetPositionsParams { instrument_ids, page_size, page_token, 2 more } query?, RequestOptionsoptions?): PositionGetPositionsResponse { data }
GET/v1/accounts/{account_id}/positions
Close Positions
client.v1.positions.closePositions(numberaccountID, PositionClosePositionsParams { cancel_orders } body?, RequestOptionsoptions?): PositionClosePositionsResponse { data }
DELETE/v1/accounts/{account_id}/positions
Close Position
client.v1.positions.closePosition(InstrumentIDOrSymbolinstrumentID, PositionClosePositionParams { account_id, cancel_orders } params, RequestOptionsoptions?): PositionClosePositionResponse { data }
DELETE/v1/accounts/{account_id}/positions/{instrument_id}
List Position Instructions
client.v1.positions.getPositionInstructions(numberaccountID, PositionGetPositionInstructionsParams { instrument_id } query?, RequestOptionsoptions?): PositionGetPositionInstructionsResponse { data }
GET/v1/accounts/{account_id}/positions/instructions
Submit Position Instructions
client.v1.positions.submitPositionInstructions(numberaccountID, PositionSubmitPositionInstructionsParams { instructions } params, RequestOptionsoptions?): PositionSubmitPositionInstructionsResponse { data }
POST/v1/accounts/{account_id}/positions/instructions
Cancel Position Instruction
client.v1.positions.cancelPositionInstruction(stringinstructionID, PositionCancelPositionInstructionParams { account_id } params, RequestOptionsoptions?): PositionCancelPositionInstructionResponse { data }
DELETE/v1/accounts/{account_id}/positions/instructions/{instruction_id}
ModelsExpand Collapse
Position { account_id, available_quantity, instrument_id, 15 more }

Represents a holding of a particular instrument in an account

account_id: number

The account this position belongs to

formatint64
available_quantity: string

The quantity of a position that is free to be operated on.

instrument_id: string

OEMS instrument UUID

formatuuid
instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
market_value: string

The current market value of the position

position_type: PositionType

The type of position

One of the following:
"LONG"
"SHORT"
"LONG_CALL"
"SHORT_CALL"
"LONG_PUT"
"SHORT_PUT"
quantity: string

The number of shares or contracts. Can be positive (long) or negative (short)

symbol: string

The trading symbol for the instrument

avg_price?: string | null

The average price paid per share or contract for this position

closing_price?: string | null

The closing price used to value the position for the last trading day

closing_price_date?: string | null

The market date associated with closing_price

formatdate
cost_basis?: string | null

The total cost basis for this position

daily_unrealized_pnl?: string | null

The unrealized profit or loss for this position relative to the previous close

daily_unrealized_pnl_pct?: string | null

The unrealized profit/loss for the position for the current day, expressed as a percentage of the baseline value (range: 0-100).

instrument_price?: string | null

The current market price of the instrument

underlying_instrument_id?: string | null

OEMS instrument identifier of the underlying instrument, if resolvable

formatuuid
unrealized_pnl?: string | null

The total unrealized profit or loss for this position based on current market value

unrealized_pnl_pct?: string | null

The unrealized profit/loss for the position, expressed as a percentage of the position’s cost basis (range: 0-100).

PositionInstruction { id, account_id, instruction_id, 9 more }

A position instruction and its current lifecycle state.

id: string

Server-assigned id. Used as the path parameter on cancel.

formatuuid
account_id: number

Account the instruction belongs to.

formatint64
instruction_id: string

Caller-supplied idempotency key echoed from the submit request; the server-assigned fallback when none was supplied.

instruction_type: PositionInstructionType

The action this instruction requests.

One of the following:
"EXERCISE"
"DO_NOT_EXERCISE"
"CONTRARY_EXERCISE"
instrument_id: string

Identifier of the options contract this instruction acts on.

formatuuid
quantity: string

Number of contracts included in the instruction.

Current lifecycle status.

One of the following:
"SENT"
"ACCEPTED"
"REJECTED"
"ENGINE_REJECTED"
"CANCEL_REQUESTED"
"CANCELLED"
"CANCEL_FAILED"
"UNKNOWN"
symbol: string

Options symbol (OSI) for display.

accepted_quantity?: string | null

Number of contracts accepted by the clearing venue. Populated once the instruction reaches ACCEPTED.

created_at?: string | null

When the instruction was first accepted by the service.

formatdate-time
rejection_reason?: string | null

Human-readable explanation populated on any non-success terminal status — REJECTED, ENGINE_REJECTED, or CANCEL_FAILED. On a 207 Multi-Status batch submit the top-level error field summarizes the batch; per-row detail continues to live here.

updated_at?: string | null

When the instruction’s lifecycle state last changed.

formatdate-time
PositionInstructionList = Array<PositionInstruction { id, account_id, instruction_id, 9 more } >
id: string

Server-assigned id. Used as the path parameter on cancel.

formatuuid
account_id: number

Account the instruction belongs to.

formatint64
instruction_id: string

Caller-supplied idempotency key echoed from the submit request; the server-assigned fallback when none was supplied.

instruction_type: PositionInstructionType

The action this instruction requests.

One of the following:
"EXERCISE"
"DO_NOT_EXERCISE"
"CONTRARY_EXERCISE"
instrument_id: string

Identifier of the options contract this instruction acts on.

formatuuid
quantity: string

Number of contracts included in the instruction.

Current lifecycle status.

One of the following:
"SENT"
"ACCEPTED"
"REJECTED"
"ENGINE_REJECTED"
"CANCEL_REQUESTED"
"CANCELLED"
"CANCEL_FAILED"
"UNKNOWN"
symbol: string

Options symbol (OSI) for display.

accepted_quantity?: string | null

Number of contracts accepted by the clearing venue. Populated once the instruction reaches ACCEPTED.

created_at?: string | null

When the instruction was first accepted by the service.

formatdate-time
rejection_reason?: string | null

Human-readable explanation populated on any non-success terminal status — REJECTED, ENGINE_REJECTED, or CANCEL_FAILED. On a 207 Multi-Status batch submit the top-level error field summarizes the batch; per-row detail continues to live here.

updated_at?: string | null

When the instruction’s lifecycle state last changed.

formatdate-time
PositionInstructionStatus = "SENT" | "ACCEPTED" | "REJECTED" | 5 more

Lifecycle status of a position instruction.

One of the following:
"SENT"
"ACCEPTED"
"REJECTED"
"ENGINE_REJECTED"
"CANCEL_REQUESTED"
"CANCELLED"
"CANCEL_FAILED"
"UNKNOWN"
PositionInstructionType = "EXERCISE" | "DO_NOT_EXERCISE" | "CONTRARY_EXERCISE"

The action to take against an options position.

One of the following:
"EXERCISE"
"DO_NOT_EXERCISE"
"CONTRARY_EXERCISE"
PositionList = Array<Position { account_id, available_quantity, instrument_id, 15 more } >
account_id: number

The account this position belongs to

formatint64
available_quantity: string

The quantity of a position that is free to be operated on.

instrument_id: string

OEMS instrument UUID

formatuuid
instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
market_value: string

The current market value of the position

position_type: PositionType

The type of position

One of the following:
"LONG"
"SHORT"
"LONG_CALL"
"SHORT_CALL"
"LONG_PUT"
"SHORT_PUT"
quantity: string

The number of shares or contracts. Can be positive (long) or negative (short)

symbol: string

The trading symbol for the instrument

avg_price?: string | null

The average price paid per share or contract for this position

closing_price?: string | null

The closing price used to value the position for the last trading day

closing_price_date?: string | null

The market date associated with closing_price

formatdate
cost_basis?: string | null

The total cost basis for this position

daily_unrealized_pnl?: string | null

The unrealized profit or loss for this position relative to the previous close

daily_unrealized_pnl_pct?: string | null

The unrealized profit/loss for the position for the current day, expressed as a percentage of the baseline value (range: 0-100).

instrument_price?: string | null

The current market price of the instrument

underlying_instrument_id?: string | null

OEMS instrument identifier of the underlying instrument, if resolvable

formatuuid
unrealized_pnl?: string | null

The total unrealized profit or loss for this position based on current market value

unrealized_pnl_pct?: string | null

The unrealized profit/loss for the position, expressed as a percentage of the position’s cost basis (range: 0-100).

PositionType = "LONG" | "SHORT" | "LONG_CALL" | 3 more

Position type classification

One of the following:
"LONG"
"SHORT"
"LONG_CALL"
"SHORT_CALL"
"LONG_PUT"
"SHORT_PUT"
PositionGetPositionsResponse extends BaseResponse { metadata, error } { data }
data: PositionList { account_id, available_quantity, instrument_id, 15 more }
account_id: number

The account this position belongs to

formatint64
available_quantity: string

The quantity of a position that is free to be operated on.

instrument_id: string

OEMS instrument UUID

formatuuid
instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
market_value: string

The current market value of the position

position_type: PositionType

The type of position

One of the following:
"LONG"
"SHORT"
"LONG_CALL"
"SHORT_CALL"
"LONG_PUT"
"SHORT_PUT"
quantity: string

The number of shares or contracts. Can be positive (long) or negative (short)

symbol: string

The trading symbol for the instrument

avg_price?: string | null

The average price paid per share or contract for this position

closing_price?: string | null

The closing price used to value the position for the last trading day

closing_price_date?: string | null

The market date associated with closing_price

formatdate
cost_basis?: string | null

The total cost basis for this position

daily_unrealized_pnl?: string | null

The unrealized profit or loss for this position relative to the previous close

daily_unrealized_pnl_pct?: string | null

The unrealized profit/loss for the position for the current day, expressed as a percentage of the baseline value (range: 0-100).

instrument_price?: string | null

The current market price of the instrument

underlying_instrument_id?: string | null

OEMS instrument identifier of the underlying instrument, if resolvable

formatuuid
unrealized_pnl?: string | null

The total unrealized profit or loss for this position based on current market value

unrealized_pnl_pct?: string | null

The unrealized profit/loss for the position, expressed as a percentage of the position’s cost basis (range: 0-100).

PositionClosePositionsResponse extends BaseResponse { metadata, error } { data }
data: OrderList { id, account_id, client_order_id, 29 more }
id: string

Engine-assigned unique identifier for this order (UUID).

account_id: number

Account placing the order

formatint64
client_order_id: string

Client-provided identifier echoed back (FIX tag 11).

created_at: string

Timestamp when order was created (UTC)

formatdate-time
filled_quantity: string

Cumulative filled quantity

instrument_id: string

OEMS instrument UUID for the traded instrument.

formatuuid
instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
leaves_quantity: string

Remaining unfilled quantity

order_type: OrderType

Type of order (MARKET, LIMIT, etc.)

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
"OTHER"
quantity: string

Total order quantity

side: Side

Side of the order (BUY, SELL, SELL_SHORT)

One of the following:
"BUY"
"SELL"
"SELL_SHORT"
"OTHER"
status: OrderStatus

Current status of the order

One of the following:
"PENDING_NEW"
"NEW"
"PARTIALLY_FILLED"
"FILLED"
"CANCELED"
"REJECTED"
"EXPIRED"
"PENDING_CANCEL"
"PENDING_REPLACE"
"REPLACED"
"DONE_FOR_DAY"
"STOPPED"
"SUSPENDED"
"CALCULATED"
"OTHER"
symbol: string

Trading symbol

time_in_force: TimeInForce

Time in force instruction

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
"OTHER"
updated_at: string

Timestamp of the most recent update (UTC)

formatdate-time
venue: string

MIC code of the venue where the order is routed

average_fill_price?: string | null

Average fill price across all executions

details?: Array<string>

Contains execution, rejection or cancellation details, if any

expires_at?: string | null

Timestamp when the order will expire (UTC). Present when time_in_force is GOOD_TILL_DATE.

formatdate-time
extended_hours?: boolean | null

Whether the order is eligible for extended-hours trading.

limit_offset?: string | null

Limit offset for trailing stop-limit orders (signed)

limit_price?: string | null

Limit price (for LIMIT and STOP_LIMIT orders)

queue_state?: QueueState | null

Parent order queue state, present when the order is awaiting release or released.

One of the following:
"AWAITING_RELEASE"
"RELEASED"
releases_at?: string | null

Scheduled release time for orders awaiting release.

formatdate-time
stop_price?: string | null

Stop price (for STOP and STOP_LIMIT orders)

trailing_limit_px?: string | null

Current trailing limit price computed by the trailing strategy

trailing_offset?: string | null

Trailing offset amount for trailing orders

trailing_offset_type?: TrailingOffsetType | null

Trailing offset type for trailing orders

One of the following:
"PRICE"
"BPS"
trailing_stop_px?: string | null

Current trailing stop price computed by the trailing strategy

trailing_watermark_px?: string | null

Trailing watermark price for trailing orders

trailing_watermark_ts?: string | null

Trailing watermark timestamp for trailing orders

formatdate-time
underlying_instrument_id?: string | null

OEMS instrument ID of the option’s underlying instrument. Populated only for OPTIONS orders; null for non-options and for options whose underlier cannot be resolved from the instrument cache.

formatuuid
PositionClosePositionResponse extends BaseResponse { metadata, error } { data }
data: OrderList { id, account_id, client_order_id, 29 more }
id: string

Engine-assigned unique identifier for this order (UUID).

account_id: number

Account placing the order

formatint64
client_order_id: string

Client-provided identifier echoed back (FIX tag 11).

created_at: string

Timestamp when order was created (UTC)

formatdate-time
filled_quantity: string

Cumulative filled quantity

instrument_id: string

OEMS instrument UUID for the traded instrument.

formatuuid
instrument_type: SecurityType

Type of security

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
leaves_quantity: string

Remaining unfilled quantity

order_type: OrderType

Type of order (MARKET, LIMIT, etc.)

One of the following:
"MARKET"
"LIMIT"
"STOP"
"STOP_LIMIT"
"TRAILING_STOP"
"TRAILING_STOP_LIMIT"
"OTHER"
quantity: string

Total order quantity

side: Side

Side of the order (BUY, SELL, SELL_SHORT)

One of the following:
"BUY"
"SELL"
"SELL_SHORT"
"OTHER"
status: OrderStatus

Current status of the order

One of the following:
"PENDING_NEW"
"NEW"
"PARTIALLY_FILLED"
"FILLED"
"CANCELED"
"REJECTED"
"EXPIRED"
"PENDING_CANCEL"
"PENDING_REPLACE"
"REPLACED"
"DONE_FOR_DAY"
"STOPPED"
"SUSPENDED"
"CALCULATED"
"OTHER"
symbol: string

Trading symbol

time_in_force: TimeInForce

Time in force instruction

One of the following:
"DAY"
"GOOD_TILL_CANCEL"
"IMMEDIATE_OR_CANCEL"
"FILL_OR_KILL"
"GOOD_TILL_DATE"
"AT_THE_OPENING"
"AT_THE_CLOSE"
"GOOD_TILL_CROSSING"
"GOOD_THROUGH_CROSSING"
"AT_CROSSING"
"OTHER"
updated_at: string

Timestamp of the most recent update (UTC)

formatdate-time
venue: string

MIC code of the venue where the order is routed

average_fill_price?: string | null

Average fill price across all executions

details?: Array<string>

Contains execution, rejection or cancellation details, if any

expires_at?: string | null

Timestamp when the order will expire (UTC). Present when time_in_force is GOOD_TILL_DATE.

formatdate-time
extended_hours?: boolean | null

Whether the order is eligible for extended-hours trading.

limit_offset?: string | null

Limit offset for trailing stop-limit orders (signed)

limit_price?: string | null

Limit price (for LIMIT and STOP_LIMIT orders)

queue_state?: QueueState | null

Parent order queue state, present when the order is awaiting release or released.

One of the following:
"AWAITING_RELEASE"
"RELEASED"
releases_at?: string | null

Scheduled release time for orders awaiting release.

formatdate-time
stop_price?: string | null

Stop price (for STOP and STOP_LIMIT orders)

trailing_limit_px?: string | null

Current trailing limit price computed by the trailing strategy

trailing_offset?: string | null

Trailing offset amount for trailing orders

trailing_offset_type?: TrailingOffsetType | null

Trailing offset type for trailing orders

One of the following:
"PRICE"
"BPS"
trailing_stop_px?: string | null

Current trailing stop price computed by the trailing strategy

trailing_watermark_px?: string | null

Trailing watermark price for trailing orders

trailing_watermark_ts?: string | null

Trailing watermark timestamp for trailing orders

formatdate-time
underlying_instrument_id?: string | null

OEMS instrument ID of the option’s underlying instrument. Populated only for OPTIONS orders; null for non-options and for options whose underlier cannot be resolved from the instrument cache.

formatuuid
PositionGetPositionInstructionsResponse extends BaseResponse { metadata, error } { data }
data: PositionInstructionList { id, account_id, instruction_id, 9 more }
id: string

Server-assigned id. Used as the path parameter on cancel.

formatuuid
account_id: number

Account the instruction belongs to.

formatint64
instruction_id: string

Caller-supplied idempotency key echoed from the submit request; the server-assigned fallback when none was supplied.

instruction_type: PositionInstructionType

The action this instruction requests.

One of the following:
"EXERCISE"
"DO_NOT_EXERCISE"
"CONTRARY_EXERCISE"
instrument_id: string

Identifier of the options contract this instruction acts on.

formatuuid
quantity: string

Number of contracts included in the instruction.

Current lifecycle status.

One of the following:
"SENT"
"ACCEPTED"
"REJECTED"
"ENGINE_REJECTED"
"CANCEL_REQUESTED"
"CANCELLED"
"CANCEL_FAILED"
"UNKNOWN"
symbol: string

Options symbol (OSI) for display.

accepted_quantity?: string | null

Number of contracts accepted by the clearing venue. Populated once the instruction reaches ACCEPTED.

created_at?: string | null

When the instruction was first accepted by the service.

formatdate-time
rejection_reason?: string | null

Human-readable explanation populated on any non-success terminal status — REJECTED, ENGINE_REJECTED, or CANCEL_FAILED. On a 207 Multi-Status batch submit the top-level error field summarizes the batch; per-row detail continues to live here.

updated_at?: string | null

When the instruction’s lifecycle state last changed.

formatdate-time
PositionSubmitPositionInstructionsResponse extends BaseResponse { metadata, error } { data }
data: PositionInstructionList { id, account_id, instruction_id, 9 more }
id: string

Server-assigned id. Used as the path parameter on cancel.

formatuuid
account_id: number

Account the instruction belongs to.

formatint64
instruction_id: string

Caller-supplied idempotency key echoed from the submit request; the server-assigned fallback when none was supplied.

instruction_type: PositionInstructionType

The action this instruction requests.

One of the following:
"EXERCISE"
"DO_NOT_EXERCISE"
"CONTRARY_EXERCISE"
instrument_id: string

Identifier of the options contract this instruction acts on.

formatuuid
quantity: string

Number of contracts included in the instruction.

Current lifecycle status.

One of the following:
"SENT"
"ACCEPTED"
"REJECTED"
"ENGINE_REJECTED"
"CANCEL_REQUESTED"
"CANCELLED"
"CANCEL_FAILED"
"UNKNOWN"
symbol: string

Options symbol (OSI) for display.

accepted_quantity?: string | null

Number of contracts accepted by the clearing venue. Populated once the instruction reaches ACCEPTED.

created_at?: string | null

When the instruction was first accepted by the service.

formatdate-time
rejection_reason?: string | null

Human-readable explanation populated on any non-success terminal status — REJECTED, ENGINE_REJECTED, or CANCEL_FAILED. On a 207 Multi-Status batch submit the top-level error field summarizes the batch; per-row detail continues to live here.

updated_at?: string | null

When the instruction’s lifecycle state last changed.

formatdate-time
PositionCancelPositionInstructionResponse extends BaseResponse { metadata, error } { data }
data: PositionInstruction { id, account_id, instruction_id, 9 more }

A position instruction and its current lifecycle state.

id: string

Server-assigned id. Used as the path parameter on cancel.

formatuuid
account_id: number

Account the instruction belongs to.

formatint64
instruction_id: string

Caller-supplied idempotency key echoed from the submit request; the server-assigned fallback when none was supplied.

instruction_type: PositionInstructionType

The action this instruction requests.

One of the following:
"EXERCISE"
"DO_NOT_EXERCISE"
"CONTRARY_EXERCISE"
instrument_id: string

Identifier of the options contract this instruction acts on.

formatuuid
quantity: string

Number of contracts included in the instruction.

Current lifecycle status.

One of the following:
"SENT"
"ACCEPTED"
"REJECTED"
"ENGINE_REJECTED"
"CANCEL_REQUESTED"
"CANCELLED"
"CANCEL_FAILED"
"UNKNOWN"
symbol: string

Options symbol (OSI) for display.

accepted_quantity?: string | null

Number of contracts accepted by the clearing venue. Populated once the instruction reaches ACCEPTED.

created_at?: string | null

When the instruction was first accepted by the service.

formatdate-time
rejection_reason?: string | null

Human-readable explanation populated on any non-success terminal status — REJECTED, ENGINE_REJECTED, or CANCEL_FAILED. On a 207 Multi-Status batch submit the top-level error field summarizes the batch; per-row detail continues to live here.

updated_at?: string | null

When the instruction’s lifecycle state last changed.

formatdate-time

V1Watchlist

Create and manage watchlists.

Get Watchlists
client.v1.watchlist.getWatchlists(WatchlistGetWatchlistsParams { page_size, page_token } query?, RequestOptionsoptions?): WatchlistGetWatchlistsResponse { data }
GET/v1/watchlists
Get Watchlist By ID
client.v1.watchlist.getWatchlistByID(stringwatchlistID, RequestOptionsoptions?): WatchlistGetWatchlistByIDResponse { data }
GET/v1/watchlists/{watchlist_id}
Create Watchlist
client.v1.watchlist.createWatchlist(WatchlistCreateWatchlistParams { name } body, RequestOptionsoptions?): WatchlistCreateWatchlistResponse { data }
POST/v1/watchlists
Delete Watchlist
client.v1.watchlist.deleteWatchlist(stringwatchlistID, RequestOptionsoptions?): WatchlistDeleteWatchlistResponse
DELETE/v1/watchlists/{watchlist_id}
Add Watchlist Item
client.v1.watchlist.addWatchlistItem(stringwatchlistID, WatchlistAddWatchlistItemParams { instrument_id } body, RequestOptionsoptions?): WatchlistAddWatchlistItemResponse { data }
POST/v1/watchlists/{watchlist_id}/items
Delete Watchlist Item
client.v1.watchlist.deleteWatchlistItem(stringitemID, WatchlistDeleteWatchlistItemParams { watchlist_id } params, RequestOptionsoptions?): WatchlistDeleteWatchlistItemResponse
DELETE/v1/watchlists/{watchlist_id}/items/{item_id}
ModelsExpand Collapse
AddWatchlistItemData { item_id }

Response data for adding a watchlist item

item_id: string

ID of the created item

formatuuid
WatchlistDetail { id, created_at, items, name }

Detailed watchlist with all items

id: string

Watchlist ID

formatuuid
created_at: string

Creation timestamp

formatdate-time
items: Array<WatchlistItemEntry { id, added_at, added_price, instrument } >

Items in the watchlist

id: string

Item ID

formatuuid
added_at: string

When the item was added

formatdate-time
added_price?: string | null

Price when the item was added

instrument?: Instrument { id, country_of_issue, currency, 19 more } | null

Instrument details

id: string

Unique OEMS instrument identifier (UUID)

formatuuid
country_of_issue: string

The ISO country code of the instrument’s issue

currency: string

The ISO currency code in which the instrument is traded

easy_to_borrow: boolean

Indicates if the instrument is classified as Easy-To-Borrow

is_liquidation_only: boolean

Indicates if the instrument is liquidation only and cannot be bought

is_marginable: boolean

Indicates if the instrument is marginable

is_restricted: boolean

Indicates if the instrument is restricted from trading

is_short_prohibited: boolean

Indicates if short selling is prohibited for the instrument

is_threshold_security: boolean

Indicates if the instrument is on the Regulation SHO Threshold Security List

is_tradable: boolean

Indicates if the instrument is tradable

symbol: string

The trading symbol for the instrument

venue: string

The MIC code of the primary listing venue

adv?: string | null

Average daily share volume from the security definition.

expiry?: string | null

The expiration date for options instruments

formatdate
instrument_type?: SecurityType | null

The type of security (e.g., Common Stock, ETF)

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
long_margin_rate?: string | null

The percent of a long position’s value you must post as margin

name?: string | null

The full name of the instrument or its issuer

notional_adv?: string | null

Notional ADV (adv × previous_close). The primary liquidity signal used by /instruments/search ranking. Computed at response time so it stays consistent with whatever adv and previous_close show.

options_expiry_dates?: Array<string> | null

Available options expiration dates for this instrument. Present only when include_options_expiry_dates=true in the request.

previous_close?: string | null

Last close price from the security definition.

short_margin_rate?: string | null

The percent of a short position’s value you must post as margin

strike_price?: string | null

The strike price for options instruments

name: string

Watchlist name

WatchlistEntry { id, created_at, name }

Represents a user watchlist.

id: string

The unique identifier for the watchlist.

formatuuid
created_at: string

The timestamp when the watchlist was created.

formatdate-time
name: string

The user-provided watchlist name.

WatchlistEntryList = Array<WatchlistEntry { id, created_at, name } >
id: string

The unique identifier for the watchlist.

formatuuid
created_at: string

The timestamp when the watchlist was created.

formatdate-time
name: string

The user-provided watchlist name.

WatchlistItemEntry { id, added_at, added_price, instrument }

A single item in a watchlist

id: string

Item ID

formatuuid
added_at: string

When the item was added

formatdate-time
added_price?: string | null

Price when the item was added

instrument?: Instrument { id, country_of_issue, currency, 19 more } | null

Instrument details

id: string

Unique OEMS instrument identifier (UUID)

formatuuid
country_of_issue: string

The ISO country code of the instrument’s issue

currency: string

The ISO currency code in which the instrument is traded

easy_to_borrow: boolean

Indicates if the instrument is classified as Easy-To-Borrow

is_liquidation_only: boolean

Indicates if the instrument is liquidation only and cannot be bought

is_marginable: boolean

Indicates if the instrument is marginable

is_restricted: boolean

Indicates if the instrument is restricted from trading

is_short_prohibited: boolean

Indicates if short selling is prohibited for the instrument

is_threshold_security: boolean

Indicates if the instrument is on the Regulation SHO Threshold Security List

is_tradable: boolean

Indicates if the instrument is tradable

symbol: string

The trading symbol for the instrument

venue: string

The MIC code of the primary listing venue

adv?: string | null

Average daily share volume from the security definition.

expiry?: string | null

The expiration date for options instruments

formatdate
instrument_type?: SecurityType | null

The type of security (e.g., Common Stock, ETF)

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
long_margin_rate?: string | null

The percent of a long position’s value you must post as margin

name?: string | null

The full name of the instrument or its issuer

notional_adv?: string | null

Notional ADV (adv × previous_close). The primary liquidity signal used by /instruments/search ranking. Computed at response time so it stays consistent with whatever adv and previous_close show.

options_expiry_dates?: Array<string> | null

Available options expiration dates for this instrument. Present only when include_options_expiry_dates=true in the request.

previous_close?: string | null

Last close price from the security definition.

short_margin_rate?: string | null

The percent of a short position’s value you must post as margin

strike_price?: string | null

The strike price for options instruments

WatchlistGetWatchlistsResponse extends BaseResponse { metadata, error } { data }
data: WatchlistEntryList { id, created_at, name }
id: string

The unique identifier for the watchlist.

formatuuid
created_at: string

The timestamp when the watchlist was created.

formatdate-time
name: string

The user-provided watchlist name.

WatchlistGetWatchlistByIDResponse extends BaseResponse { metadata, error } { data }
data: WatchlistDetail { id, created_at, items, name }

Detailed watchlist with all items

id: string

Watchlist ID

formatuuid
created_at: string

Creation timestamp

formatdate-time
items: Array<WatchlistItemEntry { id, added_at, added_price, instrument } >

Items in the watchlist

id: string

Item ID

formatuuid
added_at: string

When the item was added

formatdate-time
added_price?: string | null

Price when the item was added

instrument?: Instrument { id, country_of_issue, currency, 19 more } | null

Instrument details

id: string

Unique OEMS instrument identifier (UUID)

formatuuid
country_of_issue: string

The ISO country code of the instrument’s issue

currency: string

The ISO currency code in which the instrument is traded

easy_to_borrow: boolean

Indicates if the instrument is classified as Easy-To-Borrow

is_liquidation_only: boolean

Indicates if the instrument is liquidation only and cannot be bought

is_marginable: boolean

Indicates if the instrument is marginable

is_restricted: boolean

Indicates if the instrument is restricted from trading

is_short_prohibited: boolean

Indicates if short selling is prohibited for the instrument

is_threshold_security: boolean

Indicates if the instrument is on the Regulation SHO Threshold Security List

is_tradable: boolean

Indicates if the instrument is tradable

symbol: string

The trading symbol for the instrument

venue: string

The MIC code of the primary listing venue

adv?: string | null

Average daily share volume from the security definition.

expiry?: string | null

The expiration date for options instruments

formatdate
instrument_type?: SecurityType | null

The type of security (e.g., Common Stock, ETF)

One of the following:
"COMMON_STOCK"
"PREFERRED_STOCK"
"OPTION"
"CASH"
"OTHER"
long_margin_rate?: string | null

The percent of a long position’s value you must post as margin

name?: string | null

The full name of the instrument or its issuer

notional_adv?: string | null

Notional ADV (adv × previous_close). The primary liquidity signal used by /instruments/search ranking. Computed at response time so it stays consistent with whatever adv and previous_close show.

options_expiry_dates?: Array<string> | null

Available options expiration dates for this instrument. Present only when include_options_expiry_dates=true in the request.

previous_close?: string | null

Last close price from the security definition.

short_margin_rate?: string | null

The percent of a short position’s value you must post as margin

strike_price?: string | null

The strike price for options instruments

name: string

Watchlist name

WatchlistCreateWatchlistResponse extends BaseResponse { metadata, error } { data }
data: WatchlistEntry { id, created_at, name }

Represents a user watchlist.

id: string

The unique identifier for the watchlist.

formatuuid
created_at: string

The timestamp when the watchlist was created.

formatdate-time
name: string

The user-provided watchlist name.

WatchlistDeleteWatchlistResponse = unknown
WatchlistAddWatchlistItemResponse extends BaseResponse { metadata, error } { data }
data: AddWatchlistItemData { item_id }

Response data for adding a watchlist item

item_id: string

ID of the created item

formatuuid
WatchlistDeleteWatchlistItemResponse = unknown

V1Websocket

Active Websocket.

Websocket Handler
client.v1.websocket.websocketHandler(RequestOptionsoptions?): void
GET/v1/ws