IbkrApi.Support.HTTPStubs.PortfolioStub (ibkr_api v1.0.3)

View Source

Stub module for IbkrApi.ClientPortal.Portfolio HTTP requests.

Summary

Functions

Stubs the account_allocation endpoint.

Stubs the account_info endpoint.

Stubs the account_ledger endpoint.

Stubs the account_summary endpoint.

Stubs the get_pnl endpoint.

Stubs the invalidate_positions_cache endpoint.

Stubs the list_accounts endpoint.

Stubs the list_brokerage_accounts endpoint.

Stubs the list_sub_accounts endpoint.

Stubs the portfolio_positions endpoint.

Stubs the position_by_conid endpoint.

Stubs the switch_account endpoint.

Functions

stub_account_allocation(response_fn \\ nil)

Stubs the account_allocation endpoint.

stub_account_info(response_fn \\ nil)

Stubs the account_info endpoint.

stub_account_ledger(response_fn \\ nil)

Stubs the account_ledger endpoint.

stub_account_summary(response_fn \\ nil)

Stubs the account_summary endpoint.

stub_get_pnl(response_fn \\ nil)

Stubs the get_pnl endpoint.

stub_invalidate_positions_cache(response_fn \\ nil)

Stubs the invalidate_positions_cache endpoint.

stub_list_accounts(response_fn \\ nil)

Stubs the list_accounts endpoint.

stub_list_brokerage_accounts(response_fn \\ nil)

Stubs the list_brokerage_accounts endpoint.

stub_list_sub_accounts(response_fn \\ nil)

Stubs the list_sub_accounts endpoint.

stub_portfolio_positions(response_fn \\ nil)

Stubs the portfolio_positions endpoint.

stub_position_by_conid(response_fn \\ nil)

Stubs the position_by_conid endpoint.

stub_switch_account(response_fn \\ nil)

Stubs the switch_account endpoint.