Trading Commands

Brief

The section describes trading commands that can be created and sent via IO2GRequestFactory.

Details

To request command creation (see O2GRequestFactory.createOrderRequest), you must fill an instance of O2GValueMap with command parameters.

The first field is the command. For example, to create an order, fill the Command field of the value map with the "CreateOrder" value.

Please refer to one of the articles below for details on how to fill the value map for each command.

Note: Examples are available for the following commands:

Articles

Create Order

Create OCO Orders

Create OTO Orders

Create New Contingency Group

Add Existing Orders into Existing Contingency Group

Remove Orders from Existing Contingency Group

Edit Order

Delete Order

Set Subscription Status

Update Margin Requirements

Get Last Order Update

Get the up-to-date order information from the server.

back