Commit Graph

21 Commits

Author SHA1 Message Date
bc9520f1b1 fix spurious WebSocket reconnect killing active sessions
When send() was called while the socket was still CONNECTING (state 0,
not yet OPEN), it queued the message and scheduled a reconnect after 1
second. The socket then connected successfully, but 1 second later the
scheduled reconnect fired and closed the working session (code 1005),
disrupting any in-flight requests (e.g. get_bars).

Two fixes:
1. Don't schedule a reconnect when the socket is CONNECTING — it is
   already in the process of connecting, no reconnect needed.
2. Cancel any pending reconnect timer in onopen — if a timer was
   already scheduled before the connection succeeded, clear it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 22:43:02 -04:00
44e0d2c947 disable study_templates feature — no backend to serve them
TradingView's SaveloadAdapter.Library was making HTTP requests for study
templates that returned HTML from nginx, causing JSON parse errors that
destroyed the datafeed and disconnected the WebSocket.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 22:04:05 -04:00
ca44e68f64 chart data fixes 2026-04-01 03:09:54 -04:00
9e6a20c218 chat colors, IBM Plex Sans 2026-04-01 01:45:35 -04:00
a7b0d17fa1 chat colors, IBM Plex Sans 2026-04-01 01:30:17 -04:00
93bc8a3a4f Symbol & data refactoring for Nautilus 2026-04-01 00:59:13 -04:00
cd28e18e52 data fixes; indicator=>workspace sync 2026-03-31 20:29:12 -04:00
998f69fa1a sandbox connected and streaming 2026-03-30 23:29:03 -04:00
c3a8fae132 client-py connected 2026-03-27 16:33:40 -04:00
c76887ab92 chart data loading 2026-03-24 21:37:49 -04:00
f6bd22a8ef redesign fully scaffolded and web login works 2026-03-17 20:10:47 -04:00
e99ef5d2dd backend redesign 2026-03-11 18:47:11 -04:00
8ff277c8c6 triggers and execution queue; subagents 2026-03-04 21:27:41 -04:00
a50955558e indicator integration 2026-03-04 03:28:09 -04:00
185fa42caa deployed 0.1 2026-03-04 00:56:08 -04:00
bf7af2b426 shape editing 2026-03-02 22:49:45 -04:00
f4da40706c execute_python can load any data source 2026-03-02 18:48:54 -04:00
3ffce97b3e indicators and plots 2026-03-02 18:34:38 -04:00
3b29096dab disable file upload in chat panel 2026-03-02 01:38:00 -04:00
311df9aeda auth 2026-03-02 01:36:14 -04:00
d907c5765e initial commit with charts and assistant chat 2026-03-02 00:08:19 -04:00