fork test
This commit is contained in:
parent
e7df373544
commit
37f6c213f6
13
freqtrade/tests/testdata/download_backtest_data.py
vendored
Normal file
13
freqtrade/tests/testdata/download_backtest_data.py
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/python3.6
|
||||
|
||||
from urllib.request import urlopen
|
||||
|
||||
currencies = ["ok","neo","dash","etc","eth","snt"]
|
||||
|
||||
for cur in currencies:
|
||||
url = 'https://bittrex.com/Api/v2.0/pub/market/GetTicks?marketName=BTC-'+cur+'&tickInterval=fiveMin'
|
||||
x = urlopen(url)
|
||||
data = x.read()
|
||||
str2 = str(data,'utf-8')
|
||||
with open("btc-"+cur+".json", "w") as fichier:
|
||||
fichier.write(str2)
|
Loading…
Reference in New Issue
Block a user