Skip to content

Commit 71fdd3e

Browse files
author
brillliantz
committed
[ENH] change API: on_quote to on_bar
1 parent 414ff1f commit 71fdd3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
class DataApiCallback(object):
2121
"""DataApi Callback
2222
23-
def on_quote(quote):
23+
def on_bar(quote):
2424
pass
2525
2626
def on_connection()
2727
"""
2828

2929
def __init__(self):
30-
self.on_quote = None
30+
self.on_bar = None
3131

3232

3333
class DataApi(object):

0 commit comments

Comments
 (0)