longbridge order

View your orders and trade executions, or submit buy/sell orders directly from the terminal.

Basic Usage

longbridge order
| Order ID           | Symbol  | Side | Order Type | Status        | Qty | Price  | Exec Qty | Exec Price | Created At          |
|--------------------|---------|------|------------|---------------|-----|--------|----------|------------|---------------------|
| 701276261045858304 | TSLA.US | Buy  | LO         | Filled        | 10  | 340.00 | 10       | 339.85     | 2026-04-10 09:32:14 |
| 701276261045858305 | NVDA.US | Sell | LO         | PartialFilled | 20  | 185.00 | 12       | 185.00     | 2026-04-10 09:45:01 |
| 701276261045858306 | AAPL.US | Buy  | MO         | New           | 5   | -      | 0        | -          | 2026-04-10 10:01:33 |

Examples

Place an order

# Step 1: preview only. Nothing is sent; the preview ends with a confirmation code
longbridge order buy TSLA.US 100 --price 250.00
# Step 2: re-run the identical command with that code to place the order
longbridge order buy TSLA.US 100 --price 250.00 --execute <CODE>

Replace <CODE> with the confirmation code printed by the preview.

Cancel an open order

# Preview the cancellation, then re-run with the confirmation code to cancel
longbridge order cancel 701276261045858304
longbridge order cancel 701276261045858304 --execute <CODE>

Only orders in cancellable states (New, PartialFilled, etc.) are accepted.

Modify an open order

# Adjust quantity or price on a pending order
longbridge order replace 701276261045858304 --qty 5 --price 350.00

--qty is required. Omit --price to keep the current limit price. Like buy, sell and cancel, replace only previews the change until you re-run it with --execute and the confirmation code.

Options

OptionDescriptionDefault
--executeConfirmation code printed by the preview of buy, sell, cancel or replace; without it nothing is sent—

Requirements

OAuth trade permission is required to place, cancel, or replace orders. See the trade permission setup guide to enable trading access.

Notes

buy, sell, cancel and replace are two-step. Run the command without --execute to print a preview of the exact request (nothing is sent); the preview ends with a three-digit confirmation code. Re-run the identical command with --execute and that code to execute it. The code is single-use, expires in 10 minutes, and stops working if any field changes. The legacy -y / --yes flag is no longer accepted.

MarkdownEditLast Updated: November 9, 2026 at 11:04:49 AM