init
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user