8000 GitHub - goraxe/rust-ibkr-cpapi
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

goraxe/rust-ibkr-cpapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust API client for rust-ibkr-cpapi_openapi_client

Client Poral Web API

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.7.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named rust-ibkr-cpapi_openapi_client and add the following to Cargo.toml under [dependencies]:

rust-ibkr-cpapi_openapi_client = { path = "./rust-ibkr-cpapi_openapi_client" }

Documentation for API Endpoints

All URIs are relative to http://localhost:5000/v1/api

Class Method HTTP request Description
AccountApi iserver_account_pnl_partitioned_get GET /iserver/account/pnl/partitioned PnL for the selected account
AccountApi iserver_account_post POST /iserver/account Switch Account
AccountApi iserver_accounts_get GET /iserver/accounts Brokerage Accounts
AccountApi portfolio_account_id_ledger_get GET /portfolio/{accountId}/ledger Account Ledger
AccountApi portfolio_account_id_meta_get GET /portfolio/{accountId}/meta Account Information
AccountApi portfolio_account_id_summary_get GET /portfolio/{accountId}/summary Account Summary
AccountApi portfolio_accounts_get GET /portfolio/accounts Portfolio Accounts
AccountApi portfolio_subaccounts2_page_get GET /portfolio/subaccounts2/{page} List of Sub-Accounts (Large Accounts)
AccountApi portfolio_subaccounts_get GET /portfolio/subaccounts List of Sub-Accounts
AlertApi iserver_account_account_id_alert_activate_post POST /iserver/account/{accountId}/alert/activate Activate or deactivate an alert
AlertApi iserver_account_account_id_alert_alert_id_delete DELETE /iserver/account/{accountId}/alert/{alertId} Delete an alert
AlertApi iserver_account_account_id_alert_post POST /iserver/account/{accountId}/alert Create or modify alert
AlertApi iserver_account_account_id_alerts_get GET /iserver/account/{accountId}/alerts Get a list of available alerts
AlertApi iserver_account_alert_id_get GET /iserver/account/alert/{id} Get details of an alert
AlertApi iserver_account_mta_get GET /iserver/account/mta Get MTA alert
CcpBetaApi ccp_account_get GET /ccp/account Brokerage Accounts
CcpBetaApi ccp_auth_init_post POST /ccp/auth/init Start CCP Session
CcpBetaApi ccp_auth_response_post POST /ccp/auth/response Complete CCP Session
CcpBetaApi ccp_order_delete DELETE /ccp/order Delete Order
CcpBetaApi ccp_order_post POST /ccp/order Submit Order
CcpBetaApi ccp_order_put PUT /ccp/order Update Order
CcpBetaApi ccp_orders_get GET /ccp/orders Order Status
CcpBetaApi ccp_positions_get GET /ccp/positions Positions
CcpBetaApi ccp_status_get GET /ccp/status CCP Status
CcpBetaApi ccp_trades_get GET /ccp/trades Trades
ContractApi iserver_contract_conid_algos_get GET /iserver/contract/{conid}/algos IB Algo Params
ContractApi iserver_contract_conid_info_and_rules_get GET /iserver/contract/{conid}/info-and-rules Info and Rules
ContractApi iserver_contract_conid_info_get GET /iserver/contract/{conid}/info Contract Details
ContractApi iserver_contract_rules_post POST /iserver/contract/rules Contract Rules
ContractApi iserver_secdef_info_get GET /iserver/secdef/info Secdef Info
ContractApi iserver_secdef_search_post POST /iserver/secdef/search Search by Symbol or Name
ContractApi iserver_secdef_strikes_get GET /iserver/secdef/strikes Search Strikes
ContractApi trsrv_futures_get GET /trsrv/futures Security Futures by Symbol
ContractApi trsrv_secdef_post POST /trsrv/secdef Secdef by Conid
ContractApi trsrv_secdef_schedule_get GET /trsrv/secdef/schedule Get trading schedule for symbol
ContractApi trsrv_stocks_get GET /trsrv/stocks Security Stocks by Symbol
FyiApi fyi_deliveryoptions_device_id_delete DELETE /fyi/deliveryoptions/{deviceId} Delete a device
FyiApi fyi_deliveryoptions_device_post POST /fyi/deliveryoptions/device Enable/Disable device option
FyiApi fyi_deliveryoptions_email_put PUT /fyi/deliveryoptions/email Enable/Disable email option
FyiApi fyi_deliveryoptions_get GET /fyi/deliveryoptions Get delivery options
FyiApi fyi_disclaimer_typecode_get GET /fyi/disclaimer/{typecode} Get disclaimer for a certain kind of fyi
FyiApi fyi_disclaimer_typecode_put PUT /fyi/disclaimer/{typecode} Mark disclaimer read
FyiApi fyi_notifications_get GET /fyi/notifications Get a list of notifications
FyiApi fyi_notifications_more_get GET /fyi/notifications/more Get more notifications based on a certain one
FyiApi fyi_notifications_notification_id_put PUT /fyi/notifications/{notificationId} Get a list of notifications
FyiApi fyi_settings_get GET /fyi/settings Get a list of subscriptions
FyiApi fyi_settings_typecode_post POST /fyi/settings/{typecode} Enable/Disable certain subscription
FyiApi fyi_unreadnumber_get GET /fyi/unreadnumber Get unread number of fyis. The HTTP method POST is also supported.
MarketDataApi hmds_history_get GET /hmds/history Market Data History (Beta)
MarketDataApi iserver_marketdata_conid_unsubscribe_get GET /iserver/marketdata/{conid}/unsubscribe Market Data Cancel (Single)
MarketDataApi iserver_marketdata_history_get GET /iserver/marketdata/history Market Data History
MarketDataApi iserver_marketdata_snapshot_get GET /iserver/marketdata/snapshot Market Data
MarketDataApi iserver_marketdata_unsubscribeall_get GET /iserver/marketdata/unsubscribeall Market Data Cancel (All)
MarketDataApi md_snapshot_get GET /md/snapshot Market Data Snapshot (Beta)
OrderApi iserver_account_account_id_order_order_id_delete DELETE /iserver/account/{accountId}/order/{orderId} Cancel Order
OrderApi iserver_account_account_id_order_order_id_post POST /iserver/account/{accountId}/order/{orderId} Modify Order
OrderApi iserver_account_account_id_order_post POST /iserver/account/{accountId}/order Place Order (Deprecated)
OrderApi iserver_account_account_id_order_whatif_post POST /iserver/account/{accountId}/order/whatif Preview Order (Deprecated)
OrderApi iserver_account_account_id_orders_post POST /iserver/account/{accountId}/orders Place Orders
OrderApi iserver_account_account_id_orders_whatif_post POST /iserver/account/{accountId}/orders/whatif Preview Orders
OrderApi iserver_account_order_status_order_id_get GET /iserver/account/order/status/{orderId} Order Status
OrderApi iserver_account_orders_fa_group_post POST /iserver/account/orders/{faGroup} Place Orders for FA
OrderApi iserver_account_orders_get GET /iserver/account/orders Live Orders
OrderApi iserver_reply_replyid_post POST /iserver/reply/{replyid} Place Order Reply
PnLApi iserver_account_pnl_partitioned_get GET /iserver/account/pnl/partitioned PnL for the selected account
PortfolioApi portfolio_account_id_allocation_get GET /portfolio/{accountId}/allocation Account Allocation
PortfolioApi portfolio_account_id_ledger_get GET /portfolio/{accountId}/ledger Account Ledger
PortfolioApi portfolio_account_id_meta_get GET /portfolio/{accountId}/meta Account Information
PortfolioApi portfolio_account_id_position_conid_get GET /portfolio/{accountId}/position/{conid} Position by Conid
PortfolioApi portfolio_account_id_positions_invalidate_post POST /portfolio/{accountId}/positions/invalidate Invalidates the backend cache of the Portfolio
PortfolioApi portfolio_account_id_positions_page_id_get GET /portfolio/{accountId}/positions/{pageId} Portfolio Positions
PortfolioApi portfolio_account_id_summary_get GET /portfolio/{accountId}/summary Account Summary
PortfolioApi portfolio_accounts_get GET /portfolio/accounts Portfolio Accounts
PortfolioApi portfolio_allocation_post POST /portfolio/allocation Account Alloction (All Accounts)
PortfolioApi portfolio_positions_conid_get GET /portfolio/positions/{conid} Positions by Conid
PortfolioApi portfolio_subaccounts2_page_get GET /portfolio/subaccounts2/{page} List of Sub-Accounts (Large Accounts)
PortfolioApi portfolio_subaccounts_get GET /portfolio/subaccounts List of Sub-Accounts
PortfolioAnalystApi pa_performance_post POST /pa/performance Account Performance
PortfolioAnalystApi pa_summary_post POST /pa/summary 8000 Account Balance's Summary (Deprecated)
PortfolioAnalystApi pa_transactions_post POST /pa/transactions Position's Transaction History
ScannerApi hmds_scanner_post POST /hmds/scanner Run Scanner (Beta)
ScannerApi iserver_scanner_params_get GET /iserver/scanner/params Scanner Parameters
ScannerApi iserver_scanner_run_post POST /iserver/scanner/run Scanner Run
SessionApi iserver_auth_status_post POST /iserver/auth/status Authentication Status
SessionApi iserver_reauthenticate_post POST /iserver/reauthenticate Tries to re-authenticate to Brokerage
SessionApi logout_post POST /logout Ends the current session
SessionApi sso_validate_get GET /sso/validate Validate SSO
SessionApi tickle_post POST /tickle Ping the server to keep the session open
StreamingApi ws_post POST /ws Websocket Endpoint
TradesApi iserver_account_trades_get GET /iserver/account/trades List of Trades for the selected account

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

About working on rust-ibkr-cpapi_openapi_client

Hey! This library:

  • Was generated using openapi_lib_generator v0.2.312 at 2024-07-20T02:09:03.453055373+00:00.
  • Implements the rust-ibkr-cpapi. For these reasons, proposed changes to this repository will likely not be accepted. Try proposing changes to the generator tools instead.
  • Uses the corresponding OpenAPI specification found at [https://www.interactivebrokers.com/api/doc.json].

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0