Skip to main content

Tick-by-Tick

Interface Description

  • Function description:

    • Query tick-by-tick transaction of securities according to the stock code list.
  • Request URL:/market-data/tick

  • Request method:Establish a GRPC through the Webull SDK to establish a persistent connection, and then call the interface to obtain it.

  • Frequency limit:The calling frequency of each AppId is limited to one time per second.

Request Parameters

ParameterTypeRequired fieldsDescription
symbolStringYesexample: single:00700
categoryStringYesSecurity type,enumeration, reference: Category, such as: HK_STOCK
countStringYesThe number of lines: the default is 30, and the maximum limit is 1000

Response Parameter

FieldTypeDescription
symbolStringSecurities code
instrument_idStringUnique identifier for the security
result[]TickTick-by-Tick transaction

Tick

FieldTypeDescription
timeStringFilled time
priceStringPrice
volumestringFilled Volume
sidestringTrade direction, details please refer here Direction

Request Example

from webullsdktrade.grpc_api import API
from webullsdkquotescore.grpc.grpc_client import GrpcApiClient
from webullsdkcore.common.region import Region

grpc_client = GrpcApiClient(your_app_key, your_app_secret, Region.HK.value)
api = API(grpc_client)
response = api.market_data.get_tick(symbol, category)
if response.status_code == 200:
result = response.json()

Response Example