Skip to content

Commit e1dfbda

Browse files
authored
Adding wiki (#41)
1 parent 7cd9378 commit e1dfbda

9 files changed

Lines changed: 17 additions & 14 deletions

File tree

.gitignore

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,10 @@ htmlcov/
1111

1212
# Data directories
1313
data/*
14-
!data/.gitkeep
15-
!data/raw/
16-
!data/curated/
17-
data/raw/*
18-
!data/raw/.gitkeep
19-
data/curated/*
20-
!data/curated/.gitkeep
14+
!data/sample-holdings.json
2115

2216
# Reports directory
23-
reports/*
24-
!reports/.gitkeep
17+
reports/
2518

2619
# VSCode
2720
.vscode/

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,26 @@ git clone https://github.com/aryeko/trading-system
2525
cd trading-system
2626
poetry install
2727

28-
poetry run ts run daily --config data/sample.yaml
28+
poetry run ts run daily --config configs/sample-config.yml --holdings data/sample-holdings.json --dry-run
2929
```
3030

31+
Sample onboarding assets live under `configs/` (configuration) and `data/` (sample holdings). Update the universe, holdings snapshot, and notification settings before running against live capital.
32+
3133
## Usage Examples
3234

3335
```bash
3436
# Evaluate portfolio risk with point-in-time context
35-
poetry run ts risk evaluate --config data/sample.yaml --holdings data/holdings.json
37+
poetry run ts risk evaluate --config configs/sample-config.yml --holdings data/sample-holdings.json
3638

3739
# Execute the full daily pipeline with rebalance proposals
38-
poetry run ts run rebalance --config data/sample.yaml --holdings data/holdings.json
40+
poetry run ts run rebalance --config configs/sample-config.yml --holdings data/sample-holdings.json --dry-run
3941

4042
# Run a historical backtest across a custom period
41-
poetry run ts backtest run --config data/sample.yaml --start 2024-01-01 --end 2024-06-30 --output reports/backtests/demo
43+
poetry run ts backtest run --config configs/sample-config.yml --start 2024-01-01 --end 2024-06-30 --output reports/backtests/demo
4244
```
4345

4446
## Documentation
45-
Comprehensive setup guides, operational workflows, and configuration references live in the [Wiki](https://github.com/aryeko/trading-system/wiki).
47+
Comprehensive setup guides, operational workflows, and configuration references live in the [Wiki](https://github.com/aryeko/trading-system/wiki). For the original workflow contract and design requirements, see [`docs/WORKFLOW.md`](docs/WORKFLOW.md) and [`docs/TECH_DESIGN_REQUIREMENTS.md`](docs/TECH_DESIGN_REQUIREMENTS.md).
4648

4749
## Roadmap
4850
- ✅ Daily capital protection checks

configs/.gitkeep

Whitespace-only changes.

data/.gitkeep

Whitespace-only changes.

data/curated/.gitkeep

Whitespace-only changes.

data/raw/.gitkeep

Whitespace-only changes.

data/sample-holdings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"as_of_date": "2024-09-23",
3+
"base_ccy": "USD",
4+
"cash": 10000,
5+
"positions": [
6+
{ "symbol": "SPY", "qty": 50, "cost_basis": 420.0 }
7+
]
8+
}

reports/.gitkeep

Whitespace-only changes.

scripts/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)