MultiFactor 0.3.0__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {multifactor-0.3.0 → multifactor-0.3.2}/PKG-INFO +16 -16
- {multifactor-0.3.0 → multifactor-0.3.2}/README.md +15 -15
- {multifactor-0.3.0 → multifactor-0.3.2}/pyproject.toml +1 -1
- multifactor-0.3.2/src/MultiFactor/Visual.py +90 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/__init__.py +1 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor.egg-info/PKG-INFO +16 -16
- multifactor-0.3.0/src/MultiFactor/Visual.py +0 -54
- {multifactor-0.3.0 → multifactor-0.3.2}/setup.cfg +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/core.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/momentum.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/momentum_one.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/quality.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/quality_one.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/score.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/score_adj_weight.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/stockinfo.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/us_core.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/us_momentum.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/us_quality.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/us_stockinfo.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/us_value.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/value.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/value_one.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/vcompare_idx.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/vfinance_kr.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/vheatmap_idx.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/vheatmap_kr.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/vheatmap_us.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/vmulti_idx.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/vmulti_kr.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/vmulti_us.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/vret_idx.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/vret_kr.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/vret_us.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/vtargetprice_us.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor/vtreemap_us.py +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor.egg-info/SOURCES.txt +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor.egg-info/dependency_links.txt +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor.egg-info/requires.txt +0 -0
- {multifactor-0.3.0 → multifactor-0.3.2}/src/MultiFactor.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: MultiFactor
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: 멀티팩터 기반 주식 데이터 수집 패키지
|
|
5
5
|
Author-email: HANHO <hanhoman@gmail.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -105,7 +105,7 @@ mf_us = MultiFactorUS(N=50)
|
|
|
105
105
|
시각화 분석 객체는 다음 코드로 생성합니다.
|
|
106
106
|
|
|
107
107
|
```python
|
|
108
|
-
|
|
108
|
+
vis = Visual()
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
<br>
|
|
@@ -1242,7 +1242,7 @@ mf_us.get_Ngroup(df, Ngroup=10)
|
|
|
1242
1242
|
vis.multi_idx()
|
|
1243
1243
|
```
|
|
1244
1244
|
|
|
1245
|
-
 지수별 라인 복합 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_01_multi_idx.png)
|
|
1246
1246
|
|
|
1247
1247
|
<br>
|
|
1248
1248
|
|
|
@@ -1252,7 +1252,7 @@ vis.multi_idx()
|
|
|
1252
1252
|
vis.multi_kr()
|
|
1253
1253
|
```
|
|
1254
1254
|
|
|
1255
|
-
 국내주식 라인 복합 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_02_multi_kr.png)
|
|
1256
1256
|
|
|
1257
1257
|
<br>
|
|
1258
1258
|
|
|
@@ -1262,7 +1262,7 @@ vis.multi_kr()
|
|
|
1262
1262
|
vis.multi_us()
|
|
1263
1263
|
```
|
|
1264
1264
|
|
|
1265
|
-
 미국주식 라인 복합 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_03_multi_us.png)
|
|
1266
1266
|
|
|
1267
1267
|
<br>
|
|
1268
1268
|
|
|
@@ -1272,7 +1272,7 @@ vis.multi_us()
|
|
|
1272
1272
|
vis.compare_idx()
|
|
1273
1273
|
```
|
|
1274
1274
|
|
|
1275
|
-
 주요 지표 기간 수익률 비교 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_04_compare_idx.png)
|
|
1276
1276
|
|
|
1277
1277
|
<br>
|
|
1278
1278
|
|
|
@@ -1282,7 +1282,7 @@ vis.compare_idx()
|
|
|
1282
1282
|
vis.ret_idx()
|
|
1283
1283
|
```
|
|
1284
1284
|
|
|
1285
|
-
 지표별 누적수익률 비교 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_05_ret_idx.png)
|
|
1286
1286
|
|
|
1287
1287
|
<br>
|
|
1288
1288
|
|
|
@@ -1292,7 +1292,7 @@ vis.ret_idx()
|
|
|
1292
1292
|
vis.ret_kr()
|
|
1293
1293
|
```
|
|
1294
1294
|
|
|
1295
|
-
 국내주식 누적수익률 비교 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_06_ret_kr.png)
|
|
1296
1296
|
|
|
1297
1297
|
<br>
|
|
1298
1298
|
|
|
@@ -1302,7 +1302,7 @@ vis.ret_kr()
|
|
|
1302
1302
|
vis.ret_us()
|
|
1303
1303
|
```
|
|
1304
1304
|
|
|
1305
|
-
 미국주식 누적수익률 비교 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_07_ret_us.png)
