Cookie Policy
Last updated: February 21, 2026
What Are Cookies?
Cookies are small text files stored on your device when you visit a website. They help the site remember your preferences and improve your experience. We also use similar technologies such as localStorage and sessionStorage.
Cookies We Use
Essential Cookies
- Authentication session tokens — Required to keep you signed in securely.
- CSRF protection tokens — Prevent cross-site request forgery attacks.
Preference Cookies
- Theme preference — Remembers your light/dark mode selection.
- tb_legal_consent_v1 — Records that you have accepted the Terms of Service and Privacy Policy.
localStorage Usage
We use browser localStorage for the following purposes:
- User preferences — Theme settings, sidebar state, and display preferences.
- Legal consent tracking — Timestamp of when you accepted the Terms of Service.
- Push notification subscriptions — Service worker registration data for browser notifications.
Data Caching
To improve performance and reduce API calls, we cache market data in memory using React Query:
- Stale time (1 minute) — Data is considered fresh for 1 minute before being re-fetched.
- Garbage collection (10 minutes) — Unused cached data is automatically removed after 10 minutes.
- Server-side caching — Market data is also cached in our database with automatic expiration to reduce external API calls.
Third-Party Cookies
If you sign in with Google or Apple, their authentication services may set their own cookies. Please refer to their respective privacy policies for more information.
Managing Cookies
You can manage cookies through your browser settings. Note that disabling essential cookies will prevent you from signing in and using the Service. Clearing localStorage will reset your preferences and require you to re-accept the Terms of Service.
Contact
For questions about our cookie practices, contact us at privacy@tradebaitai.com.