Api fill history response
NameLite |
Type | RequiredDefault |
Description |
---|---|---|---|
resultr |
[Fill] | True | The private trades matching the request asset |
nextn |
string | True | The cursor to indicate when to start the query from |
Fill
NameLite |
Type | RequiredDefault |
Description |
---|---|---|---|
event_timeet |
string | True | Time at which the event was emitted in unix nanoseconds |
sub_account_idsa |
string | True | The sub account ID that participated in the trade |
instrumenti |
string | True | The instrument being represented |
is_buyerib |
boolean | True | The side that the subaccount took on the trade |
is_takerit |
boolean | True | The role that the subaccount took on the trade |
sizes |
string | True | The number of assets being traded, expressed in base asset decimal units |
pricep |
string | True | The traded price, expressed in 9 decimals |
mark_pricemp |
string | True | The mark price of the instrument at point of trade, expressed in 9 decimals |
index_priceip |
string | True | The index price of the instrument at point of trade, expressed in 9 decimals |
interest_rateir |
string | True | The interest rate of the underlying at point of trade, expressed in centibeeps (1/100th of a basis point) |
forward_pricefp |
string | True | [Options] The forward price of the option at point of trade, expressed in 9 decimals |
realized_pnlrp |
string | True | The realized PnL of the trade, expressed in quote asset decimal units (0 if increasing position size) |
feef |
string | True | The fees paid on the trade, expressed in quote asset decimal unit (negative if maker rebate applied) |
fee_ratefr |
string | True | The fee rate paid on the trade |
trade_idti |
string | True | A trade identifier, globally unique, and monotonically increasing (not by 1 ).All trades sharing a single taker execution share the same first component (before - ), and event_time .trade_id is guaranteed to be consistent across MarketData Trade and Trading Fill . |
order_idoi |
string | True | An order identifier |
venuev |
Venue | True | The venue where the trade occurred |
client_order_idco |
string | True | A unique identifier for the active order within a subaccount, specified by the client This is used to identify the order in the client's system This field can be used for order amendment/cancellation, but has no bearing on the smart contract layer This field will not be propagated to the smart contract, and should not be signed by the client This value must be unique for all active orders in a subaccount, or amendment/cancellation will not work as expected Gravity UI will generate a random clientOrderID for each order in the range [0, 2^63 - 1] To prevent any conflicts, client machines should generate a random clientOrderID in the range [2^63, 2^64 - 1] When GRVT Backend receives an order with an overlapping clientOrderID, we will reject the order with rejectReason set to overlappingClientOrderId |
signers1 |
string | True | The address (public key) of the wallet signing the payload |
brokerb |
BrokerTag | False `` |
Specifies the broker who brokered the order |
is_rpiir1 |
boolean | True | If the trade is a RPI trade |
Venue
The list of Trading Venues that are supported on the GRVT exchange
Value | Description |
---|---|
ORDERBOOK = 1 |
the trade is cleared on the orderbook venue |
RFQ = 2 |
the trade is cleared on the RFQ venue |
BrokerTag
BrokerTag is a tag for the broker that the order is sent from.
Value | Description |
---|---|
UNSPECIFIED = 0 |
|
COIN_ROUTES = 1 |
CoinRoutes |
ALERTATRON = 2 |
Alertatron |
ORIGAMI = 3 |
Origami |