|
|
1306
1306
|
|
|
1307
1307
|
<br>
|
|
1308
1308
|
|
|
@@ -1312,8 +1312,8 @@ vis.ret_us()
|
|
|
1312
1312
|
vis.finance_kr()
|
|
1313
1313
|
```
|
|
1314
1314
|
|
|
1315
|
-
 국내주식 실적 및 밸류 추이](
|
|
1315
|
+

|
|
1316
|
+

|
|
1317
1317
|
|
|
1318
1318
|
<br>
|
|
1319
1319
|
|
|
@@ -1332,7 +1332,7 @@ output.enable_custom_widget_manager()
|
|
|
1332
1332
|
vis.treemap_us()
|
|
1333
1333
|
```
|
|
1334
1334
|
|
|
1335
|
-
 미국주식 주요종목 주가등락율 트리맵](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_09_treemap_us.png)
|
|
1336
1336
|
|
|
1337
1337
|
<br>
|
|
1338
1338
|
|
|
@@ -1342,7 +1342,7 @@ vis.treemap_us()
|
|
|
1342
1342
|
vis.heatmap_idx()
|
|
1343
1343
|
```
|
|
1344
1344
|
|
|
1345
|
-
 지수 연월 수익률 히트맵](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_10_heatmap_idx.png)
|
|
1346
1346
|
|
|
1347
1347
|
<br>
|
|
1348
1348
|
|
|
@@ -1352,7 +1352,7 @@ vis.heatmap_idx()
|
|
|
1352
1352
|
vis.heatmap_kr()
|
|
1353
1353
|
```
|
|
1354
1354
|
|
|
1355
|
-
 국내주식 연월 수익률 히트맵](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_11_heatmap_kr.png)
|
|
1356
1356
|
|
|
1357
1357
|
<br>
|
|
1358
1358
|
|
|
@@ -1362,7 +1362,7 @@ vis.heatmap_kr()
|
|
|
1362
1362
|
vis.heatmap_us()
|
|
1363
1363
|
```
|
|
1364
1364
|
|
|
1365
|
-
 미국주식 연월 수익률 히트맵](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_12_heatmap_us.png)
|
|
1366
1366
|
|
|
1367
1367
|
<br>
|
|
1368
1368
|
|
|
@@ -1372,7 +1372,7 @@ vis.heatmap_us()
|
|
|
1372
1372
|
vis.targetprice_us()
|
|
1373
1373
|
```
|
|
1374
1374
|
|
|
1375
|
-
 미국주식 목표가 대비 현재가 차이(괴리율) 순위표](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_13_targetprice_us.png)
|
|
1376
1376
|
|
|
1377
1377
|
<br>
|
|
1378
1378
|
|
|
@@ -88,7 +88,7 @@ mf_us = MultiFactorUS(N=50)
|
|
|
88
88
|
시각화 분석 객체는 다음 코드로 생성합니다.
|
|
89
89
|
|
|
90
90
|
```python
|
|
91
|
-
|
|
91
|
+
vis = Visual()
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
<br>
|
|
@@ -1225,7 +1225,7 @@ mf_us.get_Ngroup(df, Ngroup=10)
|
|
|
1225
1225
|
vis.multi_idx()
|
|
1226
1226
|
```
|
|
1227
1227
|
|
|
1228
|
-
 지수별 라인 복합 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_01_multi_idx.png)
|
|
1229
1229
|
|
|
1230
1230
|
<br>
|
|
1231
1231
|
|
|
@@ -1235,7 +1235,7 @@ vis.multi_idx()
|
|
|
1235
1235
|
vis.multi_kr()
|
|
1236
1236
|
```
|
|
1237
1237
|
|
|
1238
|
-
 국내주식 라인 복합 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_02_multi_kr.png)
|
|
1239
1239
|
|
|
1240
1240
|
<br>
|
|
1241
1241
|
|
|
@@ -1245,7 +1245,7 @@ vis.multi_kr()
|
|
|
1245
1245
|
vis.multi_us()
|
|
1246
1246
|
```
|
|
1247
1247
|
|
|
1248
|
-
 미국주식 라인 복합 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_03_multi_us.png)
