@@ -57,8 +57,8 @@ def url(self):
57
57
"""Return a list of API URLs per symbol"""
58
58
59
59
if not self .__engines or not self .__markets :
60
- raise Exception ("Accesing url property accessed before "
61
- "invocation of read() or _get_metadata() methods" )
60
+ raise Exception ("Accessing url property before invocation "
61
+ "of read() or _get_metadata() methods" )
62
62
63
63
return [self .__url_data .format (
64
64
engine = self .__engines [s ],
@@ -169,7 +169,7 @@ def read(self):
169
169
return dfs [0 ]
170
170
171
171
def _read_url_as_String (self , url , params = None ):
172
- """ Open an url (and retry) """
172
+ """Open an url (and retry)"""
173
173
174
174
response = self ._get_response (url , params = params )
175
175
text = self ._sanitize_response (response )
@@ -182,7 +182,7 @@ def _read_url_as_String(self, url, params=None):
182
182
return text
183
183
184
184
def _read_lines (self , input ):
185
- """ Return a pandas DataFrame from input """
185
+ """Return a pandas DataFrame from input"""
186
186
187
187
rs = pd .read_csv (input , index_col = 'TRADEDATE' , parse_dates = True , sep = ';' ,
188
188
na_values = ('-' , 'null' ))
0 commit comments