https://b-api.longbridge.xyz/forex/rate/createAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Channel Name. Channel / rate type, a dropdown selection; values come from the manual_forex_change_type dynamic enumeration and are not fixed; for multi-select they are joined into a comma-separated string.
Rate Source From. Rate source, single-select; values come from the forex_rate_source_v2 dynamic enumeration and are not fixed, e.g. SINGLE (a single currency pair).
Base Currency. Base currency, a dropdown selection (currency list, e.g. USD/HKD/CNH).
Other Currency. Counter currency, a dropdown selection (currency list).
Record Date. Record date, format YYYYMMDD; must not be later than the current time.
Bid Rate. Buy rate, which must be greater than 0 (precision per the currency-pair configuration).
Offer Rate. Sell rate, which must be greater than 0 (precision per the currency-pair configuration).
Average Rate. The mid rate, which must be greater than 0 (precision per the currency-pair configuration).
Audit Frontend Resource. Automatically attached audit fields, containing $behavior (operation description) and $action (fixed value add).
Responses
HTTP 200No confirmable field definitions are available for the response yet.codemessagedatadataobjectdata structureNo nested fields