|
|
1249
1249
|
|
|
1250
1250
|
<br>
|
|
1251
1251
|
|
|
@@ -1255,7 +1255,7 @@ vis.multi_us()
|
|
|
1255
1255
|
vis.compare_idx()
|
|
1256
1256
|
```
|
|
1257
1257
|
|
|
1258
|
-
 주요 지표 기간 수익률 비교 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_04_compare_idx.png)
|
|
1259
1259
|
|
|
1260
1260
|
<br>
|
|
1261
1261
|
|
|
@@ -1265,7 +1265,7 @@ vis.compare_idx()
|
|
|
1265
1265
|
vis.ret_idx()
|
|
1266
1266
|
```
|
|
1267
1267
|
|
|
1268
|
-
 지표별 누적수익률 비교 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_05_ret_idx.png)
|
|
1269
1269
|
|
|
1270
1270
|
<br>
|
|
1271
1271
|
|
|
@@ -1275,7 +1275,7 @@ vis.ret_idx()
|
|
|
1275
1275
|
vis.ret_kr()
|
|
1276
1276
|
```
|
|
1277
1277
|
|
|
1278
|
-
 국내주식 누적수익률 비교 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_06_ret_kr.png)
|
|
1279
1279
|
|
|
1280
1280
|
<br>
|
|
1281
1281
|
|
|
@@ -1285,7 +1285,7 @@ vis.ret_kr()
|
|
|
1285
1285
|
vis.ret_us()
|
|
1286
1286
|
```
|
|
1287
1287
|
|
|
1288
|
-
 미국주식 누적수익률 비교 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_07_ret_us.png)
|
|
1289
1289
|
|
|
1290
1290
|
<br>
|
|
1291
1291
|
|
|
@@ -1295,8 +1295,8 @@ vis.ret_us()
|
|
|
1295
1295
|
vis.finance_kr()
|
|
1296
1296
|
```
|
|
1297
1297
|
|
|
1298
|
-
 국내주식 실적 및 밸류 추이](
|
|
1298
|
+

|
|
1299
|
+

|
|
1300
1300
|
|
|
1301
1301
|
<br>
|
|
1302
1302
|
|
|
@@ -1315,7 +1315,7 @@ output.enable_custom_widget_manager()
|
|
|
1315
1315
|
vis.treemap_us()
|
|
1316
1316
|
```
|
|
1317
1317
|
|
|
1318
|
-
 미국주식 주요종목 주가등락율 트리맵](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_09_treemap_us.png)
|
|
1319
1319
|
|
|
1320
1320
|
<br>
|
|
1321
1321
|
|
|
@@ -1325,7 +1325,7 @@ vis.treemap_us()
|
|
|
1325
1325
|
vis.heatmap_idx()
|
|
1326
1326
|
```
|
|
1327
1327
|
|
|
1328
|
-
 지수 연월 수익률 히트맵](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_10_heatmap_idx.png)
|
|
1329
1329
|
|
|
1330
1330
|
<br>
|
|
1331
1331
|
|
|
@@ -1335,7 +1335,7 @@ vis.heatmap_idx()
|
|
|
1335
1335
|
vis.heatmap_kr()
|
|
1336
1336
|
```
|
|
1337
1337
|
|
|
1338
|
-
 국내주식 연월 수익률 히트맵](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_11_heatmap_kr.png)
|
|
1339
1339
|
|
|
1340
1340
|
<br>
|
|
1341
1341
|
|
|
@@ -1345,7 +1345,7 @@ vis.heatmap_kr()
|
|
|
1345
1345
|
vis.heatmap_us()
|
|
1346
1346
|
```
|
|
1347
1347
|
|
|
1348
|
-
 미국주식 연월 수익률 히트맵](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_12_heatmap_us.png)
|
|
1349
1349
|
|
|
1350
1350
|
<br>
|
|
1351
1351
|
|
|
@@ -1355,7 +1355,7 @@ vis.heatmap_us()
|
|
|
1355
1355
|
vis.targetprice_us()
|
|
1356
1356
|
```
|
|
1357
1357
|
|
|
1358
|
-
 미국주식 목표가 대비 현재가 차이(괴리율) 순위표](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_13_targetprice_us.png)
