API Reference ibkr_api v1.0.3
View SourceModules
IbkrApi
A comprehensive Elixir client for Interactive Brokers' Client Portal API. This library provides a clean, idiomatic Elixir interface to interact with Interactive Brokers' trading platform.
Asset class module for IBKR Client Portal API.
Historical market data bar structure for backtesting.
Backtesting engine that runs strategies against historical data.
Portfolio management for backtesting.
Simple Moving Average crossover strategy.
Behaviour for defining backtesting strategies.
Contract-related functionality for the IBKR Client Portal API.
Contract information within stock security definition
Contract ID information
Bond issuer information
Contract section information within search results
Available currency pair information
Daily trading schedule information
Contract search result
Security definition structure
Detailed contract information from secdef/info endpoint
Trading session information
Stock security definition response
Response structure for option strikes
Complete trading schedule for an exchange
Trading time information within a trading schedule
Market Data functionality for the IBKR Client Portal API.
Historical market data bar structure.
Market data snapshot response structure with descriptive field names. All numeric field codes are mapped to their descriptive equivalents.
IbkrApi.ClientPortal.Order module for managing order placement and monitoring.
Struct representing a request to modify an existing order.
Struct representing a request to preview an order before placement.
Struct representing a request to place a new order.
Portfolio and Account management functions for IBKR Client Portal API. Handles account information, positions, allocations, summaries, and ledgers.
AccountSummary struct containing all account summary fields. Each field is a SummaryField struct with timestamp, value, currency, severity, amount, and is_null information.
Represents PnL data for a specific account. Contains daily and unrealized PnL information.
Represents a single field in an account summary response. Each field contains metadata about the value including timestamp, currency, and severity.
Response from switching accounts. Can contain different fields depending on the response
Configuration settings for the IBKR API client.
HTTP client for the Interactive Brokers Client Portal API with rate limiting.
Mock configuration module for testing rate limiting with custom configurations.
Rate limiting implementation for IBKR API requests using Hammer v7.
Helper functions for creating mock HTTP responses.
Helper module for using HTTP mocks in tests.
HTTP sandbox for mocking HTTP requests in tests.
Stub module for IbkrApi.ClientPortal.Auth HTTP requests.
Stub module for IbkrApi.ClientPortal.Contract HTTP requests.
Stub module for IbkrApi.ClientPortal.MarketData HTTP requests.
Stub module for IbkrApi.ClientPortal.Order HTTP requests.
Stub module for IbkrApi.ClientPortal.Portfolio HTTP requests.
Stub module for IbkrApi.ClientPortal.Trade HTTP requests.
WebSocket client for Interactive Brokers Client Portal API streaming data.
Behaviour for WebSocket event handlers.