ComputeStockReturnCorrelationWith
특정 index 와 전체 상장 기업 주가와의 correlation 을 계산합니다.
Function specification
ComputeStockReturnCorrelationWith(target=0, date_from=None, date_to=None)Parameters
Parameter
Type
Description
target
int
target index. 하단 참조.
date_from, date_to
date
correlation 계산 기간
Result Layout
Result:DataFrameTarget Index
KOSPI = 0
KOSDAQ = 1
KOSPI200 = 2
USDKRW = 100
JPYKRW = 101
EURKRW = 102
CNYKRW = 103
BOND1Y = 200
BOND3Y = 201
BOND5Y = 202Examples
Last updated
Was this helpful?