MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / utaSubAccounts

Function utaSubAccounts

ui/src/api/trading.ts:80–82  ·  view source on GitHub ↗

Sub-accounts (wallets) a UTA spans — one for ordinary brokers, * >1 for separate-wallet venues (Binance: spot / derivatives).

(utaId: string)

Source from the content-addressed store, hash-verified

78 /** Sub-accounts (wallets) a UTA spans — one for ordinary brokers,
79 * >1 for separate-wallet venues (Binance: spot / derivatives). */
80 async utaSubAccounts(utaId: string): Promise<{ subAccounts: SubAccountRef[] }> {
81 return fetchJson(`/api/trading/uta/${utaId}/subaccounts`)
82 },
83
84 async utaOrders(utaId: string): Promise<{ orders: unknown[] }> {
85 return fetchJson(`/api/trading/uta/${utaId}/orders`)

Callers

nothing calls this directly

Calls 1

fetchJsonFunction · 0.90

Tested by

no test coverage detected