estimateFees
Return an estimation of the potential cost for a new order
estimateFees(
marketId: ID!
partyId: ID!
price: String
size: String!
side: Side!
timeInForce: OrderTimeInForce!
expiration: Timestamp
type: OrderType!
): FeeEstimate!
Arguments
estimateFees.marketId
● ID!
non-null scalar
ID of the market to place the order on
estimateFees.partyId
● ID!
non-null scalar
ID of the party placing the order
estimateFees.price
● String
scalar
Price of the asset
estimateFees.size
● String!
non-null scalar
Size of the order
estimateFees.side
● Side!
non-null enum
Side of the order (buy or sell)
estimateFees.timeInForce
● OrderTimeInForce!
non-null enum
Time in force of the order
estimateFees.expiration
● Timestamp
scalar
Expiration of the order
estimateFees.type
● OrderType!
non-null enum
Type of the order
Type
FeeEstimate
object
An estimate of the fee to be paid for the order