Skip to Content

longbridge exchange-rate

Get current foreign exchange rates for all currency pairs used in your Longbridge account.

Basic Usage

bash
longbridge exchange-rate
| pair      | average_rate | bid_rate | offer_rate |
|-----------|--------------|----------|------------|
| HKD → CNH | 1.1465       | 1.1465   | 1.1465     |
| HKD → HKD | 1            | 1        | 1          |
| HKD → USD | 7.7925       | 7.7925   | 7.7925     |
| HKD → CNY | 1.1465       | 1.1465   | 1.1465     |

Examples

View all exchange rates

bash
longbridge exchange-rate
longbridge exchange-rate --format json

Displays bid, offer, and average rates for all currency pairs available in your account (e.g., HKD/USD, HKD/CNH). All rates are expressed with HKD as the base currency.

Requirements

No login is required. This command is available without authentication.