CSKIM의 코딩로그/자동매매 프로그래밍
Python toy project] 업비트 API 자동매매프로그램 - 백테스팅(2)
앞서 업로드했던 백테스팅(1) 에서 API 에 대해서 간단히 설명하고 사용하게 될 openpyxl 라이브러리에 대해서도 간단히 설명했다. 오늘은 업비트 비공식 API "crix-api" 를 통해서 업비트 공식 api보다 더 많은 양의 데이터를 불러와 백테스팅을 진행해보고자 한다. index = 2 def get_upbit_data(url, last_date, to_date) : global index response = '' while True: try : response = requests.get(url) except Exception as e: print(e) time.sleep(20) continue if str(response) == '': break time.sleep(10) data = res..
2021. 8. 15. 18:11
최근댓글