Methods to query companies
Aurora API (v1.23.0-rc1)
- Mock serverhttps://developer.provablemarkets.com/_mock/apis/connectapi/aurora.core.apiengine.omsv1.OmsService/CancelOrder
- https://developer.provablemarkets.com/aurora.core.apiengine.omsv1.OmsService/CancelOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.provablemarkets.com/_mock/apis/connectapi/aurora.core.apiengine.omsv1.OmsService/CancelOrder \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"id": "string"
}'{ "id": "string" }
Fields: ids, counterparty_ids, collateral_types, settlement_types, booking_accounts, counterparty_booking_accounts, trade_types, collateral_currencies, delivery_types
Customer internal id that will be reflected on the order and can be used to query the order
If time in force is “GOOD_TILL_TIME”, the date/time the order is to be canceled is required. Time in RFC3339 with millisecond precision
The minimum quantity that the order can be matched against. If not specified the default will be 100.
- Mock serverhttps://developer.provablemarkets.com/_mock/apis/connectapi/aurora.core.apiengine.omsv1.OmsService/CreateOrder
- https://developer.provablemarkets.com/aurora.core.apiengine.omsv1.OmsService/CreateOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.provablemarkets.com/_mock/apis/connectapi/aurora.core.apiengine.omsv1.OmsService/CreateOrder \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"active": true,
"agreements_filter": {
"booking_accounts": [
"string"
],
"collateral_currencies": [
"USD"
],
"collateral_types": [
"COLLATERAL_TYPE_UNSPECIFIED"
],
"counterparty_booking_accounts": [
"string"
],
"counterparty_ids": [
"string"
],
"delivery_types": [
"DELIVERY_TYPE_UNSPECIFIED"
],
"ids": [
"string"
],
"settlement_types": [
"NSCC"
],
"trade_types": [
"string"
]
},
"allow_odd_lots": true,
"external_id": "string",
"good_till_time": "string",
"instrument_id": "string",
"instrument_id_type": "CUSIP",
"min_quantity": "string",
"order_intent": "FIRM",
"order_type": "LIMIT",
"quantity": "string",
"rate_limit": {
"type": "REBATE",
"value": "string"
},
"side": "BORROW",
"time_in_force": "DAY",
"version_reference": "string"
}'{ "id": "string" }
- Mock serverhttps://developer.provablemarkets.com/_mock/apis/connectapi/aurora.core.apiengine.omsv1.OmsService/GetOrder
- https://developer.provablemarkets.com/aurora.core.apiengine.omsv1.OmsService/GetOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.provablemarkets.com/_mock/apis/connectapi/aurora.core.apiengine.omsv1.OmsService/GetOrder \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"id": "string"
}'A successful response
Fields: id, external_id, version_reference, instrument, side, order_status, order_type, order_intent, time_in_force, good_till_time, quantity, min_quantity, fee, rebate, agreement_ids, open_quantity, total_execution_quantity, avg_execution_fee, avg_execution_rebate, created_at, updated_at, created_by, last_updated_by, firm_quantity, ioi_quantity, executions, allow_odd_lots
List of executions on this Order
Rate limit, expressed as fee Optional for certain order types: IOI And not applicable for certain order types: Market
The time the order will be canceled if populated. Time in RFC3339 with millisecond precision
Instruments can be identified by their CUSIP or Ticker Symbol
Fields: cusip, ticker, name
Rate limit, expressed as rebate (same as fee, but relative to benchmark) Optional for certain order types: IOI And not applicable for certain order types: Market
Order was last changed at - time in RFC3339 with millisecond precision
{ "order": { "agreement_ids": [ … ], "allow_odd_lots": true, "avg_execution_fee": "string", "avg_execution_rebate": "string", "created_at": "string", "created_by": "string", "executions": [ … ], "external_id": "string", "fee": "string", "firm_quantity": "string", "good_till_time": "string", "id": "string", "instrument": { … }, "ioi_quantity": "string", "last_updated_by": "string", "min_quantity": "string", "open_quantity": "string", "order_intent": "FIRM", "order_status": "OPEN", "order_type": "LIMIT", "quantity": "string", "rebate": "string", "side": "BORROW", "time_in_force": "DAY", "total_execution_quantity": "string", "updated_at": "string", "version_reference": "string" } }
- Mock serverhttps://developer.provablemarkets.com/_mock/apis/connectapi/aurora.core.apiengine.omsv1.OmsService/ListOrders
- https://developer.provablemarkets.com/aurora.core.apiengine.omsv1.OmsService/ListOrders
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.provablemarkets.com/_mock/apis/connectapi/aurora.core.apiengine.omsv1.OmsService/ListOrders \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"ids": [
"string"
],
"instrument_id": "string",
"instrument_id_type": "CUSIP",
"order_status": "OPEN",
"side": "BORROW",
"since": "string"
}'{ "orders": [ { … } ] }
Fields: ids, counterparty_ids, collateral_types, settlement_types, booking_accounts, counterparty_booking_accounts, trade_types, collateral_currencies, delivery_types
Used for version control, the user can provide the last known version_reference to ensure any modifications are applied to the intended version.
Customer internal id that will be reflected on the order and can be used to query the order
Specific expiry time - only used (and required) with tif=GTT - time in RFC3339 with millisecond precision
A new identifier to be assigned to the order. When provided needs to be a unique value within the past 12 hours, if the same value is observed then the request will be rejected.
The updated quantity you want on the order. Note: This will replace the current quantity and is not a delta.
- Mock serverhttps://developer.provablemarkets.com/_mock/apis/connectapi/aurora.core.apiengine.omsv1.OmsService/ModifyOrder
- https://developer.provablemarkets.com/aurora.core.apiengine.omsv1.OmsService/ModifyOrder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.provablemarkets.com/_mock/apis/connectapi/aurora.core.apiengine.omsv1.OmsService/ModifyOrder \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"active": true,
"agreements_filter": {
"booking_accounts": [
"string"
],
"collateral_currencies": [
"USD"
],
"collateral_types": [
"COLLATERAL_TYPE_UNSPECIFIED"
],
"counterparty_booking_accounts": [
"string"
],
"counterparty_ids": [
"string"
],
"delivery_types": [
"DELIVERY_TYPE_UNSPECIFIED"
],
"ids": [
"string"
],
"settlement_types": [
"NSCC"
],
"trade_types": [
"string"
]
},
"current_version_reference": "string",
"external_id": "string",
"good_till_time": "string",
"id": "string",
"min_quantity": "string",
"new_version_reference": "string",
"quantity": "string",
"rate_limit": {
"type": "REBATE",
"value": "string"
},
"time_in_force": "DAY"
}'{ "id": "string" }