|
|
1359
1359
|
|
|
1360
1360
|
<br>
|
|
1361
1361
|
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import importlib
|
|
2
|
+
import os
|
|
3
|
+
|
|
4
|
+
from . import vmulti_idx
|
|
5
|
+
from . import vmulti_kr
|
|
6
|
+
from . import vmulti_us
|
|
7
|
+
from . import vcompare_idx
|
|
8
|
+
from . import vret_idx
|
|
9
|
+
from . import vret_kr
|
|
10
|
+
from . import vret_us
|
|
11
|
+
from . import vfinance_kr
|
|
12
|
+
from . import vheatmap_idx
|
|
13
|
+
from . import vtreemap_us
|
|
14
|
+
from . import vheatmap_kr
|
|
15
|
+
from . import vheatmap_us
|
|
16
|
+
from . import vtargetprice_us
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def _set_korean_font():
|
|
20
|
+
try:
|
|
21
|
+
fm = importlib.import_module("matplotlib.font_manager")
|
|
22
|
+
plt = importlib.import_module("matplotlib.pyplot")
|
|
23
|
+
except ImportError:
|
|
24
|
+
return None
|
|
25
|
+
|
|
26
|
+
font_paths = [
|
|
27
|
+
"/usr/share/fonts/truetype/nanum/NanumGothic.ttf",
|
|
28
|
+
"/usr/share/fonts/truetype/nanum/NanumBarunGothic.ttf",
|
|
29
|
+
"/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc",
|
|
30
|
+
"/usr/share/fonts/opentype/noto/NotoSansCJKkr-Regular.otf",
|
|
31
|
+
"C:/Windows/Fonts/malgun.ttf",
|
|
32
|
+
"C:/Windows/Fonts/malgunbd.ttf",
|
|
33
|
+
"/System/Library/Fonts/AppleSDGothicNeo.ttc",
|
|
34
|
+
"/Library/Fonts/AppleGothic.ttf",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
for font_path in font_paths:
|
|
38
|
+
if os.path.exists(font_path):
|
|
39
|
+
fm.fontManager.addfont(font_path)
|
|
40
|
+
font_name = fm.FontProperties(fname=font_path).get_name()
|
|
41
|
+
plt.rcParams["font.family"] = font_name
|
|
42
|
+
plt.rcParams["axes.unicode_minus"] = False
|
|
43
|
+
return font_name
|
|
44
|
+
|
|
45
|
+
plt.rcParams["axes.unicode_minus"] = False
|
|
46
|
+
return None
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class Visual:
|
|
50
|
+
def __init__(self):
|
|
51
|
+
self.korean_font = _set_korean_font()
|
|
52
|
+
|
|
53
|
+
def multi_idx(self):
|
|
54
|
+
vmulti_idx.multi_idx()
|
|
55
|
+
|
|
56
|
+
def multi_kr(self):
|
|
57
|
+
vmulti_kr.multi_kr()
|
|
58
|
+
|
|
59
|
+
def multi_us(self):
|
|
60
|
+
vmulti_us.multi_us()
|
|
61
|
+
|
|
62
|
+
def compare_idx(self):
|
|
63
|
+
vcompare_idx.compare_idx()
|
|
64
|
+
|
|
65
|
+
def ret_idx(self):
|
|
66
|
+
vret_idx.ret_idx()
|
|
67
|
+
|
|
68
|
+
def ret_kr(self):
|
|
69
|
+
vret_kr.ret_kr()
|
|
70
|
+
|
|
71
|
+
def ret_us(self):
|
|
72
|
+
vret_us.ret_us()
|
|
73
|
+
|
|
74
|
+
def finance_kr(self):
|
|
75
|
+
vfinance_kr.finance_kr()
|
|
76
|
+
|
|
77
|
+
def heatmap_idx(self):
|
|
78
|
+
vheatmap_idx.heatmap_idx()
|
|
79
|
+
|
|
80
|
+
def treemap_us(self):
|
|
81
|
+
vtreemap_us.treemap_us()
|
|
82
|
+
|
|
83
|
+
def heatmap_kr(self):
|
|
84
|
+
vheatmap_kr.heatmap_kr()
|
|
85
|
+
|
|
86
|
+
def heatmap_us(self):
|
|
87
|
+
vheatmap_us.heatmap_us()
|
|
88
|
+
|
|
89
|
+
def targetprice_us(self):
|
|
90
|
+
vtargetprice_us.targetprice_us()
|
|
@@ -13,6 +13,7 @@ os.environ['PYTHONWARNINGS'] = 'ignore'
|
|
|
13
13
|
# 같은 폴더의 core.py/us_core.py에서 클래스를 가져옵니다.
|
|
14
14
|
from .core import MultiFactorKR
|
|
15
15
|
from .us_core import MultiFactorUS
|
|
16
|
+
from .Visual import Visual
|
|
16
17
|
|
|
17
18
|
# 패키지를 import할 때 노출할 항목을 명시합니다.
|
|
18
19
|
__all__ = ['MultiFactorKR', 'MultiFactorUS', 'Visual']
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: MultiFactor
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: 멀티팩터 기반 주식 데이터 수집 패키지
|
|
5
5
|
Author-email: HANHO <hanhoman@gmail.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -105,7 +105,7 @@ mf_us = MultiFactorUS(N=50)
|
|
|
105
105
|
시각화 분석 객체는 다음 코드로 생성합니다.
|
|
106
106
|
|
|
107
107
|
```python
|
|
108
|
-
|
|
108
|
+
vis = Visual()
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
<br>
|
|
@@ -1242,7 +1242,7 @@ mf_us.get_Ngroup(df, Ngroup=10)
|
|
|
1242
1242
|
vis.multi_idx()
|
|
1243
1243
|
```
|
|
1244
1244
|
|
|
1245
|
-
 지수별 라인 복합 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_01_multi_idx.png)
