Skip to content

Commit 74466c9

Browse files
committed
Instantiate
1 parent 7a79afb commit 74466c9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/static/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ h3 code:before {
2626

2727
pre {
2828
padding: 15px;
29-
backgound-color: #dcdcdc;
29+
background-color: #dcdcdc;
3030
}
3131

3232
code {

iex/reference_data.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from iex.constants import BASE_URL
66

77

8-
class reference:
8+
class ReferenceData:
99

1010
def __init__(self, output_format='dataframe'):
1111
"""
@@ -50,3 +50,7 @@ def iex_listed_symbol_directory(self, date=None):
5050
date = parse_date(date)
5151
url = f"daily-list/symbol-directory/{date}" if date else "daily-list/symbol-directory"
5252
return self._get(url)
53+
54+
55+
# Instantiate for convenience
56+
reference = ReferenceData()

0 commit comments

Comments
 (0)