Repository navigation
Added
- Account commands for Hong Kong (AP) accounts —
edda list/edda status(eDDA authorizations and applications),stock-transfer in/stock-transfer out(stock transfer applications),reward list(campaign reward records) andcoupon list/coupon orders(coupons and the orders they were applied to). Their output matches the Longbridge MCP account tools: account numbers masked to the last 4 digits, labels next to status codes, Hong Kong (+08:00) times. A US-account session gets an error saying the command is not available in the US data center. bank-cards,depositsandwithdrawals—bank-cardsshows each card's review, witness and binding state and its authorizations;depositsandwithdrawalsgain--start/--endand accept--sizeas an alias of--count.
Breaking changes
Update any script that reads the old JSON:
bank-cardsprints{"cards": [...]}instead of a bare array;statusis replaced byverification(unverified/under_review/verified),accountis masked to the last 4 digits, and the holder's name, address and SWIFT fields are no longer printed.depositsno longer printstotal(it followed the page size, not the record count) — usehas_more. It returns at most 20 records per page.depositsandwithdrawalsitems carry only the documented fields.- Times are RFC 3339 in Hong Kong time (
+08:00);--countis capped at 50 (20 fordeposits). bank-cards,depositsandwithdrawalsfail for US data-center accounts instead of sending the request.deposits --statesrejects codes other than0–5before sending a request.
Fixed
finance-calendar --endis honoured — date groups after--endare no longer listed.
Other
- SDK moved to 5.6 (the account APIs above).