Skip to content

Commit

Permalink
import bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
realiti4 committed Apr 22, 2021
1 parent 5f399e5 commit 98143fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tradingfeatures/api_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def get_hist(self,
df_temp = df
except Exception as e:
# raise e
print(e, '\nError between timestamps: ', start_batch, end_batch)
print(e, '\nDebug: error between timestamps: ', start_batch, end_batch)
if steps <= 1: return None

df_temp = pd.concat([df, df_temp])
Expand Down
4 changes: 2 additions & 2 deletions tradingfeatures/uber.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import pandas as pd

from concurrent.futures import ThreadPoolExecutor, as_completed
from tradingfeatures import bitfinex, bitstamp, bitmex, binance, google_trends
from tradingfeatures import bitfinex, bitstamp, bitmex, binance
from tqdm.contrib.concurrent import thread_map


Expand All @@ -30,7 +30,7 @@ def __init__(self,
self.apis = [self.apis_dict.get(key) for key in api_to_use]

self.bitmex = bitmex()
self.google_trends = google_trends()
# self.google_trends = google_trends()

self.columns = ['open', 'low', 'high', 'close', 'volume'] if columns is None else columns
self.column_kwargs = {} if column_kwargs is None else column_kwargs
Expand Down

0 comments on commit 98143fe

Please sign in to comment.