Skip to content

Method Index

A compact index of SDK methods, grouped by area.

Account & Portfolio

  • get_account, get_account_summary, get_account_id
  • get_account_values, get_account_value
  • get_positions(force_refresh), get_position(symbol, force_refresh), has_position(symbol), get_open_position(symbol, sec_type)
  • close_position(symbol), invalidate_position_cache()
  • get_orders, get_open_orders, get_open_trades, get_trades
  • get_pnl, get_position_pnl, get_margin
  • get_status, is_connected, get_connection_status

Market Data

  • get_quote, get_tickers, get_price
  • get_dividend_yield
  • get_history, get_historical_bars, get_historical_data
  • get_market_depth, get_last_trade, get_ticks
  • get_halt_status, is_halted
  • get_trading_hours, is_market_open_for

Orders

  • place_order, place_contract_order
  • buy, sell, buy_market, sell_market, buy_limit, sell_limit
  • buy_stop, sell_stop, buy_stop_limit, sell_stop_limit
  • buy_trail, sell_trail, place_trailing_stop
  • place_bracket_order, place_adaptive_order
  • place_combo_order, place_vertical_spread, place_iron_condor
  • cancel_order, cancel_all_orders, modify_order
  • get_order_status, wait_for_fill, wait_for_submitted
  • get_order_impact

Emergency Controls

  • account_kill_switch(mode) — Cancel all orders and close all positions
  • flatten_all(mode) — Alias of account_kill_switch()
  • strategy_kill_switch()Deprecated, use flatten_all()

See Emergency Controls for details.

Options

  • get_option_contract, get_option_contracts, get_options_chain, get_strikes
  • get_option_by_delta, get_atm_strike
  • get_option_expirations, get_expirations
  • get_option_quote, get_option_quotes
  • get_greeks, get_option_greeks, get_option_greeks_batch
  • get_option_oi, get_option_volume

Contracts

  • get_conid, get_index_conid
  • search_contracts, get_contract_details, qualify_contract

Calendars & Time

  • get_market_time, is_market_open
  • get_eastern_time, is_within_trade_window, is_eod
  • get_trading_calendar, count_trading_days
  • get_next_market_open, get_next_market_close

Streaming

  • stream_quotes, stream_order_updates

Async Client

  • AsyncTradingClient — Full parity with sync client. All methods are async.
  • close() — Release the HTTP session

See Async Client for details.