feat: Add Bollinger Bands strategy optimizer script #44
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1. 어떤 기능인가요? (What's this feature?)
이 Pull Request는
talib와yfinance를 사용하여 볼린저 밴드 역추세 전략의 최적 파라미터(N Period, K Multiplier)를 찾는 스크립트를 추가합니다.2. 왜 필요한가요? (Why is it needed?)
기존 저장소는 다양한 기술적 지표를 계산하는 스크립트는 제공하지만, 특정 전략의 성과를 체계적으로 검증하고 파라미터를 최적화하는 기능은 부족했습니다. 이 스크립트는 이러한 백테스팅 및 최적화 기능을 제공하여 저장소의 활용도를 높입니다.
3. 어떻게 사용하나요? (How to use?)
저장소를 클론하고
requirements.txt로 라이브러리를 설치합니다.아래 명령어를 터미널에서 실행합니다.
스크립트 상단의
TICKER,START_DATE등을 수정하여 다른 종목과 기간으로 테스트할 수 있습니다.