(utaId: string, subAccountId?: string)
| 71 | }, |
| 72 | |
| 73 | async utaPositions(utaId: string, subAccountId?: string): Promise<{ positions: Position[] }> { |
| 74 | const qs = subAccountId ? `?subAccountId=${encodeURIComponent(subAccountId)}` : '' |
| 75 | return fetchJson(`/api/trading/uta/${utaId}/positions${qs}`) |
| 76 | }, |
| 77 | |
| 78 | /** Sub-accounts (wallets) a UTA spans — one for ordinary brokers, |
| 79 | * >1 for separate-wallet venues (Binance: spot / derivatives). */ |
nothing calls this directly
no test coverage detected