POST /v1/trade/order returns HTTP 500 code 603200 with "evaluate" prompt; fractional US order never created

Aperta
#1,310 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
api

Direzione di ricerca

Start with the public documentation for POST /v1/trade/order and GET /v1/trade/estimate/buy_limit; the issue does not name repository files or tests. Reproduce the fractional TSM.US limit order using the listed account and session details, then check what 603200 and the “evaluate” action indicate. Done when the error and any required account step or order limitation are documented.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Endpoint

POST https://openapi.longportapp.com/v1/trade/order

Account channel: lb_sg (Longbridge Singapore)

Order

  • Symbol: TSM.US, side: Buy, order_type: LO
  • submitted_quantity: 1.18 (fractional)
  • submitted_price: 434.50
  • time_in_force: Day
  • No outside-RTH flag (regular session only)

Response, identical on all 3 attempts

HTTP 500

{"code":603200,"message":"internal server error","data":{"cancel":"取消","evaluate":"立即评估"}}

Attempts

  1. 2026-10-28 22:38 CET, after the US regular session, account held only HKD cash at the time
  2. 2026-10-29 during the US regular session, after converting all cash to USD in the app
  3. 2026-10-29 during the US regular session, retry

Checks that pass

  • GET /v1/trade/estimate/buy_limit returns cash_max_qty=2 (cash sufficient)
  • GET /v1/trade/order/today returns empty, no positions created
  • Other read endpoints (account, positions) work fine

Questions

  1. What does error code 603200 mean? It is not in the public docs.
  2. What does the "evaluate" action require? Is there an account assessment, permission, or other in-app step that must be completed before API orders are accepted?
  3. Is this specific to fractional orders?
Lingua principale
TypeScript
Stelle
61
Fork
30
Merge medio
7h 45m
PR unite (30g)
17

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di longbridge/developers

Tutte le issue di longbridge/developers

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.