|
|
1246
1246
|
|
|
1247
1247
|
<br>
|
|
1248
1248
|
|
|
@@ -1252,7 +1252,7 @@ vis.multi_idx()
|
|
|
1252
1252
|
vis.multi_kr()
|
|
1253
1253
|
```
|
|
1254
1254
|
|
|
1255
|
-
 국내주식 라인 복합 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_02_multi_kr.png)
|
|
1256
1256
|
|
|
1257
1257
|
<br>
|
|
1258
1258
|
|
|
@@ -1262,7 +1262,7 @@ vis.multi_kr()
|
|
|
1262
1262
|
vis.multi_us()
|
|
1263
1263
|
```
|
|
1264
1264
|
|
|
1265
|
-
 미국주식 라인 복합 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_03_multi_us.png)
|
|
1266
1266
|
|
|
1267
1267
|
<br>
|
|
1268
1268
|
|
|
@@ -1272,7 +1272,7 @@ vis.multi_us()
|
|
|
1272
1272
|
vis.compare_idx()
|
|
1273
1273
|
```
|
|
1274
1274
|
|
|
1275
|
-
 주요 지표 기간 수익률 비교 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_04_compare_idx.png)
|
|
1276
1276
|
|
|
1277
1277
|
<br>
|
|
1278
1278
|
|
|
@@ -1282,7 +1282,7 @@ vis.compare_idx()
|
|
|
1282
1282
|
vis.ret_idx()
|
|
1283
1283
|
```
|
|
1284
1284
|
|
|
1285
|
-
 지표별 누적수익률 비교 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_05_ret_idx.png)
|
|
1286
1286
|
|
|
1287
1287
|
<br>
|
|
1288
1288
|
|
|
@@ -1292,7 +1292,7 @@ vis.ret_idx()
|
|
|
1292
1292
|
vis.ret_kr()
|
|
1293
1293
|
```
|
|
1294
1294
|
|
|
1295
|
-
 국내주식 누적수익률 비교 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_06_ret_kr.png)
|
|
1296
1296
|
|
|
1297
1297
|
<br>
|
|
1298
1298
|
|
|
@@ -1302,7 +1302,7 @@ vis.ret_kr()
|
|
|
1302
1302
|
vis.ret_us()
|
|
1303
1303
|
```
|
|
1304
1304
|
|
|
1305
|
-
 미국주식 누적수익률 비교 차트](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_07_ret_us.png)
|
|
1306
1306
|
|
|
1307
1307
|
<br>
|
|
1308
1308
|
|
|
@@ -1312,8 +1312,8 @@ vis.ret_us()
|
|
|
1312
1312
|
vis.finance_kr()
|
|
1313
1313
|
```
|
|
1314
1314
|
|
|
1315
|
-
 국내주식 실적 및 밸류 추이](
|
|
1315
|
+

|
|
1316
|
+

|
|
1317
1317
|
|
|
1318
1318
|
<br>
|
|
1319
1319
|
|
|
@@ -1332,7 +1332,7 @@ output.enable_custom_widget_manager()
|
|
|
1332
1332
|
vis.treemap_us()
|
|
1333
1333
|
```
|
|
1334
1334
|
|
|
1335
|
-
 미국주식 주요종목 주가등락율 트리맵](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_09_treemap_us.png)
