Spaces:
Sleeping
Sleeping
Safe Choices Frontend
Frontend interface for the Safe Choices prediction market simulation tool.
Setup
- Navigate to the frontend directory:
cd frontend
- Install dependencies (optional - uses npx, so no install needed):
npm install
Running
Start the development server:
npm run start
This will:
- Start a local HTTP server on port 3000
- Automatically open the browser to the application
- Serve the static files with proper MIME types
For development with auto-reload (no caching):
npm run dev
Features
- Single Fund Simulation: All capital in one fund
- Single Fund Threshold: Stop at target return (Treasury rate or NASDAQ average)
- Multi Fund Simulation: Diversified portfolio with multiple independent funds
Configuration
All simulation parameters can be configured through the web interface:
- Starting capital
- Number of simulations
- Probability thresholds
- Market selection skew
- Target returns (for threshold simulations)
- Number of funds (for multi-fund simulations)