Premchan369 commited on
Commit
2cea889
Β·
verified Β·
1 Parent(s): 41c6dbe

Update README for Space description

Browse files
Files changed (1) hide show
  1. README.md +31 -18
README.md CHANGED
@@ -1,26 +1,39 @@
1
- ---
2
- tags:
3
- - ml-intern
4
- ---
5
 
6
- # Premchan369/alphaforge-k2think
7
 
8
- <!-- ml-intern-provenance -->
9
- ## Generated by ML Intern
10
 
11
- This model repository was generated by [ML Intern](https://github.com/huggingface/ml-intern), an agent for machine learning research and development on the Hugging Face Hub.
 
 
 
 
 
 
 
 
 
 
 
12
 
13
- - Try ML Intern: https://smolagents-ml-intern.hf.space
14
- - Source code: https://github.com/huggingface/ml-intern
15
 
16
- ## Usage
 
17
 
18
- ```python
19
- from transformers import AutoModelForCausalLM, AutoTokenizer
20
 
21
- model_id = 'Premchan369/alphaforge-k2think'
22
- tokenizer = AutoTokenizer.from_pretrained(model_id)
23
- model = AutoModelForCausalLM.from_pretrained(model_id)
24
- ```
25
 
26
- For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.
 
 
 
 
 
 
1
+ # AlphaForge x K2 Think V2 β€” Institutional Quant Platform
2
+
3
+ A **10-module institutional-grade quantitative trading system** built for the **Build with K2 Think V2 Challenge** by MBZUAI.
 
4
 
5
+ **Live Space:** https://huggingface.co/spaces/Premchan369/alphaforge-k2think
6
 
7
+ ## 10 Modules
 
8
 
9
+ | Module | Feature | Institution Equivalent |
10
+ |--------|---------|------------------------|
11
+ | πŸ“ˆ Technical | 18+ indicators, candlestick, Bollinger, Ichimoku, VWAP, ADX, MFI, OBV | Bloomberg Terminal |
12
+ | ⚑ Backtest | 5 strategies, ATR sizing, equity curves, drawdown, trade logs | Jane Street backtest engine |
13
+ | πŸ’Ό Portfolio | Markowitz MPT, 10K-portfolio MC, efficient frontier, Sharpe max | AQR, D.E. Shaw |
14
+ | πŸ“ Options | Black-Scholes + full Greeks (Ξ”Ξ“Ξ˜VΞ‘), scenario P/L, 6-panel charts | Goldman Sachs derivatives desk |
15
+ | πŸ”— Pairs | Cointegration, OLS hedge ratio, OU half-life, Z-score signals | Two Sigma stat arb |
16
+ | πŸͺ™ Crypto Arb | Cross-exchange spread heatmap, funding rate concepts | Jump Trading |
17
+ | πŸ›‘οΈ Risk Engine | VaR 95/99, stress testing, correlation breakdown | Bridgewater risk |
18
+ | πŸ“° Sentiment | Composite gauge (-100 to +100), keyword extraction | Citadel NLP |
19
+ | 🌍 Macro | Cross-asset regime dashboard (S&P, 10Y, Gold, Oil, DXY, BTC) | Bridgewater All Weather |
20
+ | πŸ€– K2 AI | Chain-of-thought: entry/stop/target, catalyst calendar, contrarian | MBZUAI K2 Think V2 |
21
 
22
+ ## Setup
 
23
 
24
+ 1. Add `K2_API_KEY` in Space Settings β†’ Repository Secrets
25
+ 2. No key required β€” all quant modules work standalone
26
 
27
+ ## Stack
 
28
 
29
+ - yfinance / synthetic fallback (market data)
30
+ - Plotly (Bloomberg Terminal aesthetic)
31
+ - NumPy/Pandas (vectorized quant math)
32
+ - K2 Think V2 (MBZUAI reasoning)
33
 
34
+ ## Data Notice
35
+
36
+ When Yahoo Finance rate-limits shared IPs (common on HF Spaces), the app automatically falls back to **deterministic synthetic data** seeded by ticker + date. Same ticker = same realistic data on the same day. All indicators, backtests, and optimizations work normally.
37
+
38
+ ---
39
+ *Built by Premchan | Build with K2 Think V2*