Skip to content
Daily Quote

Add/Update Private EOD Quote

Creates or edits a private-library daily quote (EOD) record. Omitting id creates a new record; passing id edits it.

Request parameters

  • Required: counter_id (security code), trade_day (trade day), suspension_indicator (board status flag), close (close price)
  • Optional: id (quote record ID), open, high, low, volume, turnover, audit_frontend_resource (caller-provided audit context)
  • See the field descriptions for the format, value range, and business meaning of each field.

Business notes

A private-library quote is maintained uniquely per security and trade day, providing daily quotes to downstream business that references the private security.

Risk warning

This operation changes live quote data and may affect downstream valuation and display. Confirm the trade day and prices before calling.

Result

On success, the quote for the trade day is created or edited. The resulting state and returned data follow the 200 response definition.

POSThttps://b-api.lbkrs.com/gemini-tenant/eod-add

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Request body application/json

idstring

Record ID. Record ID associated with this request.

counter_idstringrequired

Stock Code. Corresponds to the request field close_price_stock_code field; read-only after creation. Format is {type}/{market}/{code}, for example, stock ST/HK/700 or ST/US/AAPL, and option OP/US/AAPL270319C320000.

trade_daystringrequired

Trade Day. Format YYYY-MM-DD.

suspension_indicatorstringrequired

Suspension Indicator. Suspension indicator. Defaults to N.

Allowed values: Y Yes, N No

Values
Y
Yes
N
No
closenumberrequired

Close Price. Specifies Close Price. This field is required.

opennumber

Open Price. Specifies Open Price.

highnumber

High Price. Specifies High Price.

lownumber

Low Price. Specifies Low Price.

volumenumber

Volume. Specifies Volume.

turnovernumber

Turnover. Specifies Turnover.

audit_frontend_resourceobject

Audit Context. Provides audit context for this operation.

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs