작성
·
237
0
now_time = round(time.time() * 1000)
start = int(now_time)-60*10*1000
end = int(now_time)
print(start)
print(end)
url = 'https://api.gopax.co.kr/trading-pairs/BTC-KRW/book/candles?start='+str(start)+'&end='+str(end)+'&interval=1'
data = requests.get(url)
print(data.status_code)
if data.status_code == 200:
print(data.json())
답변 2
0
0