This commit is contained in:
dsyoon
2025-04-27 16:34:34 +09:00
parent d8d99f86ff
commit 9426dde64f

View File

@@ -73,7 +73,7 @@ def check_bollinger_bands(symbol, data):
def get_coin_data(symbol, retries=3):
for attempt in range(retries):
try:
url = "https://api.bithumb.com/v1/candles/minutes/{}?market=KRW-{}&count=3000".format(60, symbol)
url = "https://api.bithumb.com/v1/candles/minutes/{}?market=KRW-{}&count=3000".format(240, symbol)
headers = {"accept": "application/json"}
response = requests.get(url, headers=headers)
json_data = json.loads(response.text)