Fill Trade Order

Fill a trade order.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
uuid
required
Body Params
uuid
required

ID of the market maker

string
required

Amount of the asset being sold by the user

string
required

Amount of the asset being bought by the user

string
required

Asset code for the fee (e.g. BTC)

string
required

Amount of the fee

boolean
required

Whether or not to close the trade when the fill is submitted.
If this is false, the trade stays open for more fills to be added.

Responses

400

Possible reasons:

  • trades not allowed for internal users
  • initiate trade is missing
  • trade already in terminal state
404

Possible reasons:

  • unknown user
  • unknown market maker
500

Possible reasons:

  • failed to get user from database
  • failed to get market_maker from database
  • attempt to verify existing trade request failed
  • could not begin transactional query
  • failed to fill trade
  • failed to commit database transaction
  • could not begin transactional query
  • could not close trade
  • failed to commit database transaction
Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json