/app/tradebyrfq

Get a trade detail by rfq id 如果一笔交易使用了RFQ,可以通过RFQ ID来得到这笔交易细节

import requests

headers = {
    'Authorization': 'Bearer %s' % api_token,
    'Accept':'application/json'
}

data = {
  	'rfq_id': '519bfc7a-7e87-4aef-b735-4050e0cd6514'
}

response = requests.get('https://sandboxapi.legendtrading.com/app/tradebyrfq',json=data, headers=headers)

data = response.json()
print(data)
Query Params
string

The ID of the quote you requested via /rfq endpoint.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json