PUBLISH Create RFQ

PUB wss://ws.aevo.xyz

Create an order.

REQUEST

id integer
Request ID, an arbitrary integer to link requests with responses. Eg. 1
op string required
Operation code: create_rfq
data.rfqs.instrument string required
Instrument ID number. Eg. 12
data.rfqs.amount string required
Number of contracts. In 6 decimals fixed number. Eg. 1000000
Example
{
    "id": 1,
    "op": "create_rfq",
    "data": [
        {
            "instrument_id": 3657,
            "amount": "100000000"
        }
    ]
}

RESPONSE

id integer
Response ID, an arbitrary integer to link requests with responses. Eg. 1
data.rfq_block_id string required
RFQ Block ID. Eg. 480e01dc0f624888af1c239091d6c805
data.rfqs.instrument_id string required
Instrument ID number. Eg. 12
data.rfqs.amount string required
Amount of contracts. Eg. 12.23
Example
{
    "id": 1,
    "data": {
        "rfq_block_id": "480e01dc0f624888af1c239091d6c805",
        "rfqs": [
            {
                "amount": "100000000",
                "instrument_id": 3657
            }
        ]
    }
}