본문 바로가기
반응형

Analysis25

30 days Rolling Correlation violin plot import pandas as pd from sqlalchemy import create_engine import seaborn as sns import matplotlib.pyplot as plt import numpy as np # SQLAlchemy 엔진 설정 engine = create_engine("mysql+pymysql://root:1*****s@localhost/krxstock?charset=utf8") # 모든 테이블 이름 가져오기 table_query = "SHOW TABLES" tables = pd.read_sql(table_query, con=engine) table_names = tables.iloc[:, 0].tolist() # 날짜 설정 start_date = pd.Timest.. 2024. 1. 26.
Portfolios recommended by chatGPT here are 10 different stock portfolios, each with a unique personality, that you may consider: Growth Portfolio: This portfolio is focused on stocks with high growth potential, typically in emerging markets or cutting-edge industries. The stocks in this portfolio are high-risk, high-reward, and may not pay dividends. Example stocks: Amazon, Tesla, Square, MercadoLibre, and Shopify. Value Portfol.. 2023. 2. 19.
[python] 2021 NASDAQ CORRELATION HISTOGRAM Start Date : 2016/11/30 End Date : 2021/01/07 6,212 NASDAQ, NYSE Stocks Close Price In [1]: import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns In [2]: data=pd.read_csv('allstock_t.csv') In [3]: data.head() Out[3]: A AA AACG AACQ AACQU AAIC AAL AAMC AAME AAN ... ZTO ZTR ZTS ZUMZ ZUO ZVO ZYME ZYNE ZYXI TSLA 0 126.16 25.23 1.27 10.54 11.15 3.93 15.38 22.39 .. 2021. 1. 9.
Bitcoin Correlation Histogram X axis : Stocks Price Correlation CoefficientY axis : Quantity of stocks1,000 Day Parameter2,830 NASDAQ Stocks Price X axis : Stocks Price Correlation CoefficientY axis : Quantity of stocks1,000 Day Parameter4,338 NYSE Stocks Price X axis : Stocks Price Correlation CoefficientY axis : Quantity of stocks1,000 Day Parameter3,214 LONDON Stocks Price X axis : Stocks Price Correlation CoefficientY ax.. 2017. 5. 21.
반응형