69 Commits

Author SHA1 Message Date
Thigazhezhilan J
caa3fc8838 feat: pass mode when stopping/resuming strategy
stopStrategy and resumeStrategy now accept an optional mode string
and append ?mode= to the API call. PaperPortfolio passes PAPER,
PortfolioSection passes LIVE, so each page only stops its own run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03 22:11:36 +05:30
Thigazhezhilan J
e19440b438 fix: refresh broker status in UI after auto-login token refresh
After 'Refresh Now' succeeds, invalidate /broker/status query so the
header immediately reflects the reconnected state.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 22:32:43 +05:30
Thigazhezhilan J
b8dbb32e38 Show Auto-Login section even when broker is disconnected
The Refresh Now button needs to be accessible when broker is
disconnected so users can reconnect via auto-login without
manually going through the OAuth flow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 22:19:40 +05:30
Thigazhezhilan J
0efff43eac Add Alpha Shield strategy selector to live and paper portfolio pages
Users can now choose between Golden Nifty and Alpha Shield before
starting the strategy engine. Selector syncs from saved config on load.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 18:34:41 +05:30
Your Name
0a024b7ed3 Add www versions to allowed hosts 2026-05-09 16:30:22 +05:30
Admin
9f9a5a4876 Add quantfortune.com to CORS allowed hosts 2026-05-09 16:26:21 +05:30
8af9ecdb16 Update src/components/landing/HeroSection.tsx 2026-05-09 10:24:23 +00:00
8f4d1113ab Update src/components/landing/HeroSection.tsx 2026-05-09 10:16:05 +00:00
75ab45774a Add s 2026-05-09 10:14:14 +00:00
Thigazhezhilan J
a1d7033302 Test pipeline: rename Learn More button to verify deploy
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 12:37:52 +05:30
87d9104a77 Update CHATBOT_README.md 2026-05-02 21:40:08 +00:00
Thigazhezhilan J
bd03682c7a Add Alpha Shield as Strategy 2 (JuniorBees + GoldBees dynamic allocation)
Replaces Bluechip Growth with Alpha Shield strategy across landing page,
strategy selector modal, and dedicated strategy page. Adds route
/strategies/alpha-shield. Targets 15-18% XIRR via 60-month SMA valuation
tilt on Nifty Next 50 midcap ETF with GoldBees as downside hedge.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 02:41:47 +05:30
Thigazhezhilan J
98894617e2 Add Auto-Login setup card to portfolio page
- New AutoLoginSetup component: form to save Zerodha credentials and
  TOTP secret, shows last refresh time, error state, manual refresh
  and remove buttons
- New autoLogin.ts API client for all auto-login endpoints
- AutoLoginSetup card rendered in PortfolioSection when broker is connected

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 12:47:29 +05:30
Thigazhezhilan J
46cf062fe2 Persist live strategy restart choice 2026-04-17 22:01:31 +05:30
Thigazhezhilan J
02c48ae91b Tighten broker session expiry gating 2026-04-14 10:13:40 +05:30
Thigazhezhilan J
8f34b1bfd3 Remove duplicate broker reconnect action 2026-04-14 09:32:46 +05:30
Thigazhezhilan J
bc1ea376a4 Preserve Zerodha callback state in frontend 2026-04-12 20:17:48 +05:30
Thigazhezhilan J
ccaa363d48 Fix admin dashboard access and error handling 2026-04-10 00:36:46 +05:30
Thigazhezhilan J
b3b798ff2f Align frontend contracts, type safety, and portfolio status handling 2026-04-08 22:03:50 +05:30
Thigazhezhilan J
8c160d6443 Clarify active strategy cadence in portfolio 2026-04-08 01:29:02 +05:30
Thigazhezhilan J
d10bb3dd78 Fix live portfolio summary for sold positions 2026-04-07 09:51:52 +05:30
Thigazhezhilan J
eb2e6b579a Fix live portfolio value calculation 2026-04-07 09:37:01 +05:30
Thigazhezhilan J
4f17fb166d Show live broker positions in portfolio 2026-04-06 11:31:29 +05:30
Thigazhezhilan J
c3686a6e4c Rename homepage nav label to home 2026-04-05 23:03:40 +05:30
Thigazhezhilan J
9e25f53b59 Rename nav philosophy link to homepage 2026-04-05 22:39:22 +05:30
Thigazhezhilan J
af5e0a50a8 Redesign broker connection flow 2026-04-05 20:00:43 +05:30
Thigazhezhilan J
56f6e8551e Add Groww broker support to portfolio UI 2026-04-05 19:42:08 +05:30
Thigazhezhilan J
71a99b7b0a Fix Golden Nifty strategy page alignment 2026-04-02 00:13:07 +05:30
Thigazhezhilan J
e183f9ddce Improve mobile layout across landing and portfolio pages 2026-04-01 23:46:21 +05:30
Thigazhezhilan J
d63202261a Remove confusing strategy summary timestamp 2026-04-01 22:53:47 +05:30
Thigazhezhilan J
a22e8d7ee8 Fix strategy timeline timestamp handling 2026-04-01 21:07:40 +05:30
Thigazhezhilan J
5577de7b9e Handle live strategy stop states gracefully 2026-04-01 09:49:42 +05:30
Thigazhezhilan J
fb9a5dbb18 Use frontend callback for broker reconnect 2026-03-31 10:24:56 +05:30
Thigazhezhilan J
434be478e4 Mirror live strategy controls in paper portfolio 2026-03-30 01:53:20 +05:30
Thigazhezhilan J
b0c1ea3651 Refactor engine and market status fetching to use callbacks and improve error handling 2026-03-28 14:01:51 +05:30
Thigazhezhilan J
5720cdb63c Add resume strategy functionality and update UI for resuming strategies 2026-03-28 13:06:42 +05:30
Thigazhezhilan J
67b633ae9b Refactor strategy execution logic to improve clarity on arming conditions 2026-03-28 12:21:41 +05:30
Thigazhezhilan J
3640cd745e Clarify live strategy status badges 2026-03-28 00:36:27 +05:30
Thigazhezhilan J
121b0b3eb4 Hide reconnect action for valid broker sessions 2026-03-27 22:48:14 +05:30
Thigazhezhilan J
144100993a Disable broker dialog trigger when connected 2026-03-27 22:30:51 +05:30
Thigazhezhilan J
48905228d1 learn_more_test 2026-03-26 09:28:54 +05:30
Thigazhezhilan J
f5d4206127 admin_page 2026-03-26 00:17:22 +05:30
Thigazhezhilan J
6a653b55df new changes 2026-03-26 00:03:45 +05:30
c70e3e2446 Update index.html 2026-03-25 18:06:08 +00:00
9663b53875 Update index.html 2026-03-25 18:05:44 +00:00
Thigazhezhilan J
2097489053 Add live testing controls and portfolio refresh fixes 2026-03-25 23:30:09 +05:30
Thigazhezhilan J
aa93225ef7 Simplify portfolio strategy UI and reconnect handling 2026-03-24 22:03:32 +05:30
469f204452 Update index.html 2026-03-24 06:49:23 +00:00
04746217d0 Update index.html 2026-03-24 06:48:34 +00:00
c7cd237cda Update index.html 2026-03-23 20:20:07 +00:00