FutunnOpen / py-futu-api

富途 OpenAPI Python SDK
Apache License 2.0
1.03k stars 221 forks source link

module 'futu' has no attribute 'OpenQuoteContext' #41

Closed maestropu closed 4 years ago

maestropu commented 4 years ago

futu-api 3.19.0

import futu as ft quote_ctx = ft.OpenQuoteContext(host='127.0.0.1', port=11111) print(quote_ctx.get_market_snapshot('HK.00700')) quote_ctx.close()