Skip to content

Commit bb98583

Browse files
committed
support real-time trades in addition to quotes
1 parent d407f66 commit bb98583

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ally/Api.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,8 @@ def request(self=None):
190190
except StopIteration:
191191
pass
192192
else:
193-
quote = row.get("quote")
194-
if quote is not None:
195-
yield quote
193+
if row is not None:
194+
yield row
196195
finally:
197196
del it
198197
break

0 commit comments

Comments
 (0)