강의

멘토링

로드맵

Inflearn Community Q&A

jmrandomname's profile image
jmrandomname

asked

Trading automation bot (chatbot) implemented in Python

Verifying the profitability of logic (backtesting)

30분 기준으로 캔들을 천 개 가져오는데 start가 왜 start = int(now_time)-60*60*1000*1000 인가요?

Written on

·

219

0

start = int(now_time)-60*60*1000*1000

이면 1시간*1000 -> 1000시간 -> 약 41일인데

30분 기준으로 1000개를 갖고 오고 싶으면  약 20일 정도의 데이터만 가져오면 되는 것 같은데 왜 저 수식이 되었나요?

그리고 마지막 1000의 숫자를 2000으로 늘려도 arr 배열의 길이는 계속 1024가 됩니다 . 최대 범위가 있는 것 인가요?

감사합니다.. 

pythonchatbot

Answer

This question is waiting for answers
Be the first to answer!
jmrandomname's profile image
jmrandomname

asked

Ask a question