Submit batch of trades

Submits a batch of trades for settlement that was matched and executed outside of Zero Hash.

Log in to see full request history
Body Params

Zero Hash trade

Headers
string
Defaults to [WEB] auto-generated on fly

Signature for your request.

string
Defaults to [WEB] auto-generated on fly

UNIX timestamp.

Responses

Response body
array of objects
object
string
length ≤ 50

A unique identifier for a batch of trades

string
length ≤ 50

A unique identifier for the trade, generally produced by the Platform on which the trade was executed. Note: this must be unique, per platform, per 72 hour period

string
length ≤ 50

A text field to indicate the name or identifier of the person or entity submitting the trade, e.g. an email address

string
length ≤ 50

A code to identify the person or entity submitting the trade

string
length between 6 and 6

The original reporter of the trade. This field is optional and must be a 6 digit participant code of which you have proper relationships with

string
length between 6 and 6

Instructs Zero Hash to settle trades according to a certain schedule

string
length between 6 and 6

The unique identifier to the Platform on which the trade was executed, as provided by Zero Hash

string
length ≤ 50

The ISO 10383 market identifier code for the platform

string
length ≤ 25

A free text field to identify the pair being traded, e.g. BTC/USD

string

spot or forward

spot forward

string

The type of trade to be settled. Valid values are regular or block

regular block

string

The price the trade was executed
Note: if the amount is included per side, then this must equal to the seller's amount divided by the buyer's amount accurate for up to 20 figures.

string

The quantity purchasedNote: if the amount is included per side, then this should not be included, otherwise it is required

string

accepted active terminated

boolean

A boolean statement to indicate if the trade is physically delivered. Currently Zero Hash only supports physically-settled trades, i.e. a value of true

number
1254408627334 to 2554408627334

The unix timestamp the trade was executed on the external platform in milliseconds

number
1254408627334 to 2554408627334

The unix timestamp at which the trade was accepted

number
1254408627334 to 2554408627334

The unix timestamp at which the trade was defaulted

number
1254408627334 to 2554408627334

The unix timestamp at which the trade was settled

string
length ≤ 500
number
1254408627334 to 2554408627334

The unix timestamp of the last update

boolean

A boolean flag to determine if the counterparties are known to each other (false if the platform_code is also a counterparty) to the trade

string
length ≤ 20

The unique identifier of the benchmark settlement price to be used when calculating settlement obligations on trades that are settled at Zero Hash - required for forwards only

number

The contract size

string
length ≤ 20

The underlying asset

string
length ≤ 20

The quoted asset

number
1254408627334 to 2554408627334

The datetime when final settlement will first be attempted - if not included, the standard platform settlement instructions will be applied

number
1254408627334 to 2554408627334

The last datetime that the product can be traded, and the datetime that all final prices will be set, i.e. the fixing date - relevant for forwards onlyNote: after this point, there is no more ability to exit the trade or change its economics

string

An optional field that clients can use to specify the fee taken by the banking partner (supports 2 decimal places)

string
length ≤ 50

spread_notional is a field that shows the notional cost of the spread applied

string
length ≤ 50

spread_bps is a field that shows the spread (in BPS) being applied

string

Specifies the method through which the movement was initiated, indicating whether it originated via our REST API, SDK, or Secondary Portal.

rest_api sdk secondary

parties
array of objects
length between 2 and 2
parties
object
string
required

buy sell

string
required
length between 6 and 6
string
required
length ≤ 25
string
length ≤ 30
string

added removed

string
length ≤ 36

A unique ID for the trade, preferably a UUID

string
length ≤ 100
number
1254408627334 to 2554408627334

The unix timestamp for outstanding obligations

number
1254408627334 to 2554408627334

The unix timestamp for met current obligations

string

The current settlement state

null obligations_outstanding current_obligations_met settled defaulted counterparty_defaulted

string
length ≤ 100
boolean
string
length ≤ 20

The account label to allocate the trade

string
length ≤ 6
string
string
length ≤ 50

A unique session id

payment_processor
object
fees
array of objects
fees
object
string
required
string
required
string
length ≤ 50

Zero Hash trade ID

string
length ≤ 50

notional value of the quoted network fee, denominated in the quoted_currency

string
length ≤ 50

Raw quantity value of the quoted network fee, denominated in the network fee asset associated with the underlying asset

string
length ≤ 50

Total notional value of the executed quote, denominated in the quoted_currency

string
length ≤ 50

asset_cost_notional is a field that shows the notional cost of the asset

Language
Credentials