mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-13 10:58:06 +00:00
chore(Linter): reformatted code with black (#211)
* chore(Linter): reformatted code with black * Create black.yaml
This commit is contained in:
+18
-3
@@ -3,7 +3,24 @@ import pandas as pd
|
||||
from data_loader.get_prices import get_crypto_price_crypto_compare, get_stock_price_av
|
||||
|
||||
#%%
|
||||
crypto_tickers = ["BTC", "ETH", "BNB", "ADA", "SOL", "XRP", "DOT", "LTC", "UNI", "TRX", "XLM", "BCH", "FIL", "ETC", "THETA", "XTZ"]
|
||||
crypto_tickers = [
|
||||
"BTC",
|
||||
"ETH",
|
||||
"BNB",
|
||||
"ADA",
|
||||
"SOL",
|
||||
"XRP",
|
||||
"DOT",
|
||||
"LTC",
|
||||
"UNI",
|
||||
"TRX",
|
||||
"XLM",
|
||||
"BCH",
|
||||
"FIL",
|
||||
"ETC",
|
||||
"THETA",
|
||||
"XTZ",
|
||||
]
|
||||
etf_tickers = ["GLD", "IEF", "TLT", "SPY", "QQQ"]
|
||||
crypto_path = "data/daily_crypto"
|
||||
etf_path = "data/daily_etf"
|
||||
@@ -20,5 +37,3 @@ for src_ticker in crypto_tickers:
|
||||
df = get_crypto_price_crypto_compare(src_ticker, "USD", 1500)
|
||||
|
||||
df.to_csv(f"{crypto_path}/{src_ticker}_USD.csv", index=True)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user