Create pending order request
Create a pending order
Request address
- API Address (requestURI) : /api/v1/request/createPendingRequest
Request parameters
| Parameter name | Type | Requirement | Description |
|---|---|---|---|
| login | Long | R | Administrator account |
| sourceLogin | Long | R | Operator account |
| accountLogin | Long | R | Current account login |
| orderExternalID | String | R | The external ID for the order |
| priceOrder | Double | O | The price of the order |
| priceSL | Double | O | The stop loss price for the order |
| priceTP | Double | O | The take profit price for the order |
| symbol | String | R | The symbol for the order |
| type | Integer | R | Order type, only supports 2-BUY_LIMIT and 3-SELL_LIMIT |
| volume | Long | R | The volume of the order |
| timeExpiration | Double | O | The expiration time in the transaction request. 0 means the order has no expiration time. Unit: /seconds |
| typeTime | Double | O | The order expiration type in the request. 0 means the order has no expiration date, 1 means the current time, 2 means a specified time, and 3 means a specified date. |
|