Vault: architecture option2
This commit is contained in:
parent
025cc7e6de
commit
2a0a4b21c1
1 changed files with 36 additions and 0 deletions
36
Invest-MyVexx/ARCHITECTURE-INVEST-OPENALICE-OPTION2.md
Normal file
36
Invest-MyVexx/ARCHITECTURE-INVEST-OPENALICE-OPTION2.md
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# Architecture — Invest + OpenAlice (opção 2: preço real)
|
||||
|
||||
**CT124** · paper-only · SPEC-051/052
|
||||
|
||||
```text
|
||||
┌─────────────────────────────────────────────────────────┐
|
||||
│ invest.myvexx.com /agents │
|
||||
│ - criar trade specs (alvo %, modo saída) │
|
||||
│ - tick_live / simulate / confirm_close │
|
||||
│ - link OpenAlice │
|
||||
└───────────────┬───────────────────────────┬─────────────┘
|
||||
│ /api/agents/* │
|
||||
▼ ▼
|
||||
┌──────────────────────────┐ ┌─────────────────────────┐
|
||||
│ Bridge :3100 │ │ OpenAlice :47331 │
|
||||
│ - sandbox specs motor │ │ - investigar activo │
|
||||
│ - markets/quote (Yahoo) │ │ - workspace / paper UI │
|
||||
│ - research TradingAgents│ │ │
|
||||
│ - tick_live → exit rules│ │ │
|
||||
└──────────────────────────┘ └─────────────────────────┘
|
||||
```
|
||||
|
||||
## Opção 2
|
||||
|
||||
`POST /sandbox/specs/{id}/tick_live` obtém preço real (Yahoo) e aplica:
|
||||
aviso | semi | auto_paper → voltar à base.
|
||||
|
||||
## Modos
|
||||
|
||||
| Modo | Ao atingir alvo |
|
||||
|------|-----------------|
|
||||
| aviso | `alerted` |
|
||||
| semi | `ready_to_close` + confirm |
|
||||
| auto_paper | `closed_to_base` |
|
||||
|
||||
Live broker: off.
|
||||
Loading…
Reference in a new issue