Skip to content

Commit

Permalink
Reformat ibconfig.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Liu committed Sep 2, 2017
1 parent 4da6622 commit 5848513
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ibstract/ibconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
rt_hist_volat 411
div 456
""")
REQ_TICK_TYPES = pd.read_csv(req_tick_types_csv, delim_whitespace=True, index_col=0)
REQ_TICK_TYPES = pd.read_csv(
req_tick_types_csv, delim_whitespace=True, index_col=0)


# Tick Types
Expand Down Expand Up @@ -107,7 +108,7 @@
54 TRADE_COUNT tickGeneric()
55 TRADE_RATE tickGeneric()
56 VOLUME_RATE tickGeneric()
""")
""")
TICK_TYPES = pd.read_csv(tick_types_csv, delim_whitespace=True, index_col=0)


Expand All @@ -117,4 +118,4 @@ def __init__(self):
req_tick_types_all = ' ' + '\n '.join(REQ_TICK_TYPES.index)
msg = "Invalid IB tick type name for requesting market data!\n" + \
"Valid tick types names are:\n" + req_tick_types_all
super(IBInvalidReqTickType, self).__init__(msg)
super().__init__(msg)

0 comments on commit 5848513

Please sign in to comment.