-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path04_quant.py
More file actions
50 lines (36 loc) · 877 Bytes
/
04_quant.py
File metadata and controls
50 lines (36 loc) · 877 Bytes
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
# /// script
# requires-python = ">=3.12"
# dependencies = ["dartlab", "marimo"]
# ///
import marimo
__generated_with = "0.22.0"
app = marimo.App(width="medium")
@app.cell
def _():
# quant — 가격 기반 정량 신호 (기술/리스크/팩터). 무인자 호출 = 가이드
import dartlab
c = dartlab.Company("005930")
c.quant()
return (dartlab, c)
@app.cell
def _(c):
# 종합 판단 — 모든 quant 축의 점수를 한 줄로
c.quant("종합")
return
@app.cell
def _(c):
# 모멘텀 — RSI/MACD/이동평균 등 추세 지표
c.quant("모멘텀")
return
@app.cell
def _(c):
# 변동성 — ATR/표준편차/MaxDD
c.quant("변동성")
return
@app.cell
def _(c):
# 팩터 — 사이즈/밸류/모멘텀/퀄리티 노출도
c.quant("팩터")
return
if __name__ == "__main__":
app.run()