IbkrApi.Support.HTTPStubs.OrderStub (ibkr_api v1.0.3)
View SourceStub module for IbkrApi.ClientPortal.Order HTTP requests.
Summary
Functions
Stubs the delete_order endpoint.
Stubs the get_order_status endpoint.
Stubs the list_orders endpoint.
Stubs the modify_order endpoint.
Stubs the place_order endpoint.
Stubs the place_order_for_fa_group endpoint.
Stubs the place_order_reply endpoint.
Stubs the what_if endpoint.
Functions
Stubs the delete_order endpoint.
Stubs the get_order_status endpoint.
Stubs the list_orders endpoint.
Examples
OrderStub.stub_list_orders()
# Or with custom response:
OrderStub.stub_list_orders(HTTPMock.success([%{"order_id" => "12345", "symbol" => "MSFT", ...}]))
Stubs the modify_order endpoint.
Stubs the place_order endpoint.
Stubs the place_order_for_fa_group endpoint.
Stubs the place_order_reply endpoint.
Stubs the what_if endpoint.