SystemTrading

BackTesting | Data Collection | Refrence

OnYourSide22 2024. 4. 1. 00:56
반응형

Pre-implementation case study of backtesting

 

백테스팅 전략 수립 시 주의사항

사실 이 내용은 Open API 카테고리에 작성을 해야 하나, 다른 카테고리에 작성을 해야 하나 고민이 많았는데, 그래도 키움증권 Open API를 통해 차트 데이터를 불러오고 그 데이터를 저장한 분들이

trustyou.tistory.com

A blog that describes the process of coding directly using Python, with the maximum timeframe being 5 minutes and lacking 1-inute intervals. The database used is MySQL. Classifying and building the process by algorithm provides many development tips. Development is not yet complete.

 

 

1) 백테스트

# 📋 포트 만들기 [![원본](https://wikidocs.net/images/page/162035/PPM2r.png)](https://wikidocs.net/images/…

wikidocs.net

This would be good. The overall direction for the development of the backtesting program will be based on this.Of course, I should create it with my own unique features.

 

주식 투자에 필요한 모든 것, 테일러

아시아 최초 다이렉트인덱싱, 쉽고 믿을 수 있는 테일러로 시작하세요.

www.tailor.im

 

 

한국판 Portfolio Visualizer, Invest Helper (국내상장 주식 백테스트 솔루션)

Portfolio Visualizer(https://www.portfoliovisualizer.com/backtest-portfolio)를 활용하면 미국상장 주식에 대한 백테스트를 간단히 수행해볼 수 있다. 월수익률 데이터를 업로드하면 국내주식도 백테스트를 돌려

lazy-investor.tistory.com

 

 

Invest Helper

 

backtest.kr

 

 

KoreaStockCandleCollector/cybos_util.py at main · windowhan/KoreaStockCandleCollector

전종목 1분봉 콜렉터 using Creon API . Contribute to windowhan/KoreaStockCandleCollector development by creating an account on GitHub.

github.com

Use of Creon API, MongoDB

# 요청항목 - 날짜,시가,고가,저가,종가,거래량

 

 

GitHub - gyusu/Creon-Datareader: 대신증권(Creon) PLUS API를 이용한 주가 데이터 수집 프로그램

대신증권(Creon) PLUS API를 이용한 주가 데이터 수집 프로그램. Contribute to gyusu/Creon-Datareader development by creating an account on GitHub.

github.com

Best practice examples among sources that implemented 1-minute candlestick data collection in Python.

Use of Creon API, pyQt, 1minute

 

 

Easy and Interactive Candlestick Charts in Python

Using Plotly and Streamlit

medium.com

Implementation of candlestick charts using Plotly and Streamlit, It is necessary to check compatibility due to the accelerated development with Streamlit

 

 

 

3) Pandas를 이용한 주가 데이터 저장

이번 절에서는 pandas의 DataReader를 통해 특정 종목의 일봉 데이터를 DataFrame 형태로 다운로드 한 후 이를 데이터베이스로 저장해보겠습니다. 먼저 관련 모듈…

wikidocs.net

Need to check the stock price data storage part and change the database to MongoDB only

 

BackTesting Objective 

Collect data up to 1-minute candlesticks using the existing data collection method. Use MongoDB for the database, and create charts with Plotly and Streamlit to verify that the data has been collected properly.

기존 데이터 수집방식을 그대로 사용하여 1분봉 데이터까지 수집한다. DB 는 MongoDB 를 이용하고, 데이터가 잘 수집되었는지 확인할 수 있는 차트까지 Plotly 와 Streamit 으로 만들어본다.

반응형