Skip to content
Currency Conversion

Exchange records

Exchange records

GEThttps://b-api.longbridge.xyz/v1/whaleapi/portfolio/converts

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Parameters

pageintegerOptional

page

sizeintegerOptional

size

statusstringOptional

status

target_currencysstringOptional

search target currency array

source_currencysstringOptional

search source currency array

beginintegerOptional

search begin time

endintegerOptional

search end time

account_nostringOptional

Account No

Responses

HTTP 200Fields are taken from the real responses definition for this operation in the published Whale OpenAPI spec (whale-openapi/Whale-openapi.json).
Standard response envelopecodemessagedata
dataobjectdata structure
listarray<object>required

list

Child attributes
convert_effectivebooleanrequired

true: 已清算 | false: 已成功

created_atstringrequired

Created time. Created time

amountstringrequired

Exchange amount. Exchange amount

updated_atstringrequired

Updated time. Updated time

order_idstringrequired

Updated time. Updated time

directionobjectrequired

Exchange from currency. Exchange from currency

estimate_timestringrequired

Estimate time. Estimate time

tostringrequired

Exchange target currency. Exchange target currency

statenumberrequired

state. state

idnumberrequired

id. id

admin_remarkstringrequired

Remark. Remark

fromstringrequired

Exchange from currency. Exchange from currency

estimate_amountstringrequired

Estimate amount. Estimate amount

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs