File size: 1,073 Bytes
91f4bb2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Safe Choices Frontend

Frontend interface for the Safe Choices prediction market simulation tool.

## Setup

1. Navigate to the frontend directory:
```bash
cd frontend
```

2. Install dependencies (optional - uses npx, so no install needed):
```bash
npm install
```

## Running

Start the development server:
```bash
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):
```bash
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)