Methods to query companies
Aurora API (v1.23.0-rc1)
Current status of the contract according to Aurora
Fields: id, settlement_type, settlement_id, instrument, side, counterparty_id, status, quantity, rate_details, collateral_rate, rounding_rule, interest_due_amount, market_value, contract_value, contract_value_adjustment, created_at, settlement_date, recalled_quantity, returned_quantity, agreement_id, unit_price, last_quantity, last_market_value, last_contract_value, collateral_price
Time of contract creation- time in RFC3339 with millisecond precision
Instruments can be identified by their CUSIP or Ticker Symbol
Fields: cusip, ticker, name
Value of the contract before the last operation that adjusted this value
Market value of the contract before the last operation that adjusted this value
Quantity of the contract before the last operation that adjusted this value
Fields: rate, benchmark
Settlement Type specific identifier ie. DTCC reference id for SFT
possible states in the lifecycle of a contract
- Mock serverhttps://developer.provablemarkets.com/_mock/apis/connectapi/aurora.core.apiengine.contractsv1.ContractEventsService/CancelContractAccepted
- https://developer.provablemarkets.com/aurora.core.apiengine.contractsv1.ContractEventsService/CancelContractAccepted
- 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.contractsv1.ContractEventsService/CancelContractAccepted \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"contract": {
"agreement_id": "string",
"collateral_price": "string",
"collateral_rate": "string",
"contract_value": "string",
"contract_value_adjustment": "string",
"counterparty_id": "string",
"created_at": "string",
"id": "string",
"instrument": {
"cusip": "string",
"name": "string",
"ticker": "string"
},
"interest_due_amount": "string",
"last_contract_value": "string",
"last_market_value": "string",
"last_quantity": "string",
"market_value": "string",
"quantity": "string",
"rate_details": {
"benchmark": "OBFR",
"rate": "string"
},
"recalled_quantity": "string",
"returned_quantity": "string",
"rounding_rule": "NO_ROUNDING",
"settlement_date": "string",
"settlement_id": "string",
"settlement_type": "NSCC",
"side": "BORROW",
"status": "NEW",
"unit_price": "string"
},
"request_id": "string"
}'A successful response
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:
service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
{}
Current status of the contract according to Aurora
Fields: id, settlement_type, settlement_id, instrument, side, counterparty_id, status, quantity, rate_details, collateral_rate, rounding_rule, interest_due_amount, market_value, contract_value, contract_value_adjustment, created_at, settlement_date, recalled_quantity, returned_quantity, agreement_id, unit_price, last_quantity, last_market_value, last_contract_value, collateral_price
Time of contract creation- time in RFC3339 with millisecond precision
Instruments can be identified by their CUSIP or Ticker Symbol
Fields: cusip, ticker, name
Value of the contract before the last operation that adjusted this value
Market value of the contract before the last operation that adjusted this value
Quantity of the contract before the last operation that adjusted this value
Fields: rate, benchmark
Settlement Type specific identifier ie. DTCC reference id for SFT
possible states in the lifecycle of a contract
- Mock serverhttps://developer.provablemarkets.com/_mock/apis/connectapi/aurora.core.apiengine.contractsv1.ContractEventsService/CancelContractRejected
- https://developer.provablemarkets.com/aurora.core.apiengine.contractsv1.ContractEventsService/CancelContractRejected
- 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.contractsv1.ContractEventsService/CancelContractRejected \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"contract": {
"agreement_id": "string",
"collateral_price": "string",
"collateral_rate": "string",
"contract_value": "string",
"contract_value_adjustment": "string",
"counterparty_id": "string",
"created_at": "string",
"id": "string",
"instrument": {
"cusip": "string",
"name": "string",
"ticker": "string"
},
"interest_due_amount": "string",
"last_contract_value": "string",
"last_market_value": "string",
"last_quantity": "string",
"market_value": "string",
"quantity": "string",
"rate_details": {
"benchmark": "OBFR",
"rate": "string"
},
"recalled_quantity": "string",
"returned_quantity": "string",
"rounding_rule": "NO_ROUNDING",
"settlement_date": "string",
"settlement_id": "string",
"settlement_type": "NSCC",
"side": "BORROW",
"status": "NEW",
"unit_price": "string"
},
"request_id": "string"
}'A successful response
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:
service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
{}
Fields: id, contract_id, quantity, price, status
Buy-in identifier (persistent identifier inside Aurora system for the return)
Current status of the contract according to Aurora
Fields: id, settlement_type, settlement_id, instrument, side, counterparty_id, status, quantity, rate_details, collateral_rate, rounding_rule, interest_due_amount, market_value, contract_value, contract_value_adjustment, created_at, settlement_date, recalled_quantity, returned_quantity, agreement_id, unit_price, last_quantity, last_market_value, last_contract_value, collateral_price
Time of contract creation- time in RFC3339 with millisecond precision
Instruments can be identified by their CUSIP or Ticker Symbol
Fields: cusip, ticker, name
Value of the contract before the last operation that adjusted this value
Market value of the contract before the last operation that adjusted this value
Quantity of the contract before the last operation that adjusted this value
Fields: rate, benchmark
Settlement Type specific identifier ie. DTCC reference id for SFT
possible states in the lifecycle of a contract
- Mock serverhttps://developer.provablemarkets.com/_mock/apis/connectapi/aurora.core.apiengine.contractsv1.ContractEventsService/ContractBuyInAccepted
- https://developer.provablemarkets.com/aurora.core.apiengine.contractsv1.ContractEventsService/ContractBuyInAccepted
- 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.contractsv1.ContractEventsService/ContractBuyInAccepted \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"buyin": {
"contract_id": "string",
"id": "string",
"price": "string",
"quantity": "string",
"status": "PENDING"
},
"contract": {
"agreement_id": "string",
"collateral_price": "string",
"collateral_rate": "string",
"contract_value": "string",
"contract_value_adjustment": "string",
"counterparty_id": "string",
"created_at": "string",
"id": "string",
"instrument": {
"cusip": "string",
"name": "string",
"ticker": "string"
},
"interest_due_amount": "string",
"last_contract_value": "string",
"last_market_value": "string",
"last_quantity": "string",
"market_value": "string",
"quantity": "string",
"rate_details": {
"benchmark": "OBFR",
"rate": "string"
},
"recalled_quantity": "string",
"returned_quantity": "string",
"rounding_rule": "NO_ROUNDING",
"settlement_date": "string",
"settlement_id": "string",
"settlement_type": "NSCC",
"side": "BORROW",
"status": "NEW",
"unit_price": "string"
},
"request_id": "string"
}'A successful response
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:
service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
{}