Skip to main content

End-of-day Market

Interface Description

  • Function description: Query end-of-day market information according to instrument_id.

  • Request URL: /market-data/eod-bars

  • Request method: GET

  • Frequency limit: The calling frequency of each AppId is limited to 60 times per minute.

Request parameters

ParameterTypeRequired fieldsDescription
instrument_idsStringYesInstrument id collection, such as: 913256135,913303964. Multiple instrument_ids should be separated by ,. A single query supports up to 200 instrument_id
dateStringNoUTC time. Time format: yyyy-MM-dd, and the default check is conducted on the latest date
countIntegerNoWith “date” as the deadline, the end-of-day market data of the last “count” trading days: the default is 1, and the maximum limit is 800

Response parameter

FieldTypeDescription
instrument_idStringUnique identifier for the security
bars[]BarEnd-of-day market information

Bar

FieldTypeDescription
timeStringUTC time, eg: 2021-12-28T09:00:09.945+0000
openStringOpening price
closeStringClosing price
highStringHighest price
lowStringLowest price
volumeStringTrading volume

Request example

from webullsdktrade.api import API
from webullsdkcore.client import ApiClient
from webullsdkcore.common.region import Region

api_client = ApiClient(your_app_key, your_app_secret, Region.JP.value)
api = API(api_client)
res = api.market_data.get_eod_bar(instrument_ids='913303964', count=10)
if res.status_code == 200:
print('eod bar quote:', res.json())

Response example