Skip to content

Commit

Permalink
Update openapi.pyi
Browse files Browse the repository at this point in the history
  • Loading branch information
sunli829 committed Apr 26, 2024
1 parent e2bc0ad commit cdaaa46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/pysrc/longport/openapi.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2511,6 +2511,7 @@ class QuoteContext:
def on_candlestick(symbol: str, event: PushCandlestick):
print(symbol, event)
ctx.set_on_candlestick(on_candlestick)
ctx.subscribe_candlesticks("700.HK", Period.Min_1)
sleep(30)
"""
Expand Down

0 comments on commit cdaaa46

Please sign in to comment.