|
|
1336
1336
|
|
|
1337
1337
|
<br>
|
|
1338
1338
|
|
|
@@ -1342,7 +1342,7 @@ vis.treemap_us()
|
|
|
1342
1342
|
vis.heatmap_idx()
|
|
1343
1343
|
```
|
|
1344
1344
|
|
|
1345
|
-
 지수 연월 수익률 히트맵](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_10_heatmap_idx.png)
|
|
1346
1346
|
|
|
1347
1347
|
<br>
|
|
1348
1348
|
|
|
@@ -1352,7 +1352,7 @@ vis.heatmap_idx()
|
|
|
1352
1352
|
vis.heatmap_kr()
|
|
1353
1353
|
```
|
|
1354
1354
|
|
|
1355
|
-
 국내주식 연월 수익률 히트맵](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_11_heatmap_kr.png)
|
|
1356
1356
|
|
|
1357
1357
|
<br>
|
|
1358
1358
|
|
|
@@ -1362,7 +1362,7 @@ vis.heatmap_kr()
|
|
|
1362
1362
|
vis.heatmap_us()
|
|
1363
1363
|
```
|
|
1364
1364
|
|
|
1365
|
-
 미국주식 연월 수익률 히트맵](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_12_heatmap_us.png)
|
|
1366
1366
|
|
|
1367
1367
|
<br>
|
|
1368
1368
|
|
|
@@ -1372,7 +1372,7 @@ vis.heatmap_us()
|
|
|
1372
1372
|
vis.targetprice_us()
|
|
1373
1373
|
```
|
|
1374
1374
|
|
|
1375
|
-
 미국주식 목표가 대비 현재가 차이(괴리율) 순위표](https://raw.githubusercontent.com/YoonHanho/MultiFactor/main/docs/images/visual_13_targetprice_us.png)
|
|
1376
1376
|
|
|
1377
1377
|
<br>
|
|
1378
1378
|
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
from . import vmulti_idx
|
|
2
|
-
from . import vmulti_kr
|
|
3
|
-
from . import vmulti_us
|
|
4
|
-
from . import vcompare_idx
|
|
5
|
-
from . import vret_idx
|
|
6
|
-
from . import vret_kr
|
|
7
|
-
from . import vret_us
|
|
8
|
-
from . import vfinance_kr
|
|
9
|
-
from . import vheatmap_idx
|
|
10
|
-
from . import vtreemap_us
|
|
11
|
-
from . import vheatmap_kr
|
|
12
|
-
from . import vheatmap_us
|
|
13
|
-
from . import vtargetprice_us
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
class Visual:
|
|
17
|
-
def multi_idx(self):
|
|
18
|
-
vmulti_idx.multi_idx()
|
|
19
|
-
|
|
20
|
-
def multi_kr(self):
|
|
21
|
-
vmulti_kr.multi_kr()
|
|
22
|
-
|
|
23
|
-
def multi_us(self):
|
|
24
|
-
vmulti_us.multi_us()
|
|
25
|
-
|
|
26
|
-
def compare_idx(self):
|
|
27
|
-
vcompare_idx.compare_idx()
|
|
28
|
-
|
|
29
|
-
def ret_idx(self):
|
|
30
|
-
vret_idx.ret_idx()
|
|
31
|
-
|
|
32
|
-
def ret_kr(self):
|
|
33
|
-
vret_kr.ret_kr()
|
|
34
|
-
|
|
35
|
-
def ret_us(self):
|
|
36
|
-
vret_us.ret_us()
|
|
37
|
-
|
|
38
|
-
def finance_kr(self):
|
|
39
|
-
vfinance_kr.finance_kr()
|
|
40
|
-
|
|
41
|
-
def heatmap_idx(self):
|
|
42
|
-
vheatmap_idx.heatmap_idx()
|
|
43
|
-
|
|
44
|
-
def treemap_us(self):
|
|
45
|
-
vtreemap_us.treemap_us()
|
|
46
|
-
|
|
47
|
-
def heatmap_kr(self):
|
|
48
|
-
vheatmap_kr.heatmap_kr()
|
|
49
|
-
|
|
50
|
-
def heatmap_us(self):
|
|
51
|
-
vheatmap_us.heatmap_us()
|
|
52
|
-
|
|
53
|
-
def targetprice_us(self):
|
|
54
|
-
vtargetprice_us.targetprice_us()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|