본문 바로가기
반응형

전체 글20279

GPT와 대화 : 리벨런싱 시뮬레이션 데이터를 확인한 결과, 각 종목의 종가가 열 단위로 포함되어 있으며, Date 컬럼에는 날짜가 있습니다. 이제 기술주 상위 5개 종목을 선정하고, 동일 금액으로 투자했을 때의 수익 곡선을 분석하겠습니다. 분석을 위해 다음 단계를 진행합니다:기술주 상위 5개 선정: 기술주를 필터링하고, 데이터를 기준으로 상위 5개 종목을 선택합니다.동일 투자금액 초기화: 각 종목에 동일 금액을 투자한 경우의 초기 주식 수를 계산합니다.수익 곡선 계산: 날짜별 포트폴리오의 총 가치를 계산합니다.수익 곡선 시각화: 결과를 그래프로 표시합니다.분석을 시작하겠습니다.import matplotlib.pyplot as plt# Select technology stocks (example assumption, top 5 based o.. 2025. 1. 3.
투명 이미지 업로드 2024. 7. 17.
Correlation Insights: How Major NASDAQ Stocks Move Together This graph contains two violin plots illustrating the distribution of correlation coefficients between specific stocks and the entire NASDAQ composite index. The plots are based on data from January 1, 2023, to June 1, 2024. Each plot visualizes the correlation coefficients based on daily closing prices and daily returns, respectively.### Left Graph: Distribution of Correlation Coefficients Base.. 2024. 6. 5.
미드저니 프롬프트 모음 A panoramic view of the cityscape from a crepe, showcasing its skyline and surrounding greenery against a cloudy sky. The buildings stand tall with modern architecture, while small houses line streets below on hillsides covered in lush trees. In the distance behind them is an urban park under mountains, adding to the overall sense of scale and depth. This scene captures one side of Brazil's vibr.. 2024. 4. 29.
반응형