Skip to content
Get started

V1

ModelsExpand Collapse
enum SecurityType:

Security type

COMMON_STOCK("COMMON_STOCK")
PREFERRED_STOCK("PREFERRED_STOCK")
OPTION("OPTION")
CASH("CASH")
OTHER("OTHER")

V1Accounts

Manage trading accounts, balances, and portfolio history.

Get Accounts
AccountGetAccountsResponse v1().accounts().getAccounts(AccountGetAccountsParamsparams = AccountGetAccountsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/accounts
Get Account By ID
AccountGetAccountByIdResponse v1().accounts().getAccountById(AccountGetAccountByIdParamsparams = AccountGetAccountByIdParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/accounts/{account_id}
Patch Account By ID
AccountPatchAccountByIdResponse v1().accounts().patchAccountById(AccountPatchAccountByIdParamsparams = AccountPatchAccountByIdParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
PATCH/v1/accounts/{account_id}
Get Account Balances
AccountGetAccountBalancesResponse v1().accounts().getAccountBalances(AccountGetAccountBalancesParamsparams = AccountGetAccountBalancesParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/accounts/{account_id}/balances
Get Portfolio History
AccountGetPortfolioHistoryResponse v1().accounts().getPortfolioHistory(AccountGetPortfolioHistoryParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/accounts/{account_id}/portfolio-history
ModelsExpand Collapse
class Account:

Represents a trading account

long id

The unique identifier for the account

formatint64
long accountHolderEntityId

The account holder entity identifier

formatint64
String fullName

The full legal name of the account

LocalDate openDate

The date the account was opened

formatdate
long optionsLevel

The options level of the account

formatint64
String shortName

The short name of the account

The current status of the account

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

The sub-type of account

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

The type of account

One of the following:
CUSTOMER("CUSTOMER")
OTHER("OTHER")
Optional<LocalDate> closeDate

The date the account was closed, if applicable

formatdate
class AccountBalances:

Represents the balance details for a trading account

long accountId

The unique identifier for the account

formatint64
String buyingPower

The total buying power available in the account.

String currency

Currency identifier for all monetary values.

String dailyRealizedPnl

Realized profit or loss since start of day.

String dailyTotalPnl

Total profit or loss since start of day.

String dailyUnrealizedPnl

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

String equity

The total equity in the account.

String longMarketValue

The total market value of all long positions.

MarginType marginType

The applicable margin model for the account

One of the following:
OTHER("OTHER")
NONE("NONE")
PORTFOLIO_MARGIN("PORTFOLIO_MARGIN")
RISK_BASED_HAIRCUT_BROKER_DEALER("RISK_BASED_HAIRCUT_BROKER_DEALER")
REG_T("REG_T")
RISK_BASED_HAIRCUT_MARKET_MAKER("RISK_BASED_HAIRCUT_MARKET_MAKER")
CIRO("CIRO")
FUTURES_NLV("FUTURES_NLV")
FUTURES_TOT_EQ("FUTURES_TOT_EQ")
String openOrderAdjustment

Signed buying-power correction from open orders.

String settledCash

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

Start-of-day snapshot balances.

String buyingPower

Start-of-day buying power.

String equity

Start-of-day equity.

String longMarketValue

Start-of-day long market value.

String shortMarketValue

Start-of-day short market value.

Optional<LocalDate> asof

Timestamp for the start-of-day values.

formatdate
Optional<String> dayTradeBuyingPower

Start-of-day day-trade buying power.

Optional<String> maintenanceMarginExcess

Start-of-day maintenance margin excess.

Optional<String> maintenanceMarginRequirement

Start-of-day maintenance margin requirement.

Optional<String> tradeCash

Start-of-day trade cash.

String tradeCash

Trade-date effective cash.

String unsettledCredits

Trade-date unsettled cash credits.

String unsettledDebits

Trade-date unsettled cash debits.

String withdrawableCash

The amount of cash currently available to withdraw.

Optional<MarginDetails> marginDetails

Margin-account-only details.

long dayTradeCount

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

formatint32
minimum0
String initialMarginExcess

Initial margin excess for trade-date balances.

String initialMarginRequirement

Initial margin requirement for trade-date balances.

String maintenanceMarginExcess

Maintenance margin excess for trade-date balances.

String maintenanceMarginRequirement

Maintenance margin requirement for trade-date balances.

boolean patternDayTrader

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

Optional<String> dayTradeBuyingPowerUsage

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

Optional<List<MarginTopContributor>> topContributors

Optional top margin contributors, returned only when explicitly requested.

String dayTradeBuyingPowerUsage

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

String initialMarginRequirement

Initial margin requirement attributable to this underlying.

String maintenanceMarginRequirement

Maintenance margin requirement attributable to this underlying.

String marketValue

Net market value attributable to this underlying.

String underlyingInstrumentId

UUID of the underlying security contributing to margin requirement.

formatuuid
Optional<MarginDetailsUsage> usage

Current usage totals.

String total

The total margin available in the current model.

String used

The amount of margin that is currently being utilized.

Optional<String> multiplier

Applied multiplier for margin calculations.

Optional<String> shortMarketValue

The total market value of all short positions.

class AccountBalancesSod:
String buyingPower

Start-of-day buying power.

String equity

Start-of-day equity.

String longMarketValue

Start-of-day long market value.

String shortMarketValue

Start-of-day short market value.

Optional<LocalDate> asof

Timestamp for the start-of-day values.

formatdate
Optional<String> dayTradeBuyingPower

Start-of-day day-trade buying power.

Optional<String> maintenanceMarginExcess

Start-of-day maintenance margin excess.

Optional<String> maintenanceMarginRequirement

Start-of-day maintenance margin requirement.

Optional<String> tradeCash

Start-of-day trade cash.

class AccountSettings:
Optional<RiskSettings> risk

Risk settings for the account

Optional<String> maxNotional

The maximum notional value available to the account

enum AccountStatus:

Account status

ACTIVE("ACTIVE")
INACTIVE("INACTIVE")
CLOSED("CLOSED")
enum AccountSubtype:

Account subtype classification providing more granular categorization

CASH("CASH")
MARGIN("MARGIN")
OTHER("OTHER")
enum AccountType:

Account type classification

CUSTOMER("CUSTOMER")
OTHER("OTHER")
class MarginDetails:
long dayTradeCount

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

formatint32
minimum0
String initialMarginExcess

Initial margin excess for trade-date balances.

String initialMarginRequirement

Initial margin requirement for trade-date balances.

String maintenanceMarginExcess

Maintenance margin excess for trade-date balances.

String maintenanceMarginRequirement

Maintenance margin requirement for trade-date balances.

boolean patternDayTrader

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

Optional<String> dayTradeBuyingPowerUsage

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

Optional<List<MarginTopContributor>> topContributors

Optional top margin contributors, returned only when explicitly requested.

String dayTradeBuyingPowerUsage

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

String initialMarginRequirement

Initial margin requirement attributable to this underlying.

String maintenanceMarginRequirement

Maintenance margin requirement attributable to this underlying.

String marketValue

Net market value attributable to this underlying.

String underlyingInstrumentId

UUID of the underlying security contributing to margin requirement.

formatuuid
Optional<MarginDetailsUsage> usage

Current usage totals.

String total

The total margin available in the current model.

String used

The amount of margin that is currently being utilized.

class MarginDetailsUsage:
String total

The total margin available in the current model.

String used

The amount of margin that is currently being utilized.

class MarginTopContributor:
String dayTradeBuyingPowerUsage

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

String initialMarginRequirement

Initial margin requirement attributable to this underlying.

String maintenanceMarginRequirement

Maintenance margin requirement attributable to this underlying.

String marketValue

Net market value attributable to this underlying.

String underlyingInstrumentId

UUID of the underlying security contributing to margin requirement.

formatuuid
enum MarginType:

An account’s margin type

OTHER("OTHER")
NONE("NONE")
PORTFOLIO_MARGIN("PORTFOLIO_MARGIN")
RISK_BASED_HAIRCUT_BROKER_DEALER("RISK_BASED_HAIRCUT_BROKER_DEALER")
REG_T("REG_T")
RISK_BASED_HAIRCUT_MARKET_MAKER("RISK_BASED_HAIRCUT_MARKET_MAKER")
CIRO("CIRO")
FUTURES_NLV("FUTURES_NLV")
FUTURES_TOT_EQ("FUTURES_TOT_EQ")
class PortfolioHistoryResponse:
LocalDate date

The date for this segment

formatdate
String eodEquity

The equity at the end of the trading day.

String realizedPnl

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

String sodEquity

The equity at the start of the trading day.

String unrealizedPnl

Sum of the profit and loss from market changes.

Optional<String> boughtNotional

Amount bought MTM

Optional<String> dayPnl

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

Optional<String> netPnl

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

Optional<String> positionPnl

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

Optional<String> soldNotional

Amount sold MTM

class PortfolioHistorySegment:
LocalDate date

The date for this segment

formatdate
String eodEquity

The equity at the end of the trading day.

String realizedPnl

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

String sodEquity

The equity at the start of the trading day.

String unrealizedPnl

Sum of the profit and loss from market changes.

Optional<String> boughtNotional

Amount bought MTM

Optional<String> dayPnl

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

Optional<String> netPnl

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

Optional<String> positionPnl

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

Optional<String> soldNotional

Amount sold MTM

class RiskSettings:

Risk settings for an account

Optional<String> maxNotional

The maximum notional value available to the account

V1API Version

Endpoints for API service metadata.

Get the API version.
ApiVersionGetVersionResponse v1().apiVersion().getVersion(ApiVersionGetVersionParamsparams = ApiVersionGetVersionParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/version
ModelsExpand Collapse
class Version:

API version information

String version

API version string

V1Calendar

Access clocks and financial calendars for market sessions and events.

Get Clock
CalendarGetClockResponse v1().calendar().getClock(CalendarGetClockParamsparams = CalendarGetClockParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/clock
Get Market Hours Calendar.
CalendarGetMarketHoursCalendarResponse v1().calendar().getMarketHoursCalendar(CalendarGetMarketHoursCalendarParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/calendars/market-hours
ModelsExpand Collapse
class ClockDetail:

Current server time and market clock information

LocalDateTime clock

Current server time in UTC

formatdate-time
enum DayType:

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

TRADING_DAY("TRADING_DAY")
EARLY_CLOSE("EARLY_CLOSE")
HOLIDAY("HOLIDAY")
WEEKEND("WEEKEND")
class MarketHoursDetail:

Comprehensive market hours information for a specific market and date

LocalDateTime currentTime

Current time in market timezone with offset

formatdate-time
LocalDate date

The date for which market hours are provided

formatdate
MarketType market

Market type identifier

One of the following:
US_EQUITIES("us_equities")
US_OPTIONS("us_options")
String marketName

Human-readable market name

TradingSessions nextSessions

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

Optional<SessionSchedule> afterHours

After-hours session schedule, null if not available

LocalDateTime close

Session close timestamp with timezone offset

formatdate-time
LocalDateTime open

Session open timestamp with timezone offset

formatdate-time
Optional<String> timeUntilClose

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

formatduration
Optional<String> timeUntilOpen

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

formatduration
Optional<SessionSchedule> preMarket

Pre-market session schedule, null if not available

LocalDateTime close

Session close timestamp with timezone offset

formatdate-time
LocalDateTime open

Session open timestamp with timezone offset

formatdate-time
Optional<String> timeUntilClose

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

formatduration
Optional<String> timeUntilOpen

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

formatduration
Optional<SessionSchedule> regular

Regular trading session schedule, null if holiday/weekend

LocalDateTime close

Session close timestamp with timezone offset

formatdate-time
LocalDateTime open

Session open timestamp with timezone offset

formatdate-time
Optional<String> timeUntilClose

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

formatduration
Optional<String> timeUntilOpen

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

formatduration

Market status information

DayType dayType

The type of trading day

One of the following:
TRADING_DAY("TRADING_DAY")
EARLY_CLOSE("EARLY_CLOSE")
HOLIDAY("HOLIDAY")
WEEKEND("WEEKEND")
boolean isOpen

Whether the market is currently open (real-time)

Optional<MarketSessionType> currentSession

Current session type if market is open, null if closed

One of the following:
PRE_MARKET("pre_market")
REGULAR("regular")
AFTER_HOURS("after_hours")
String timezone

IANA timezone identifier for the market

TradingSessions todaySessions

Trading session schedules for the requested date with time_until fields

Optional<SessionSchedule> afterHours

After-hours session schedule, null if not available

LocalDateTime close

Session close timestamp with timezone offset

formatdate-time
LocalDateTime open

Session open timestamp with timezone offset

formatdate-time
Optional<String> timeUntilClose

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

formatduration
Optional<String> timeUntilOpen

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

formatduration
Optional<SessionSchedule> preMarket

Pre-market session schedule, null if not available

LocalDateTime close

Session close timestamp with timezone offset

formatdate-time
LocalDateTime open

Session open timestamp with timezone offset

formatdate-time
Optional<String> timeUntilClose

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

formatduration
Optional<String> timeUntilOpen

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

formatduration
Optional<SessionSchedule> regular

Regular trading session schedule, null if holiday/weekend

LocalDateTime close

Session close timestamp with timezone offset

formatdate-time
LocalDateTime open

Session open timestamp with timezone offset

formatdate-time
Optional<String> timeUntilClose

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

formatduration
Optional<String> timeUntilOpen

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

formatduration
enum MarketSessionType:

Session type for market hours

PRE_MARKET("pre_market")
REGULAR("regular")
AFTER_HOURS("after_hours")
class MarketStatus:

Market status information

DayType dayType

The type of trading day

One of the following:
TRADING_DAY("TRADING_DAY")
EARLY_CLOSE("EARLY_CLOSE")
HOLIDAY("HOLIDAY")
WEEKEND("WEEKEND")
boolean isOpen

Whether the market is currently open (real-time)

Optional<MarketSessionType> currentSession

Current session type if market is open, null if closed

One of the following:
PRE_MARKET("pre_market")
REGULAR("regular")
AFTER_HOURS("after_hours")
enum MarketType:

Market type for market hours calendar endpoint

US_EQUITIES("us_equities")
US_OPTIONS("us_options")
class SessionSchedule:

Session schedule with open and close timestamps

LocalDateTime close

Session close timestamp with timezone offset

formatdate-time
LocalDateTime open

Session open timestamp with timezone offset

formatdate-time
Optional<String> timeUntilClose

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

formatduration
Optional<String> timeUntilOpen

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

formatduration
class TradingSessions:

Trading sessions for a market day with full timestamps

Optional<SessionSchedule> afterHours

After-hours session schedule, null if not available

LocalDateTime close

Session close timestamp with timezone offset

formatdate-time
LocalDateTime open

Session open timestamp with timezone offset

formatdate-time
Optional<String> timeUntilClose

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

formatduration
Optional<String> timeUntilOpen

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

formatduration
Optional<SessionSchedule> preMarket

Pre-market session schedule, null if not available

LocalDateTime close

Session close timestamp with timezone offset

formatdate-time
LocalDateTime open

Session open timestamp with timezone offset

formatdate-time
Optional<String> timeUntilClose

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

formatduration
Optional<String> timeUntilOpen

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

formatduration
Optional<SessionSchedule> regular

Regular trading session schedule, null if holiday/weekend

LocalDateTime close

Session close timestamp with timezone offset

formatdate-time
LocalDateTime open

Session open timestamp with timezone offset

formatdate-time
Optional<String> timeUntilClose

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

formatduration
Optional<String> timeUntilOpen

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
InstrumentDataGetAllInstrumentEventsResponse v1().instrumentData().getAllInstrumentEvents(InstrumentDataGetAllInstrumentEventsParamsparams = InstrumentDataGetAllInstrumentEventsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/instruments/events
Get Instrument Events
InstrumentDataGetInstrumentEventsResponse v1().instrumentData().getInstrumentEvents(InstrumentDataGetInstrumentEventsParamsparams = InstrumentDataGetInstrumentEventsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/instruments/{instrument_id}/events
Get Instrument Fundamentals
InstrumentDataGetInstrumentFundamentalsResponse v1().instrumentData().getInstrumentFundamentals(InstrumentDataGetInstrumentFundamentalsParamsparams = InstrumentDataGetInstrumentFundamentalsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/instruments/{instrument_id}/fundamentals
Get Instrument Balance Sheet Statements
InstrumentDataGetInstrumentBalanceSheetStatementsResponse v1().instrumentData().getInstrumentBalanceSheetStatements(InstrumentDataGetInstrumentBalanceSheetStatementsParamsparams = InstrumentDataGetInstrumentBalanceSheetStatementsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/instruments/{instrument_id}/balance-sheets
Get Instrument Income Statements
InstrumentDataGetInstrumentIncomeStatementsResponse v1().instrumentData().getInstrumentIncomeStatements(InstrumentDataGetInstrumentIncomeStatementsParamsparams = InstrumentDataGetInstrumentIncomeStatementsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/instruments/{instrument_id}/income-statements
Get Instrument Analyst Consensus
InstrumentDataGetInstrumentAnalystConsensusResponse v1().instrumentData().getInstrumentAnalystConsensus(InstrumentDataGetInstrumentAnalystConsensusParamsparams = InstrumentDataGetInstrumentAnalystConsensusParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/instruments/{instrument_id}/analyst-reporting
Get Instrument Cash Flow Statements
InstrumentDataGetInstrumentCashFlowStatementsResponse v1().instrumentData().getInstrumentCashFlowStatements(InstrumentDataGetInstrumentCashFlowStatementsParamsparams = InstrumentDataGetInstrumentCashFlowStatementsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/instruments/{instrument_id}/cash-flow-statements
ModelsExpand Collapse
enum AllEventsEventType:

Event types supported by the all-events endpoint.

EARNINGS("EARNINGS")
DIVIDEND("DIVIDEND")
STOCK_SPLIT("STOCK_SPLIT")
IPO("IPO")
class AnalystDistribution:

Analyst recommendation distribution

long buy

Number of buy recommendations

formatint64
long hold

Number of hold recommendations

formatint64
long sell

Number of sell recommendations

formatint64
long strongBuy

Number of strong buy recommendations

formatint64
long strongSell

Number of strong sell recommendations

formatint64
enum AnalystRating:

Analyst rating category

STRONG_BUY("STRONG_BUY")
BUY("BUY")
HOLD("HOLD")
SELL("SELL")
STRONG_SELL("STRONG_SELL")
enum FiscalPeriodType:

Fiscal period type for earnings reports

QUARTERLY("QUARTERLY")
ANNUAL("ANNUAL")
TTM("TTM")
BIANNUAL("BIANNUAL")
class InstrumentAllEventsData:

All-events payload grouped by date.

List<InstrumentEventsByDate> eventDates

Events grouped by date in descending order.

LocalDate date

Event date.

formatdate

Flat event envelopes for this date.

String symbol

Symbol associated with the event.

Event type discriminator.

One of the following:
EARNINGS("EARNINGS")
DIVIDEND("DIVIDEND")
STOCK_SPLIT("STOCK_SPLIT")
IPO("IPO")
Optional<InstrumentDividendEvent> dividendEventData

Dividend payload when type is DIVIDEND.

String adjustedDividendAmount

The adjusted dividend amount accounting for any splits.

LocalDate exDate

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

formatdate
Optional<LocalDate> declarationDate

The declaration date of the dividend

formatdate
Optional<String> dividendAmount

The dividend amount per share.

Optional<String> dividendYield

The dividend yield as a percentage of the stock price.

Optional<String> frequency

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

Optional<LocalDate> paymentDate

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

formatdate
Optional<LocalDate> recordDate

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
Optional<InstrumentEarnings> earningsEventData

Earnings payload when type is EARNINGS.

LocalDate date

The date when the earnings report was published

formatdate
Optional<String> epsActual

The actual earnings per share (EPS) for the period

Optional<String> epsEstimate

The estimated earnings per share (EPS) for the period

Optional<String> epsSurprisePercent

The percentage difference between actual and estimated EPS

Optional<String> revenueActual

The actual total revenue for the period

Optional<String> revenueEstimate

The estimated total revenue for the period

Optional<String> revenueSurprisePercent

The percentage difference between actual and estimated revenue

Optional<String> instrumentId

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

formatuuid
Optional<InstrumentEventIpoItem> ipoEventData

IPO payload when type is IPO.

Optional<String> actions

IPO action.

Optional<LocalDateTime> announcedAt

IPO announced timestamp.

formatdate-time
Optional<String> company

IPO company name.

Optional<String> exchange

IPO exchange.

Optional<String> marketCap

IPO market cap.

Optional<String> priceRange

IPO price range.

Optional<String> shares

IPO shares offered.

Optional<String> name

Instrument name associated with the event, when available.

Optional<String> reportingCurrency

The currency used for reporting financial data.

Optional<InstrumentSplitEvent> stockSplitEventData

Stock split payload when type is STOCK_SPLIT.

LocalDate date

The date of the stock split

formatdate
String denominator

The denominator of the split ratio

String numerator

The numerator of the split ratio

String splitType

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

class InstrumentAnalystConsensus:

Aggregated analyst consensus metrics

LocalDate date

The date the consensus snapshot was generated

formatdate
Optional<AnalystDistribution> distribution

Count of individual analyst recommendations by category

long buy

Number of buy recommendations

formatint64
long hold

Number of hold recommendations

formatint64
long sell

Number of sell recommendations

formatint64
long strongBuy

Number of strong buy recommendations

formatint64
long strongSell

Number of strong sell recommendations

formatint64
Optional<PriceTarget> priceTarget

Aggregated analyst price target statistics

String average

Average analyst price target

String currency

ISO 4217 currency code of the price targets

String high

Highest analyst price target

String low

Lowest analyst price target

Optional<AnalystRating> rating

Consensus analyst rating

One of the following:
STRONG_BUY("STRONG_BUY")
BUY("BUY")
HOLD("HOLD")
SELL("SELL")
STRONG_SELL("STRONG_SELL")
class InstrumentBalanceSheetStatement:

A quarterly balance sheet statement for an instrument.

LocalDateTime acceptedDate

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

formatdate-time
LocalDate filingDate

The date the financial statement was filed

formatdate
String period

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

FiscalPeriodType periodType

The type of fiscal period

One of the following:
QUARTERLY("QUARTERLY")
ANNUAL("ANNUAL")
TTM("TTM")
BIANNUAL("BIANNUAL")
String reportedCurrency

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

long year

The fiscal year of the statement

formatint32
Optional<String> accountPayables

Account payables

Optional<String> accountsReceivables

Accounts receivables

Optional<String> accruedExpenses

Accrued expenses

Optional<String> accumulatedOtherComprehensiveIncomeLoss

Accumulated other comprehensive income/loss

Optional<String> additionalPaidInCapital

Additional paid-in capital

Optional<String> capitalLeaseObligations

Capital lease obligations (total)

Optional<String> capitalLeaseObligationsCurrent

Capital lease obligations (current portion)

Optional<String> cashAndCashEquivalents

Cash and cash equivalents

Optional<String> cashAndShortTermInvestments

Cash and short-term investments combined

Optional<String> commonStock

Common stock

Optional<String> deferredRevenue

Deferred revenue

Optional<String> deferredRevenueNonCurrent

Deferred revenue (non-current)

Optional<String> deferredTaxLiabilitiesNonCurrent

Deferred tax liabilities (non-current)

Optional<String> goodwill

Goodwill

Optional<String> goodwillAndIntangibleAssets

Goodwill and intangible assets combined

Optional<String> intangibleAssets

Intangible assets

Optional<String> inventory

Inventory

Optional<String> longTermDebt

Long-term debt

Optional<String> longTermInvestments

Long-term investments

Optional<String> minorityInterest

Minority interest

Optional<String> netDebt

Net debt (total debt minus cash)

Optional<String> netReceivables

Net receivables

Optional<String> otherAssets

Other assets

Optional<String> otherCurrentAssets

Other current assets

Optional<String> otherCurrentLiabilities

Other current liabilities

Optional<String> otherLiabilities

Other liabilities

Optional<String> otherNonCurrentAssets

Other non-current assets

Optional<String> otherNonCurrentLiabilities

Other non-current liabilities

Optional<String> otherPayables

Other payables

Optional<String> otherReceivables

Other receivables

Optional<String> otherTotalStockholdersEquity

Other total stockholders equity

Optional<String> preferredStock

Preferred stock

Optional<String> prepaids

Prepaids

Optional<String> propertyPlantAndEquipmentNet

Property, plant and equipment net of depreciation

Optional<String> retainedEarnings

Retained earnings

Optional<String> shortTermDebt

Short-term debt

Optional<String> shortTermInvestments

Short-term investments

Optional<String> taxAssets

Tax assets

Optional<String> taxPayables

Tax payables

Optional<String> totalAssets

Total assets

Optional<String> totalCurrentAssets

Total current assets

Optional<String> totalCurrentLiabilities

Total current liabilities

Optional<String> totalDebt

Total debt

Optional<String> totalEquity

Total equity

Optional<String> totalInvestments

Total investments

Optional<String> totalLiabilities

Total liabilities

Optional<String> totalLiabilitiesAndTotalEquity

Total liabilities and total equity

Optional<String> totalNonCurrentAssets

Total non-current assets

Optional<String> totalNonCurrentLiabilities

Total non-current liabilities

Optional<String> totalPayables

Total payables

Optional<String> totalStockholdersEquity

Total stockholders equity

Optional<String> treasuryStock

Treasury stock

class InstrumentCashFlowStatement:

A quarterly cash flow statement for an instrument.

LocalDateTime acceptedDate

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

formatdate-time
LocalDate filingDate

The date the financial statement was filed

formatdate
String period

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

FiscalPeriodType periodType

The type of fiscal period

One of the following:
QUARTERLY("QUARTERLY")
ANNUAL("ANNUAL")
TTM("TTM")
BIANNUAL("BIANNUAL")
String reportedCurrency

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

long year

The fiscal year of the statement

formatint32
Optional<String> accountsPayables

Change in accounts payables

Optional<String> accountsReceivables

Change in accounts receivables

Optional<String> acquisitionsNet

Net acquisitions

Optional<String> capitalExpenditure

Capital expenditure

Optional<String> cashAtBeginningOfPeriod

Cash and cash equivalents at beginning of period

Optional<String> cashAtEndOfPeriod

Cash and cash equivalents at end of period

Optional<String> changeInWorkingCapital

Change in working capital

Optional<String> commonDividendsPaid

Common dividends paid

Optional<String> commonStockIssuance

Common stock issuance

Optional<String> commonStockRepurchased

Common stock repurchased (buybacks)

Optional<String> deferredIncomeTax

Deferred income tax expense

Optional<String> depreciationAndAmortization

Depreciation and amortization expense

Optional<String> effectOfForexChangesOnCash

Effect of foreign exchange changes on cash

Optional<String> freeCashFlow

Free cash flow (operating cash flow minus capital expenditure)

Optional<String> incomeTaxesPaid

Income taxes paid

Optional<String> interestPaid

Interest paid

Optional<String> inventory

Change in inventory

Optional<String> investmentsInPropertyPlantAndEquipment

Investments in property, plant, and equipment

Optional<String> longTermNetDebtIssuance

Long-term net debt issuance

Optional<String> netCashProvidedByFinancingActivities

Net cash provided by financing activities

Optional<String> netCashProvidedByInvestingActivities

Net cash provided by investing activities

Optional<String> netCashProvidedByOperatingActivities

Net cash provided by operating activities

Optional<String> netChangeInCash

Net change in cash during the period

Optional<String> netCommonStockIssuance

Net common stock issuance

Optional<String> netDebtIssuance

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

Optional<String> netDividendsPaid

Net dividends paid (common + preferred)

Optional<String> netIncome

Net income for the period

Optional<String> netPreferredStockIssuance

Net preferred stock issuance

Optional<String> netStockIssuance

Net stock issuance (common + preferred)

Optional<String> operatingCashFlow

Operating cash flow (alternative calculation)

Optional<String> otherFinancingActivities

Other financing activities

Optional<String> otherInvestingActivities

Other investing activities

Optional<String> otherNonCashItems

Other non-cash items

Optional<String> otherWorkingCapital

Change in other working capital

Optional<String> preferredDividendsPaid

Preferred dividends paid

Optional<String> purchasesOfInvestments

Purchases of investments

Optional<String> salesMaturitiesOfInvestments

Sales and maturities of investments

Optional<String> shortTermNetDebtIssuance

Short-term net debt issuance

Optional<String> stockBasedCompensation

Stock-based compensation expense

class InstrumentDividendEvent:

Represents a dividend event for an instrument

String adjustedDividendAmount

The adjusted dividend amount accounting for any splits.

LocalDate exDate

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

formatdate
Optional<LocalDate> declarationDate

The declaration date of the dividend

formatdate
Optional<String> dividendAmount

The dividend amount per share.

Optional<String> dividendYield

The dividend yield as a percentage of the stock price.

Optional<String> frequency

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

Optional<LocalDate> paymentDate

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

formatdate
Optional<LocalDate> recordDate

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
class InstrumentEarnings:

Represents instrument earnings data

LocalDate date

The date when the earnings report was published

formatdate
Optional<String> epsActual

The actual earnings per share (EPS) for the period

Optional<String> epsEstimate

The estimated earnings per share (EPS) for the period

Optional<String> epsSurprisePercent

The percentage difference between actual and estimated EPS

Optional<String> revenueActual

The actual total revenue for the period

Optional<String> revenueEstimate

The estimated total revenue for the period

Optional<String> revenueSurprisePercent

The percentage difference between actual and estimated revenue

class InstrumentEventEnvelope:

Unified envelope for the all-events response.

String symbol

Symbol associated with the event.

Event type discriminator.

One of the following:
EARNINGS("EARNINGS")
DIVIDEND("DIVIDEND")
STOCK_SPLIT("STOCK_SPLIT")
IPO("IPO")
Optional<InstrumentDividendEvent> dividendEventData

Dividend payload when type is DIVIDEND.

String adjustedDividendAmount

The adjusted dividend amount accounting for any splits.

LocalDate exDate

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

formatdate
Optional<LocalDate> declarationDate

The declaration date of the dividend

formatdate
Optional<String> dividendAmount

The dividend amount per share.

Optional<String> dividendYield

The dividend yield as a percentage of the stock price.

Optional<String> frequency

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

Optional<LocalDate> paymentDate

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

formatdate
Optional<LocalDate> recordDate

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
Optional<InstrumentEarnings> earningsEventData

Earnings payload when type is EARNINGS.

LocalDate date

The date when the earnings report was published

formatdate
Optional<String> epsActual

The actual earnings per share (EPS) for the period

Optional<String> epsEstimate

The estimated earnings per share (EPS) for the period

Optional<String> epsSurprisePercent

The percentage difference between actual and estimated EPS

Optional<String> revenueActual

The actual total revenue for the period

Optional<String> revenueEstimate

The estimated total revenue for the period

Optional<String> revenueSurprisePercent

The percentage difference between actual and estimated revenue

Optional<String> instrumentId

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

formatuuid
Optional<InstrumentEventIpoItem> ipoEventData

IPO payload when type is IPO.

Optional<String> actions

IPO action.

Optional<LocalDateTime> announcedAt

IPO announced timestamp.

formatdate-time
Optional<String> company

IPO company name.

Optional<String> exchange

IPO exchange.

Optional<String> marketCap

IPO market cap.

Optional<String> priceRange

IPO price range.

Optional<String> shares

IPO shares offered.

Optional<String> name

Instrument name associated with the event, when available.

Optional<String> reportingCurrency

The currency used for reporting financial data.

Optional<InstrumentSplitEvent> stockSplitEventData

Stock split payload when type is STOCK_SPLIT.

LocalDate date

The date of the stock split

formatdate
String denominator

The denominator of the split ratio

String numerator

The numerator of the split ratio

String splitType

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

class InstrumentEventIpoItem:

IPO event in the all-events date grouping response.

Optional<String> actions

IPO action.

Optional<LocalDateTime> announcedAt

IPO announced timestamp.

formatdate-time
Optional<String> company

IPO company name.

Optional<String> exchange

IPO exchange.

Optional<String> marketCap

IPO market cap.

Optional<String> priceRange

IPO price range.

Optional<String> shares

IPO shares offered.

class InstrumentEventsByDate:

Instrument events for a single date.

LocalDate date

Event date.

formatdate

Flat event envelopes for this date.

String symbol

Symbol associated with the event.

Event type discriminator.

One of the following:
EARNINGS("EARNINGS")
DIVIDEND("DIVIDEND")
STOCK_SPLIT("STOCK_SPLIT")
IPO("IPO")
Optional<InstrumentDividendEvent> dividendEventData

Dividend payload when type is DIVIDEND.

String adjustedDividendAmount

The adjusted dividend amount accounting for any splits.

LocalDate exDate

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

formatdate
Optional<LocalDate> declarationDate

The declaration date of the dividend

formatdate
Optional<String> dividendAmount

The dividend amount per share.

Optional<String> dividendYield

The dividend yield as a percentage of the stock price.

Optional<String> frequency

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

Optional<LocalDate> paymentDate

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

formatdate
Optional<LocalDate> recordDate

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
Optional<InstrumentEarnings> earningsEventData

Earnings payload when type is EARNINGS.

LocalDate date

The date when the earnings report was published

formatdate
Optional<String> epsActual

The actual earnings per share (EPS) for the period

Optional<String> epsEstimate

The estimated earnings per share (EPS) for the period

Optional<String> epsSurprisePercent

The percentage difference between actual and estimated EPS

Optional<String> revenueActual

The actual total revenue for the period

Optional<String> revenueEstimate

The estimated total revenue for the period

Optional<String> revenueSurprisePercent

The percentage difference between actual and estimated revenue

Optional<String> instrumentId

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

formatuuid
Optional<InstrumentEventIpoItem> ipoEventData

IPO payload when type is IPO.

Optional<String> actions

IPO action.

Optional<LocalDateTime> announcedAt

IPO announced timestamp.

formatdate-time
Optional<String> company

IPO company name.

Optional<String> exchange

IPO exchange.

Optional<String> marketCap

IPO market cap.

Optional<String> priceRange

IPO price range.

Optional<String> shares

IPO shares offered.

Optional<String> name

Instrument name associated with the event, when available.

Optional<String> reportingCurrency

The currency used for reporting financial data.

Optional<InstrumentSplitEvent> stockSplitEventData

Stock split payload when type is STOCK_SPLIT.

LocalDate date

The date of the stock split

formatdate
String denominator

The denominator of the split ratio

String numerator

The numerator of the split ratio

String splitType

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

class InstrumentEventsData:

Grouped instrument events by type

List<InstrumentDividendEvent> dividends

Dividend distribution events

String adjustedDividendAmount

The adjusted dividend amount accounting for any splits.

LocalDate exDate

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

formatdate
Optional<LocalDate> declarationDate

The declaration date of the dividend

formatdate
Optional<String> dividendAmount

The dividend amount per share.

Optional<String> dividendYield

The dividend yield as a percentage of the stock price.

Optional<String> frequency

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

Optional<LocalDate> paymentDate

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

formatdate
Optional<LocalDate> recordDate

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
List<InstrumentEarnings> earnings

Earnings announcement events

LocalDate date

The date when the earnings report was published

formatdate
Optional<String> epsActual

The actual earnings per share (EPS) for the period

Optional<String> epsEstimate

The estimated earnings per share (EPS) for the period

Optional<String> epsSurprisePercent

The percentage difference between actual and estimated EPS

Optional<String> revenueActual

The actual total revenue for the period

Optional<String> revenueEstimate

The estimated total revenue for the period

Optional<String> revenueSurprisePercent

The percentage difference between actual and estimated revenue

String instrumentId

OEMS instrument UUID from the request

formatuuid

Stock split events

LocalDate date

The date of the stock split

formatdate
String denominator

The denominator of the split ratio

String numerator

The numerator of the split ratio

String splitType

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

Optional<String> reportingCurrency

The currency used for reporting financial data

class InstrumentFundamentals:

Supplemental fundamentals and company profile data for an instrument.

Optional<Long> averageVolume

The average daily trading volume over the past 30 days

formatint64
Optional<String> beta

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

Optional<String> description

A detailed description of the instrument or company

Optional<String> dividendYield

The trailing twelve months (TTM) dividend yield

Optional<String> earningsPerShare

The trailing twelve months (TTM) earnings per share

Optional<String> fiftyTwoWeekHigh

The highest price over the last 52 weeks

Optional<String> fiftyTwoWeekLow

The lowest price over the last 52 weeks

Optional<String> industry

The specific industry of the instrument’s issuer

Optional<LocalDate> listDate

The date the instrument was first listed

formatdate
Optional<String> logoUrl

URL to a representative logo image for the instrument or issuer

Optional<String> marketCap

The total market capitalization

Optional<String> previousClose

The closing price from the previous trading day

Optional<String> priceToEarnings

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

Optional<String> reportingCurrency

The currency used for reporting financial data

Optional<String> sector

The business sector of the instrument’s issuer

class InstrumentIncomeStatement:

A quarterly income statement for an instrument.

LocalDateTime acceptedDate

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

formatdate-time
LocalDate filingDate

The date the financial statement was filed

formatdate
String period

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

FiscalPeriodType periodType

The type of fiscal period

One of the following:
QUARTERLY("QUARTERLY")
ANNUAL("ANNUAL")
TTM("TTM")
BIANNUAL("BIANNUAL")
String reportedCurrency

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

long year

The fiscal year of the statement

formatint32
Optional<String> bottomLineNetIncome

Bottom line net income after all adjustments

Optional<String> costAndExpenses

Total costs and expenses

Optional<String> costOfRevenue

Direct costs attributable to producing goods sold

Optional<String> depreciationAndAmortization

Depreciation and amortization expenses

Optional<String> ebit

Earnings before interest and taxes

Optional<String> ebitda

Earnings before interest, taxes, depreciation, and amortization

Optional<String> eps

Basic earnings per share

Optional<String> epsDiluted

Diluted earnings per share

Optional<String> generalAndAdministrativeExpenses

General administrative overhead expenses

Optional<String> grossProfit

Revenue minus cost of revenue

Optional<String> incomeBeforeTax

Income before income tax expense

Optional<String> incomeTaxExpense

Income tax expense for the period

Optional<String> interestExpense

Interest paid on debt

Optional<String> interestIncome

Interest earned on investments and cash

Optional<String> netIncome

Total net income for the period

Optional<String> netIncomeDeductions

Deductions from net income

Optional<String> netIncomeFromContinuingOperations

Net income from continuing operations

Optional<String> netIncomeFromDiscontinuedOperations

Net income from discontinued operations

Optional<String> netInterestIncome

Net interest income (interest income minus interest expense)

Optional<String> nonOperatingIncomeExcludingInterest

Non-operating income excluding interest

Optional<String> operatingExpenses

Total operating expenses

Optional<String> operatingIncome

Income from core business operations

Optional<String> otherAdjustmentsToNetIncome

Other adjustments to net income

Optional<String> otherExpenses

Other miscellaneous expenses

Optional<String> researchAndDevelopmentExpenses

Expenditure on research and development activities

Optional<String> revenue

Total revenue from sales of goods and services

Optional<String> sellingAndMarketingExpenses

Expenditure on marketing and sales activities

Optional<String> sellingGeneralAndAdministrativeExpenses

Combined selling, general, and administrative expenses

Optional<String> totalOtherIncomeExpensesNet

Net of other income and expenses

Optional<String> weightedAverageShsOut

Weighted average shares outstanding (basic)

Optional<String> weightedAverageShsOutDil

Weighted average shares outstanding (diluted)

class InstrumentSplitEvent:

Represents a stock split event for an instrument

LocalDate date

The date of the stock split

formatdate
String denominator

The denominator of the split ratio

String numerator

The numerator of the split ratio

String splitType

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

class PriceTarget:

Analyst price target statistics

String average

Average analyst price target

String currency

ISO 4217 currency code of the price targets

String high

Highest analyst price target

String low

Lowest analyst price target

V1Instrument DataMarket Data

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

Get Snapshots
MarketDataGetSnapshotsResponse v1().instrumentData().marketData().getSnapshots(MarketDataGetSnapshotsParamsparams = MarketDataGetSnapshotsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/market-data/snapshot
Get Daily Aggregate Summaries
MarketDataGetDailySummariesResponse v1().instrumentData().marketData().getDailySummaries(MarketDataGetDailySummariesParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/market-data/daily-summary
ModelsExpand Collapse
class DailySummary:

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).
String instrumentId

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

formatuuid
Optional<String> high

Session high.

Optional<String> low

Session low.

Optional<String> open

Opening price for the session.

Optional<String> symbol

Display symbol for the security. None for unresolvable IDs.

Optional<LocalDate> tradeDate

Session date the OHLV represents, US/Eastern.

formatdate
Optional<Long> volume

Session cumulative trading volume.

formatint64
class MarketDataSnapshot:

Market data snapshot for a single security.

String instrumentId

OEMS instrument identifier.

String symbol

Display symbol for the security.

Optional<Long> cumulativeVolume

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
Optional<SnapshotQuote> lastQuote

Most recent quote if available.

String ask

Current best ask.

String bid

Current best bid.

String midpoint

Midpoint of bid and ask.

Optional<Long> askSize

Size at the best ask, in shares.

formatint32
minimum0
Optional<Long> bidSize

Size at the best bid, in shares.

formatint32
minimum0
Optional<SnapshotLastTrade> lastTrade

Most recent last-sale trade if available.

String price

Most recent last-sale eligible trade price.

Optional<String> name

Security name if available.

Optional<SnapshotSession> session

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

String change

Absolute change from previous close to last trade.

String changePercent

Percent change from previous close to last trade.

String previousClose

Previous session close price.

class SnapshotLastTrade:

Last-trade fields for a market data snapshot.

String price

Most recent last-sale eligible trade price.

class SnapshotQuote:

L1 quote fields for a market data snapshot.

String ask

Current best ask.

String bid

Current best bid.

String midpoint

Midpoint of bid and ask.

Optional<Long> askSize

Size at the best ask, in shares.

formatint32
minimum0
Optional<Long> bidSize

Size at the best bid, in shares.

formatint32
minimum0
class SnapshotSession:

Session-level pricing metrics for a market data snapshot.

String change

Absolute change from previous close to last trade.

String changePercent

Percent change from previous close to last trade.

String previousClose

Previous session close price.

V1Instrument DataNews

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

Get News
NewsGetNewsResponse v1().instrumentData().news().getNews(NewsGetNewsParamsparams = NewsGetNewsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/news
ModelsExpand Collapse
class NewsInstrument:

Instrument associated with a news item.

String instrumentId

OEMS instrument UUID.

formatuuid
Optional<String> name

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

Optional<String> symbol

Trading symbol, if available from instrument cache enrichment.

class NewsItem:

A single news item and its associated instruments.

List<NewsInstrument> instruments

Instruments associated with this news item.

String instrumentId

OEMS instrument UUID.

formatuuid
Optional<String> name

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

Optional<String> symbol

Trading symbol, if available from instrument cache enrichment.

NewsType newsType

Classification of the item.

One of the following:
NEWS("NEWS")
PRESS_RELEASE("PRESS_RELEASE")
LocalDateTime publishedAt

The published date/time of the article in UTC.

formatdate-time
String publisher

The publisher or newswire source.

String title

The headline/title of the article.

String url

Canonical URL to the full article.

Optional<String> imageUrl

URL of an associated image if provided by the source.

Optional<String> site

The primary domain/site of the publisher.

Optional<String> text

The full or excerpted article body.

enum NewsType:

News item classification.

NEWS("NEWS")
PRESS_RELEASE("PRESS_RELEASE")

V1Instruments

Retrieve core details and discovery endpoints for tradable instruments.

Get Instruments
InstrumentGetInstrumentsResponse v1().instruments().getInstruments(InstrumentGetInstrumentsParamsparams = InstrumentGetInstrumentsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/instruments
Get Instrument By ID
InstrumentGetInstrumentByIdResponse v1().instruments().getInstrumentById(InstrumentGetInstrumentByIdParamsparams = InstrumentGetInstrumentByIdParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/instruments/{instrument_id}
Search Instruments
InstrumentSearchInstrumentsResponse v1().instruments().searchInstruments(InstrumentSearchInstrumentsParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/instruments/search
Get Option Contracts
InstrumentGetOptionContractsResponse v1().instruments().getOptionContracts(InstrumentGetOptionContractsParamsparams = InstrumentGetOptionContractsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/instruments/options/contracts
ModelsExpand Collapse
enum ContractType:

The type of options contract

CALL("CALL")
PUT("PUT")
enum ExerciseStyle:

The exercise style of an options contract

AMERICAN("AMERICAN")
EUROPEAN("EUROPEAN")
class Instrument:

Represents a tradable financial instrument.

String id

Unique OEMS instrument identifier (UUID)

formatuuid
String countryOfIssue

The ISO country code of the instrument’s issue

String currency

The ISO currency code in which the instrument is traded

boolean easyToBorrow

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

boolean isLiquidationOnly

Indicates if the instrument is liquidation only and cannot be bought

boolean isMarginable

Indicates if the instrument is marginable

boolean isRestricted

Indicates if the instrument is restricted from trading

boolean isShortProhibited

Indicates if short selling is prohibited for the instrument

boolean isThresholdSecurity

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

boolean isTradable

Indicates if the instrument is tradable

String symbol

The trading symbol for the instrument

String venue

The MIC code of the primary listing venue

Optional<String> adv

Average daily share volume from the security definition.

Optional<LocalDate> expiry

The expiration date for options instruments

formatdate
Optional<SecurityType> instrumentType

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

One of the following:
COMMON_STOCK("COMMON_STOCK")
PREFERRED_STOCK("PREFERRED_STOCK")
OPTION("OPTION")
CASH("CASH")
OTHER("OTHER")
Optional<String> longMarginRate

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

Optional<String> name

The full name of the instrument or its issuer

Optional<String> notionalAdv

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.

Optional<List<LocalDate>> optionsExpiryDates

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

Optional<String> previousClose

Last close price from the security definition.

Optional<String> shortMarginRate

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

Optional<String> strikePrice

The strike price for options instruments

class InstrumentCore:
String id

Unique OEMS instrument identifier (UUID)

formatuuid
String countryOfIssue

The ISO country code of the instrument’s issue

String currency

The ISO currency code in which the instrument is traded

boolean easyToBorrow

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

boolean isLiquidationOnly

Indicates if the instrument is liquidation only and cannot be bought

boolean isMarginable

Indicates if the instrument is marginable

boolean isRestricted

Indicates if the instrument is restricted from trading

boolean isShortProhibited

Indicates if short selling is prohibited for the instrument

boolean isThresholdSecurity

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

boolean isTradable

Indicates if the instrument is tradable

String symbol

The trading symbol for the instrument

String venue

The MIC code of the primary listing venue

Optional<String> adv

Average daily share volume from the security definition.

Optional<LocalDate> expiry

The expiration date for options instruments

formatdate
Optional<SecurityType> instrumentType

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

One of the following:
COMMON_STOCK("COMMON_STOCK")
PREFERRED_STOCK("PREFERRED_STOCK")
OPTION("OPTION")
CASH("CASH")
OTHER("OTHER")
Optional<String> longMarginRate

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

Optional<String> name

The full name of the instrument or its issuer

Optional<String> notionalAdv

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.

Optional<String> previousClose

Last close price from the security definition.

Optional<String> shortMarginRate

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

Optional<String> strikePrice

The strike price for options instruments

enum ListingType:

The listing type of an options contract

STANDARD("STANDARD")
FLEX("FLEX")
OTC("OTC")
class OptionsContract:

An options contract with options-specific metadata

String id

OEMS instrument identifier

formatuuid
ContractType contractType

Whether this is a CALL or PUT

One of the following:
CALL("CALL")
PUT("PUT")
String currency

ISO currency code

String exchange

MIC code of the primary listing venue

ExerciseStyle exerciseStyle

Exercise style

One of the following:
AMERICAN("AMERICAN")
EUROPEAN("EUROPEAN")
LocalDate expiry

Expiration date

formatdate
boolean isLiquidationOnly

Whether the contract is liquidation-only

boolean isMarginable

Whether the contract is marginable

boolean isRestricted

Whether the contract is restricted from trading

ListingType listingType

Listing type

One of the following:
STANDARD("STANDARD")
FLEX("FLEX")
OTC("OTC")
String multiplier

Contract multiplier (100 for standard options)

String strikePrice

Strike price

String symbol

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

Optional<Long> openInterest

Open interest (number of outstanding contracts), if available

formatint64
Optional<String> underlyingInstrumentId

OEMS instrument ID of the underlying instrument, if resolvable

formatuuid

V1Omni AI

ModelsExpand Collapse
class ActionButton:

Button metadata shared by chart and suggested-actions payloads.

String buttonId

Stable button identifier within the content part.

String label

User-visible label.

Optional<PromptButtonAction> prompt

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

String prompt

Prompt text to submit as the next user turn.

Optional<StructuredActionButtonAction> structuredAction

Structured action in the same message to execute on click.

Optional<String> actionId

UUID of a structured_action content part in the same message.

formatuuid
class ChartPayload:

Typed chart payload rendered inline in assistant content.

String chartId

Stable chart identifier scoped to the content part.

Optional<List<ActionButton>> actionButtons

Buttons associated with this chart.

String buttonId

Stable button identifier within the content part.

String label

User-visible label.

Optional<PromptButtonAction> prompt

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

String prompt

Prompt text to submit as the next user turn.

Optional<StructuredActionButtonAction> structuredAction

Structured action in the same message to execute on click.

Optional<String> actionId

UUID of a structured_action content part in the same message.

formatuuid
Optional<DataChart> dataChart

Explicit series-driven chart definition.

Optional<List<ChartSeries>> series
String name
Optional<List<ChartPoint>> points
String x
double y
Optional<SymbolChart> symbolChart

Symbol-driven chart definition.

String symbol
Optional<String> timeframe
class ChartPoint:

Single chart coordinate.

String x
double y
class ChartSeries:

Named data series within a chart.

String name
Optional<List<ChartPoint>> points
String x
double y
class ContentPartChartPayload:

Chart payload content part.

ChartPayload payload

Typed chart payload rendered inline in assistant content.

String chartId

Stable chart identifier scoped to the content part.

Optional<List<ActionButton>> actionButtons

Buttons associated with this chart.

String buttonId

Stable button identifier within the content part.

String label

User-visible label.

Optional<PromptButtonAction> prompt

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

String prompt

Prompt text to submit as the next user turn.

Optional<StructuredActionButtonAction> structuredAction

Structured action in the same message to execute on click.

Optional<String> actionId

UUID of a structured_action content part in the same message.

formatuuid
Optional<DataChart> dataChart

Explicit series-driven chart definition.

Optional<List<ChartSeries>> series
String name
Optional<List<ChartPoint>> points
String x
double y
Optional<SymbolChart> symbolChart

Symbol-driven chart definition.

String symbol
Optional<String> timeframe
class ContentPartCustomPayload:

Escape-hatch custom payload content part.

JsonValue payload
class ContentPartStructuredActionPayload:

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
PrefillOrderAction prefillOrder

Prefill an order ticket for user confirmation

One of the following:
PrefillNewOrderAction
ActionType actionType
PrefillCancelOrderAction
ActionType actionType
OpenChart
OpenChartAction openChart

Open a chart for a symbol

String symbol

Trading symbol to chart

Optional<JsonValue> extras

Additional chart configuration (indicators, overlays, etc.)

Optional<String> timeframe

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

OpenScreener
OpenScreenerAction openScreener

Open a stock screener with filters

List<ScreenerFilter> filters

Filter criteria for the screener

String field

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

String operator

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

JsonValue value

Filter value

Optional<List<String>> fieldFilter

Optional field/column selection for screener results.

Optional<Long> pageSize

Optional page size.

formatint32
Optional<String> sortBy

Optional sort field for screener rows.

Optional<String> sortDirection

Optional sort direction (ASC or DESC).

OpenEntitlementConsent

Open entitlement consent flow

Stable entitlement agreement family key.

String actionId
class ContentPartSuggestedActionsPayload:

Suggested actions payload content part.

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

Optional<List<ActionButton>> actionButtons

Ordered message-level buttons.

String buttonId

Stable button identifier within the content part.

String label

User-visible label.

Optional<PromptButtonAction> prompt

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

String prompt

Prompt text to submit as the next user turn.

Optional<StructuredActionButtonAction> structuredAction

Structured action in the same message to execute on click.

Optional<String> actionId

UUID of a structured_action content part in the same message.

formatuuid
class ContentPartTextPayload:

Text content part.

String text
class ContentPartThinkingPayload:

Thinking content part shown on dynamic response polling.

List<String> thoughts
class DataChart:

Chart represented by explicit data series.

Optional<List<ChartSeries>> series
String name
Optional<List<ChartPoint>> points
String x
double y
class OpenChartAction:

Action to open a chart for a symbol.

String symbol

Trading symbol to chart

Optional<JsonValue> extras

Additional chart configuration (indicators, overlays, etc.)

Optional<String> timeframe

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.

class OpenScreenerAction:

Action to open a stock screener with filters.

List<ScreenerFilter> filters

Filter criteria for the screener

String field

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

String operator

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

JsonValue value

Filter value

Optional<List<String>> fieldFilter

Optional field/column selection for screener results.

Optional<Long> pageSize

Optional page size.

formatint32
Optional<String> sortBy

Optional sort field for screener rows.

Optional<String> sortDirection

Optional sort direction (ASC or DESC).

class PrefillCancelOrderAction:

Cancel-order prefill action.

List<CancelOrderRequest> orders

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

long accountId

Account ID (from path parameter)

formatint64
String orderId

Order ID to cancel (from path parameter)

class PrefillNewOrderAction:

New-order prefill action.

List<NewOrderRequest> orders

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

SecurityType instrumentType

Type of security

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

Type of order

One of the following:
MARKET("MARKET")
LIMIT("LIMIT")
STOP("STOP")
STOP_LIMIT("STOP_LIMIT")
TRAILING_STOP("TRAILING_STOP")
TRAILING_STOP_LIMIT("TRAILING_STOP_LIMIT")
String quantity

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("BUY")
SELL("SELL")
SELL_SHORT("SELL_SHORT")
OTHER("OTHER")
RequestTimeInForce timeInForce

Time in force

One of the following:
DAY("DAY")
GOOD_TILL_CANCEL("GOOD_TILL_CANCEL")
IMMEDIATE_OR_CANCEL("IMMEDIATE_OR_CANCEL")
FILL_OR_KILL("FILL_OR_KILL")
GOOD_TILL_DATE("GOOD_TILL_DATE")
AT_THE_OPENING("AT_THE_OPENING")
AT_THE_CLOSE("AT_THE_CLOSE")
GOOD_TILL_CROSSING("GOOD_TILL_CROSSING")
GOOD_THROUGH_CROSSING("GOOD_THROUGH_CROSSING")
AT_CROSSING("AT_CROSSING")
Optional<String> id

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

maxLength64
Optional<LocalDateTime> expiresAt

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

formatdate-time
Optional<Boolean> extendedHours

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

Optional<String> instrumentId

OEMS instrument UUID

formatuuid
Optional<String> limitOffset

Limit offset for trailing stop-limit orders (signed)

Optional<String> limitPrice

Limit price (required for LIMIT and STOP_LIMIT orders)

Optional<PositionEffect> positionEffect

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

One of the following:
OPEN("OPEN")
CLOSE("CLOSE")
Optional<String> stopPrice

Stop price (required for STOP and STOP_LIMIT orders)

Optional<String> symbol

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.

Optional<String> trailingOffset

Trailing offset amount (required for trailing orders)

Optional<TrailingOffsetType> trailingOffsetType

Trailing offset type (PRICE or PERCENT_BPS)

One of the following:
PRICE("PRICE")
BPS("BPS")
class PrefillOrderAction: A class that can be one of several variants.union

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.

PrefillNewOrderAction
ActionType actionType
PrefillCancelOrderAction
ActionType actionType
class PromptButtonAction:

Prompt-style button behavior.

String prompt

Prompt text to submit as the next user turn.

class ScreenerFilter:

A single filter criterion for the screener.

String field

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

String operator

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

JsonValue value

Filter value

class StructuredAction: A class that can be one of several variants.union

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.

PrefillOrder
PrefillOrderAction prefillOrder

Prefill an order ticket for user confirmation

One of the following:
PrefillNewOrderAction
ActionType actionType
PrefillCancelOrderAction
ActionType actionType
OpenChart
OpenChartAction openChart

Open a chart for a symbol

String symbol

Trading symbol to chart

Optional<JsonValue> extras

Additional chart configuration (indicators, overlays, etc.)

Optional<String> timeframe

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

OpenScreener
OpenScreenerAction openScreener

Open a stock screener with filters

List<ScreenerFilter> filters

Filter criteria for the screener

String field

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

String operator

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

JsonValue value

Filter value

Optional<List<String>> fieldFilter

Optional field/column selection for screener results.

Optional<Long> pageSize

Optional page size.

formatint32
Optional<String> sortBy

Optional sort field for screener rows.

Optional<String> sortDirection

Optional sort direction (ASC or DESC).

OpenEntitlementConsent

Open entitlement consent flow

Stable entitlement agreement family key.

class StructuredActionButtonAction:

Structured-action button behavior.

Optional<String> actionId

UUID of a structured_action content part in the same message.

formatuuid
class SuggestedActionsPayload:

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

Optional<List<ActionButton>> actionButtons

Ordered message-level buttons.

String buttonId

Stable button identifier within the content part.

String label

User-visible label.

Optional<PromptButtonAction> prompt

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

String prompt

Prompt text to submit as the next user turn.

Optional<StructuredActionButtonAction> structuredAction

Structured action in the same message to execute on click.

Optional<String> actionId

UUID of a structured_action content part in the same message.

formatuuid
class SymbolChart:

Chart for a single symbol and timeframe.

String symbol
Optional<String> timeframe

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
EntitlementGetEntitlementsResponse v1().omniAi().entitlements().getEntitlements(EntitlementGetEntitlementsParamsparams = EntitlementGetEntitlementsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/omni-ai/entitlements
Create Entitlements
EntitlementCreateEntitlementsResponse v1().omniAi().entitlements().createEntitlements(EntitlementCreateEntitlementsParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/v1/omni-ai/entitlements
Delete Entitlement
EntitlementDeleteEntitlementResponse v1().omniAi().entitlements().deleteEntitlement(EntitlementDeleteEntitlementParamsparams = EntitlementDeleteEntitlementParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/v1/omni-ai/entitlements/{entitlement_id}
Get Entitlement Agreements
EntitlementGetEntitlementAgreementsResponse v1().omniAi().entitlements().getEntitlementAgreements(EntitlementGetEntitlementAgreementsParamsparams = EntitlementGetEntitlementAgreementsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/omni-ai/entitlement-agreements
ModelsExpand Collapse
class DeleteEntitlementResponse:
String entitlementId
boolean revoked
enum EntitlementAgreementKey:

Stable entitlement agreement family key.

OMNI_ACCOUNT_DATA_ACCESS("omni_account_data_access")
class EntitlementAgreementResource:
String agreementId

Stable entitlement agreement family key.

String documentContent
String documentSha256
List<EntitlementCode> entitlementCodes
String title
long version
enum EntitlementCode:

Stable entitlement code granted by an agreement.

OMNI_ACCOUNT_DATA("omni.account_data")
class EntitlementResource:
String agreementId
EntitlementCode entitlementCode

Stable entitlement code granted by an agreement.

String entitlementId
String grantedAt
long tradingAccountId

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
MessageGetMessageByIdResponse v1().omniAi().messages().getMessageById(MessageGetMessageByIdParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/omni-ai/messages/{message_id}
Submit Feedback
MessageSubmitFeedbackResponse v1().omniAi().messages().submitFeedback(MessageSubmitFeedbackParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/v1/omni-ai/messages/{message_id}/feedback
ModelsExpand Collapse
class CreateFeedbackResponse:
String createdAt
Optional<String> feedbackId

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
ResponseGetResponseByIdResponse v1().omniAi().responses().getResponseById(ResponseGetResponseByIdParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/omni-ai/responses/{response_id}
Cancel Response
ResponseCancelResponseResponse v1().omniAi().responses().cancelResponse(ResponseCancelResponseParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
DELETE/v1/omni-ai/responses/{response_id}
ModelsExpand Collapse
class CancelResponsePayload:
boolean canceled
class ErrorStatus:

Shared sanitized error payload.

String code
String message
Optional<JsonValue> details
class Response:

Dynamic pollable response.

String id

Dynamic lifecycle status for a pollable response.

One of the following:
QUEUED("queued")
RUNNING("running")
SUCCEEDED("succeeded")
FAILED("failed")
CANCELED("canceled")
String threadId
String userMessageId
Optional<ResponseContent> content

Dynamic response content container. May include thinking parts.

One of the following:
UnionMember0
Type type
UnionMember1
Type type
UnionMember2
Type type
UnionMember3
Type type
UnionMember4
Type type
UnionMember5
Type type
Optional<ErrorStatus> error

Shared sanitized error payload.

String code
String message
Optional<JsonValue> details
Optional<String> outputMessageId
class ResponseContent:

Dynamic response content container. May include thinking parts.

One of the following:
UnionMember0
Type type
UnionMember1
Type type
UnionMember2
Type type
UnionMember3
Type type
UnionMember4
Type type
UnionMember5
Type type
class ResponseContentPart: A class that can be one of several variants.union

Dynamic content part visible on a pollable response.

UnionMember0
Type type
UnionMember1
Type type
UnionMember2
Type type
UnionMember3
Type type
UnionMember4
Type type
UnionMember5
Type type
enum ResponseStatus:

Dynamic lifecycle status for a pollable response.

QUEUED("queued")
RUNNING("running")
SUCCEEDED("succeeded")
FAILED("failed")
CANCELED("canceled")

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
ThreadGetThreadsResponse v1().omniAi().threads().getThreads(ThreadGetThreadsParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/omni-ai/threads
Get Thread By ID
ThreadGetThreadByIdResponse v1().omniAi().threads().getThreadById(ThreadGetThreadByIdParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/omni-ai/threads/{thread_id}
Create Thread
ThreadCreateThreadResponse v1().omniAi().threads().createThread(ThreadCreateThreadParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/v1/omni-ai/threads
Get Thread Response
ThreadGetThreadResponseResponse v1().omniAi().threads().getThreadResponse(ThreadGetThreadResponseParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/omni-ai/threads/{thread_id}/response
Get Messages
ThreadGetMessagesResponse v1().omniAi().threads().getMessages(ThreadGetMessagesParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/omni-ai/threads/{thread_id}/messages
Create Message
ThreadCreateMessageResponse v1().omniAi().threads().createMessage(ThreadCreateMessageParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/v1/omni-ai/threads/{thread_id}/messages
ModelsExpand Collapse
class CreateMessageResponse:

Response payload for continuing a thread with a new message.

String responseId
String threadId
String userMessageId
class CreateThreadResponse:

Response payload for thread creation.

String responseId
String threadId
String userMessageId
class Message:

Final immutable message.

String id

Finalized immutable message content container. Never includes thinking parts.

List<MessageContentPart> parts
One of the following:
UnionMember0
Type type
UnionMember1
Type type
UnionMember2
Type type
UnionMember3
Type type
UnionMember4
Type type
String createdAt

Immutable terminal outcome for a finalized assistant message.

One of the following:
COMPLETED("completed")
ERRORED("errored")
CANCELED("canceled")

Finalized message role in the public contract.

One of the following:
USER("USER")
ASSISTANT("ASSISTANT")
long seq
String threadId
Optional<ErrorStatus> error

Shared sanitized error payload.

String code
String message
Optional<JsonValue> details
class MessageContent:

Finalized immutable message content container. Never includes thinking parts.

List<MessageContentPart> parts
One of the following:
UnionMember0
Type type
UnionMember1
Type type
UnionMember2
Type type
UnionMember3
Type type
UnionMember4
Type type
class MessageContentPart: A class that can be one of several variants.union

Final immutable content part visible on persisted messages.

UnionMember0
Type type
UnionMember1
Type type
UnionMember2
Type type
UnionMember3
Type type
UnionMember4
Type type
enum MessageOutcome:

Immutable terminal outcome for a finalized assistant message.

COMPLETED("completed")
ERRORED("errored")
CANCELED("canceled")
enum MessageRole:

Finalized message role in the public contract.

USER("USER")
ASSISTANT("ASSISTANT")
class Thread:

Thread metadata returned by list/get thread endpoints.

String id
String createdAt
String title
String updatedAt

V1Orders

Place, monitor, and manage trading orders.

Get Orders
OrderGetOrdersResponse v1().orders().getOrders(OrderGetOrdersParamsparams = OrderGetOrdersParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/accounts/{account_id}/orders
Get Order By ID
OrderGetOrderByIdResponse v1().orders().getOrderById(OrderGetOrderByIdParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/accounts/{account_id}/orders/{order_id}
Submit Orders
OrderSubmitOrdersResponse v1().orders().submitOrders(OrderSubmitOrdersParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/v1/accounts/{account_id}/orders
Replace Order
OrderReplaceOrderResponse v1().orders().replaceOrder(OrderReplaceOrderParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
PATCH/v1/accounts/{account_id}/orders/{order_id}
Cancel Open Order
OrderCancelOpenOrderResponse v1().orders().cancelOpenOrder(OrderCancelOpenOrderParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
DELETE/v1/accounts/{account_id}/orders/{order_id}
Cancel All Open Orders
OrderCancelAllOpenOrdersResponse v1().orders().cancelAllOpenOrders(OrderCancelAllOpenOrdersParamsparams = OrderCancelAllOpenOrdersParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/v1/accounts/{account_id}/orders
ModelsExpand Collapse
class CancelOrderRequest:

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.

long accountId

Account ID (from path parameter)

formatint64
String orderId

Order ID to cancel (from path parameter)

class NewOrderRequest:

Request to submit a new order (PlaceOrderRequest from spec)

SecurityType instrumentType

Type of security

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

Type of order

One of the following:
MARKET("MARKET")
LIMIT("LIMIT")
STOP("STOP")
STOP_LIMIT("STOP_LIMIT")
TRAILING_STOP("TRAILING_STOP")
TRAILING_STOP_LIMIT("TRAILING_STOP_LIMIT")
String quantity

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("BUY")
SELL("SELL")
SELL_SHORT("SELL_SHORT")
OTHER("OTHER")
RequestTimeInForce timeInForce

Time in force

One of the following:
DAY("DAY")
GOOD_TILL_CANCEL("GOOD_TILL_CANCEL")
IMMEDIATE_OR_CANCEL("IMMEDIATE_OR_CANCEL")
FILL_OR_KILL("FILL_OR_KILL")
GOOD_TILL_DATE("GOOD_TILL_DATE")
AT_THE_OPENING("AT_THE_OPENING")
AT_THE_CLOSE("AT_THE_CLOSE")
GOOD_TILL_CROSSING("GOOD_TILL_CROSSING")
GOOD_THROUGH_CROSSING("GOOD_THROUGH_CROSSING")
AT_CROSSING("AT_CROSSING")
Optional<String> id

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

maxLength64
Optional<LocalDateTime> expiresAt

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

formatdate-time
Optional<Boolean> extendedHours

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

Optional<String> instrumentId

OEMS instrument UUID

formatuuid
Optional<String> limitOffset

Limit offset for trailing stop-limit orders (signed)

Optional<String> limitPrice

Limit price (required for LIMIT and STOP_LIMIT orders)

Optional<PositionEffect> positionEffect

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

One of the following:
OPEN("OPEN")
CLOSE("CLOSE")
Optional<String> stopPrice

Stop price (required for STOP and STOP_LIMIT orders)

Optional<String> symbol

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.

Optional<String> trailingOffset

Trailing offset amount (required for trailing orders)

Optional<TrailingOffsetType> trailingOffsetType

Trailing offset type (PRICE or PERCENT_BPS)

One of the following:
PRICE("PRICE")
BPS("BPS")
class Order:

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.

String id

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

long accountId

Account placing the order

formatint64
String clientOrderId

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

LocalDateTime createdAt

Timestamp when order was created (UTC)

formatdate-time
String filledQuantity

Cumulative filled quantity

String instrumentId

OEMS instrument UUID for the traded instrument.

formatuuid
SecurityType instrumentType

Type of security

One of the following:
COMMON_STOCK("COMMON_STOCK")
PREFERRED_STOCK("PREFERRED_STOCK")
OPTION("OPTION")
CASH("CASH")
OTHER("OTHER")
String leavesQuantity

Remaining unfilled quantity

OrderType orderType

Type of order (MARKET, LIMIT, etc.)

One of the following:
MARKET("MARKET")
LIMIT("LIMIT")
STOP("STOP")
STOP_LIMIT("STOP_LIMIT")
TRAILING_STOP("TRAILING_STOP")
TRAILING_STOP_LIMIT("TRAILING_STOP_LIMIT")
OTHER("OTHER")
String quantity

Total order quantity

Side side

Side of the order (BUY, SELL, SELL_SHORT)

One of the following:
BUY("BUY")
SELL("SELL")
SELL_SHORT("SELL_SHORT")
OTHER("OTHER")

Current status of the order

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

Trading symbol

TimeInForce timeInForce

Time in force instruction

One of the following:
DAY("DAY")
GOOD_TILL_CANCEL("GOOD_TILL_CANCEL")
IMMEDIATE_OR_CANCEL("IMMEDIATE_OR_CANCEL")
FILL_OR_KILL("FILL_OR_KILL")
GOOD_TILL_DATE("GOOD_TILL_DATE")
AT_THE_OPENING("AT_THE_OPENING")
AT_THE_CLOSE("AT_THE_CLOSE")
GOOD_TILL_CROSSING("GOOD_TILL_CROSSING")
GOOD_THROUGH_CROSSING("GOOD_THROUGH_CROSSING")
AT_CROSSING("AT_CROSSING")
OTHER("OTHER")
LocalDateTime updatedAt

Timestamp of the most recent update (UTC)

formatdate-time
String venue

MIC code of the venue where the order is routed

Optional<String> averageFillPrice

Average fill price across all executions

Optional<List<String>> details

Contains execution, rejection or cancellation details, if any

Optional<LocalDateTime> expiresAt

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

formatdate-time
Optional<Boolean> extendedHours

Whether the order is eligible for extended-hours trading.

Optional<String> limitOffset

Limit offset for trailing stop-limit orders (signed)

Optional<String> limitPrice

Limit price (for LIMIT and STOP_LIMIT orders)

Optional<QueueState> queueState

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

One of the following:
AWAITING_RELEASE("AWAITING_RELEASE")
RELEASED("RELEASED")
Optional<LocalDateTime> releasesAt

Scheduled release time for orders awaiting release.

formatdate-time
Optional<String> stopPrice

Stop price (for STOP and STOP_LIMIT orders)

Optional<String> trailingLimitPx

Current trailing limit price computed by the trailing strategy

Optional<String> trailingOffset

Trailing offset amount for trailing orders

Optional<TrailingOffsetType> trailingOffsetType

Trailing offset type for trailing orders

One of the following:
PRICE("PRICE")
BPS("BPS")
Optional<String> trailingStopPx

Current trailing stop price computed by the trailing strategy

Optional<String> trailingWatermarkPx

Trailing watermark price for trailing orders

Optional<LocalDateTime> trailingWatermarkTs

Trailing watermark timestamp for trailing orders

formatdate-time
Optional<String> underlyingInstrumentId

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
enum OrderStatus:

Order status

PENDING_NEW("PENDING_NEW")
NEW("NEW")
PARTIALLY_FILLED("PARTIALLY_FILLED")
FILLED("FILLED")
CANCELED("CANCELED")
REJECTED("REJECTED")
EXPIRED("EXPIRED")
PENDING_CANCEL("PENDING_CANCEL")
PENDING_REPLACE("PENDING_REPLACE")
REPLACED("REPLACED")
DONE_FOR_DAY("DONE_FOR_DAY")
STOPPED("STOPPED")
SUSPENDED("SUSPENDED")
CALCULATED("CALCULATED")
OTHER("OTHER")
enum OrderType:

Order type

MARKET("MARKET")
LIMIT("LIMIT")
STOP("STOP")
STOP_LIMIT("STOP_LIMIT")
TRAILING_STOP("TRAILING_STOP")
TRAILING_STOP_LIMIT("TRAILING_STOP_LIMIT")
OTHER("OTHER")
enum PositionEffect:

Position effect for options orders

OPEN("OPEN")
CLOSE("CLOSE")
enum QueueState:

Parent order queue or hold state.

AWAITING_RELEASE("AWAITING_RELEASE")
RELEASED("RELEASED")
enum RequestOrderType:

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

MARKET("MARKET")
LIMIT("LIMIT")
STOP("STOP")
STOP_LIMIT("STOP_LIMIT")
TRAILING_STOP("TRAILING_STOP")
TRAILING_STOP_LIMIT("TRAILING_STOP_LIMIT")
enum RequestTimeInForce:

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

DAY("DAY")
GOOD_TILL_CANCEL("GOOD_TILL_CANCEL")
IMMEDIATE_OR_CANCEL("IMMEDIATE_OR_CANCEL")
FILL_OR_KILL("FILL_OR_KILL")
GOOD_TILL_DATE("GOOD_TILL_DATE")
AT_THE_OPENING("AT_THE_OPENING")
AT_THE_CLOSE("AT_THE_CLOSE")
GOOD_TILL_CROSSING("GOOD_TILL_CROSSING")
GOOD_THROUGH_CROSSING("GOOD_THROUGH_CROSSING")
AT_CROSSING("AT_CROSSING")
enum Side:

Side of an order

BUY("BUY")
SELL("SELL")
SELL_SHORT("SELL_SHORT")
OTHER("OTHER")
enum TimeInForce:

Time in force

DAY("DAY")
GOOD_TILL_CANCEL("GOOD_TILL_CANCEL")
IMMEDIATE_OR_CANCEL("IMMEDIATE_OR_CANCEL")
FILL_OR_KILL("FILL_OR_KILL")
GOOD_TILL_DATE("GOOD_TILL_DATE")
AT_THE_OPENING("AT_THE_OPENING")
AT_THE_CLOSE("AT_THE_CLOSE")
GOOD_TILL_CROSSING("GOOD_TILL_CROSSING")
GOOD_THROUGH_CROSSING("GOOD_THROUGH_CROSSING")
AT_CROSSING("AT_CROSSING")
OTHER("OTHER")
enum TrailingOffsetType:

Trailing offset type for trailing stop orders.

PRICE("PRICE")
BPS("BPS")

V1Positions

View positions and manage position instructions.

Get Positions
PositionGetPositionsResponse v1().positions().getPositions(PositionGetPositionsParamsparams = PositionGetPositionsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/accounts/{account_id}/positions
Close Positions
PositionClosePositionsResponse v1().positions().closePositions(PositionClosePositionsParamsparams = PositionClosePositionsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/v1/accounts/{account_id}/positions
Close Position
PositionClosePositionResponse v1().positions().closePosition(PositionClosePositionParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
DELETE/v1/accounts/{account_id}/positions/{instrument_id}
List Position Instructions
PositionGetPositionInstructionsResponse v1().positions().getPositionInstructions(PositionGetPositionInstructionsParamsparams = PositionGetPositionInstructionsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/accounts/{account_id}/positions/instructions
Submit Position Instructions
PositionSubmitPositionInstructionsResponse v1().positions().submitPositionInstructions(PositionSubmitPositionInstructionsParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/v1/accounts/{account_id}/positions/instructions
Cancel Position Instruction
PositionCancelPositionInstructionResponse v1().positions().cancelPositionInstruction(PositionCancelPositionInstructionParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
DELETE/v1/accounts/{account_id}/positions/instructions/{instruction_id}
ModelsExpand Collapse
class Position:

Represents a holding of a particular instrument in an account

long accountId

The account this position belongs to

formatint64
String availableQuantity

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

String instrumentId

OEMS instrument UUID

formatuuid
SecurityType instrumentType

Type of security

One of the following:
COMMON_STOCK("COMMON_STOCK")
PREFERRED_STOCK("PREFERRED_STOCK")
OPTION("OPTION")
CASH("CASH")
OTHER("OTHER")
String marketValue

The current market value of the position

PositionType positionType

The type of position

One of the following:
LONG("LONG")
SHORT("SHORT")
LONG_CALL("LONG_CALL")
SHORT_CALL("SHORT_CALL")
LONG_PUT("LONG_PUT")
SHORT_PUT("SHORT_PUT")
String quantity

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

String symbol

The trading symbol for the instrument

Optional<String> avgPrice

The average price paid per share or contract for this position

Optional<String> closingPrice

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

Optional<LocalDate> closingPriceDate

The market date associated with closing_price

formatdate
Optional<String> costBasis

The total cost basis for this position

Optional<String> dailyUnrealizedPnl

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

Optional<String> dailyUnrealizedPnlPct

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

Optional<String> instrumentPrice

The current market price of the instrument

Optional<String> underlyingInstrumentId

OEMS instrument identifier of the underlying instrument, if resolvable

formatuuid
Optional<String> unrealizedPnl

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

Optional<String> unrealizedPnlPct

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

class PositionInstruction:

A position instruction and its current lifecycle state.

String id

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

formatuuid
long accountId

Account the instruction belongs to.

formatint64
String instructionId

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

PositionInstructionType instructionType

The action this instruction requests.

One of the following:
EXERCISE("EXERCISE")
DO_NOT_EXERCISE("DO_NOT_EXERCISE")
CONTRARY_EXERCISE("CONTRARY_EXERCISE")
String instrumentId

Identifier of the options contract this instruction acts on.

formatuuid
String quantity

Number of contracts included in the instruction.

Current lifecycle status.

One of the following:
SENT("SENT")
ACCEPTED("ACCEPTED")
REJECTED("REJECTED")
ENGINE_REJECTED("ENGINE_REJECTED")
CANCEL_REQUESTED("CANCEL_REQUESTED")
CANCELLED("CANCELLED")
CANCEL_FAILED("CANCEL_FAILED")
UNKNOWN("UNKNOWN")
String symbol

Options symbol (OSI) for display.

Optional<String> acceptedQuantity

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

Optional<LocalDateTime> createdAt

When the instruction was first accepted by the service.

formatdate-time
Optional<String> rejectionReason

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.

Optional<LocalDateTime> updatedAt

When the instruction’s lifecycle state last changed.

formatdate-time
enum PositionInstructionStatus:

Lifecycle status of a position instruction.

SENT("SENT")
ACCEPTED("ACCEPTED")
REJECTED("REJECTED")
ENGINE_REJECTED("ENGINE_REJECTED")
CANCEL_REQUESTED("CANCEL_REQUESTED")
CANCELLED("CANCELLED")
CANCEL_FAILED("CANCEL_FAILED")
UNKNOWN("UNKNOWN")
enum PositionInstructionType:

The action to take against an options position.

EXERCISE("EXERCISE")
DO_NOT_EXERCISE("DO_NOT_EXERCISE")
CONTRARY_EXERCISE("CONTRARY_EXERCISE")
enum PositionType:

Position type classification

LONG("LONG")
SHORT("SHORT")
LONG_CALL("LONG_CALL")
SHORT_CALL("SHORT_CALL")
LONG_PUT("LONG_PUT")
SHORT_PUT("SHORT_PUT")

V1Watchlist

Create and manage watchlists.

Get Watchlists
WatchlistGetWatchlistsResponse v1().watchlist().getWatchlists(WatchlistGetWatchlistsParamsparams = WatchlistGetWatchlistsParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/watchlists
Get Watchlist By ID
WatchlistGetWatchlistByIdResponse v1().watchlist().getWatchlistById(WatchlistGetWatchlistByIdParamsparams = WatchlistGetWatchlistByIdParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/watchlists/{watchlist_id}
Create Watchlist
WatchlistCreateWatchlistResponse v1().watchlist().createWatchlist(WatchlistCreateWatchlistParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/v1/watchlists
Delete Watchlist
JsonValue v1().watchlist().deleteWatchlist(WatchlistDeleteWatchlistParamsparams = WatchlistDeleteWatchlistParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
DELETE/v1/watchlists/{watchlist_id}
Add Watchlist Item
WatchlistAddWatchlistItemResponse v1().watchlist().addWatchlistItem(WatchlistAddWatchlistItemParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
POST/v1/watchlists/{watchlist_id}/items
Delete Watchlist Item
JsonValue v1().watchlist().deleteWatchlistItem(WatchlistDeleteWatchlistItemParamsparams, RequestOptionsrequestOptions = RequestOptions.none())
DELETE/v1/watchlists/{watchlist_id}/items/{item_id}
ModelsExpand Collapse
class AddWatchlistItemData:

Response data for adding a watchlist item

String itemId

ID of the created item

formatuuid
class WatchlistDetail:

Detailed watchlist with all items

String id

Watchlist ID

formatuuid
LocalDateTime createdAt

Creation timestamp

formatdate-time
List<WatchlistItemEntry> items

Items in the watchlist

String id

Item ID

formatuuid
LocalDateTime addedAt

When the item was added

formatdate-time
Optional<String> addedPrice

Price when the item was added

Optional<Instrument> instrument

Instrument details

String id

Unique OEMS instrument identifier (UUID)

formatuuid
String countryOfIssue

The ISO country code of the instrument’s issue

String currency

The ISO currency code in which the instrument is traded

boolean easyToBorrow

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

boolean isLiquidationOnly

Indicates if the instrument is liquidation only and cannot be bought

boolean isMarginable

Indicates if the instrument is marginable

boolean isRestricted

Indicates if the instrument is restricted from trading

boolean isShortProhibited

Indicates if short selling is prohibited for the instrument

boolean isThresholdSecurity

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

boolean isTradable

Indicates if the instrument is tradable

String symbol

The trading symbol for the instrument

String venue

The MIC code of the primary listing venue

Optional<String> adv

Average daily share volume from the security definition.

Optional<LocalDate> expiry

The expiration date for options instruments

formatdate
Optional<SecurityType> instrumentType

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

One of the following:
COMMON_STOCK("COMMON_STOCK")
PREFERRED_STOCK("PREFERRED_STOCK")
OPTION("OPTION")
CASH("CASH")
OTHER("OTHER")
Optional<String> longMarginRate

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

Optional<String> name

The full name of the instrument or its issuer

Optional<String> notionalAdv

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.

Optional<List<LocalDate>> optionsExpiryDates

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

Optional<String> previousClose

Last close price from the security definition.

Optional<String> shortMarginRate

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

Optional<String> strikePrice

The strike price for options instruments

String name

Watchlist name

class WatchlistEntry:

Represents a user watchlist.

String id

The unique identifier for the watchlist.

formatuuid
LocalDateTime createdAt

The timestamp when the watchlist was created.

formatdate-time
String name

The user-provided watchlist name.

class WatchlistItemEntry:

A single item in a watchlist

String id

Item ID

formatuuid
LocalDateTime addedAt

When the item was added

formatdate-time
Optional<String> addedPrice

Price when the item was added

Optional<Instrument> instrument

Instrument details

String id

Unique OEMS instrument identifier (UUID)

formatuuid
String countryOfIssue

The ISO country code of the instrument’s issue

String currency

The ISO currency code in which the instrument is traded

boolean easyToBorrow

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

boolean isLiquidationOnly

Indicates if the instrument is liquidation only and cannot be bought

boolean isMarginable

Indicates if the instrument is marginable

boolean isRestricted

Indicates if the instrument is restricted from trading

boolean isShortProhibited

Indicates if short selling is prohibited for the instrument

boolean isThresholdSecurity

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

boolean isTradable

Indicates if the instrument is tradable

String symbol

The trading symbol for the instrument

String venue

The MIC code of the primary listing venue

Optional<String> adv

Average daily share volume from the security definition.

Optional<LocalDate> expiry

The expiration date for options instruments

formatdate
Optional<SecurityType> instrumentType

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

One of the following:
COMMON_STOCK("COMMON_STOCK")
PREFERRED_STOCK("PREFERRED_STOCK")
OPTION("OPTION")
CASH("CASH")
OTHER("OTHER")
Optional<String> longMarginRate

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

Optional<String> name

The full name of the instrument or its issuer

Optional<String> notionalAdv

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.

Optional<List<LocalDate>> optionsExpiryDates

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

Optional<String> previousClose

Last close price from the security definition.

Optional<String> shortMarginRate

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

Optional<String> strikePrice

The strike price for options instruments

V1Websocket

Active Websocket.

Websocket Handler
v1().websocket().websocketHandler(WebsocketWebsocketHandlerParamsparams = WebsocketWebsocketHandlerParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
GET/v1/ws