aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 6484c9d7ca9b0304c0e418b8d5b269542447d909 (plain)
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
# Virtual Energy Trading App

## Project Structure

```
/client         # React Frontend
/server         # Python Backend
/tests          # Tests if I ever get to them
```

## Backend

### FastAPI Server

#### Market Data Service

* Fetch from GridStatus API
    * Real-time prices
    * Day-ahead market prices
    * Load/demand data
* API Endpoints
    * `GET /market/day-ahead`
    * `GET /market/real-time`
    * `GET /market/load`

#### Bid Management

* API Endpoints
    * `POST /bids`
    * `GET /bids`
    * `DELETE /bids/{bid_id}`

#### Profit et Loss Simulation

* API Endpoints
    * `GET /trader/pnl`