Spaces:
Running
Running
metadata
title: Paper Trading Agents (Gradio)
emoji: π
colorFrom: indigo
colorTo: yellow
sdk: gradio
pinned: false
license: apache-2.0
A Gradio app that visualizes paper-trading agent decisions from Supabase, computes equity curves & metrics, and compares against a buy-and-hold baseline.
Configure
Set the following Secrets in your Space (Settings β Variables and secrets):
SUPABASE_URLSUPABASE_ANON_KEY
Optionally, set DEFAULT_MAX_ROWS (default 10000).
Schema (expected)
Table: trading_decisions
id(uuid/text)agent_name(text)asset(text)model(text)date(timestamp or text ISO)price(numeric)recommended_action(text: BUY | SELL | HOLD)updated_at(timestamp)
Notes
- No service-role keys are used; ensure RLS policies permit read access for your Space domain.
- Holiday-aware calendars can be added; currently the app treats all days as trading days and sorts by date.