Rep+rt

Streamlit을 이용한 option calculator & strategy 본문

Programming/Python

Streamlit을 이용한 option calculator & strategy

ALLENPARK 2025. 4. 8. 21:04
반응형

주요기능

1. Underlying price, DTE, Yield Dividend등 Parameters 이용해, Call 및 Put의 이론가 계산(Black Scholes Merton 모델이용)

2. Side, Option Type, Strategy의 조합을 이용하여 사용자 스스로 전략 구사 및 plot 제공, BEP, Max Profit & Loss, 기초자산 시점에서의 옵션 수익, 및 그릭스(Greeks) 정보 제공

3. 옵션체인 데이터, Volatility Surface 3Dplot 및 변동성 스큐 plot 제공

4. call and put volume chart와 put call ratio 제공

* 본 어플은 yfinance 패키지에 전적으로 의존하므로, 실제 데이터와 차이가 있을 수 있습니다

* 작성자 본인이 개발한 streamlit application입니다. 제안사항 및 수정사항이 있으면 언제든 말씀해주세요

 

 

https://github.com/parkminhyung/Option-Calculator

 

GitHub - parkminhyung/Option-Calculator: Option calculator

Option calculator . Contribute to parkminhyung/Option-Calculator development by creating an account on GitHub.

github.com

 

 

 

 

 

사용방법

# 저장소 복제
git clone https://github.com/parkminhyung/Option-Calculator.git
cd Option-Calculator

# 필요한 패키지 설치
pip install streamlit pandas numpy yfinance plotly scipy

# 애플리케이션 실행
streamlit run app.py