Summary
CLI 目前還沒有完整對齊 HTTP + Python API。這張 issue 只追兩件事:
- HTTP + Python 都有,但 CLI 還沒有的功能
- CLI 已有功能,但參數沒有對齊的地方
CLI missing features
Watchlist
fetch_watchlists
get_watchlist
create_watchlist
delete_watchlist
sync_watchlist
watchlist_add_contract
watchlist_delete_contract
Reserve / earmarking
stock_reserve_summary
stock_reserve_detail
earmarking_detail
reserve_stock
reserve_earmarking
Combo order
place_comboorder
cancel_comboorder
update_combostatus / list_combotrades
Portfolio
CLI currently only has balance, positions, margin; missing:
settlements
list_settlements
trading_limits
list_profit_loss
list_position_detail
list_profit_loss_detail
list_profit_loss_summary
Data
CLI currently only has ticks, kbars, scanner, stream, snapshots; missing:
daily_quotes
credit_enquires
short_stock_sources
punish
notice
Auth / order utility
get_ca_expiretime
subscribe_trade
unsubscribe_trade
order_deal_records
CLI parameter gaps
data ticks
Python / HTTP support query_type, time_start, time_end, last_cnt.
CLI currently only has --all / --last; missing explicit range-time support:
--query-type
--time-start
--time-end
data snapshots
CLI uses one shared --security-type and --exchange for all --codes.
Missing:
- mixed contract input
- per-contract
target_code
data stream
CLI only does subscribe + read one SSE stream.
Missing:
- unsubscribe
- stream status / receivers
- unified stream
--exchange
--target-code
order place
Missing order fields:
--custom-field
--daytrade-short
--exchange
--target-code
portfolio positions
CLI defaults --account-type S, so it cannot cleanly express Python-style optional account/default resolver behavior.
Summary
CLI 目前還沒有完整對齊 HTTP + Python API。這張 issue 只追兩件事:
CLI missing features
Watchlist
fetch_watchlistsget_watchlistcreate_watchlistdelete_watchlistsync_watchlistwatchlist_add_contractwatchlist_delete_contractReserve / earmarking
stock_reserve_summarystock_reserve_detailearmarking_detailreserve_stockreserve_earmarkingCombo order
place_comboordercancel_comboorderupdate_combostatus/list_combotradesPortfolio
CLI currently only has
balance,positions,margin; missing:settlementslist_settlementstrading_limitslist_profit_losslist_position_detaillist_profit_loss_detaillist_profit_loss_summaryData
CLI currently only has
ticks,kbars,scanner,stream,snapshots; missing:daily_quotescredit_enquiresshort_stock_sourcespunishnoticeAuth / order utility
get_ca_expiretimesubscribe_tradeunsubscribe_tradeorder_deal_recordsCLI parameter gaps
data ticksPython / HTTP support
query_type,time_start,time_end,last_cnt.CLI currently only has
--all/--last; missing explicit range-time support:--query-type--time-start--time-enddata snapshotsCLI uses one shared
--security-typeand--exchangefor all--codes.Missing:
target_codedata streamCLI only does subscribe + read one SSE stream.
Missing:
--exchange--target-codeorder placeMissing order fields:
--custom-field--daytrade-short--exchange--target-codeportfolio positionsCLI defaults
--account-type S, so it cannot cleanly express Python-style optional account/default resolver behavior.