Skip to content
Daily Quote

Add/Update Private EOD Quote

Submitted by the detail drawer form on the Daily Quote page; no id is sent on create, and an id is carried on edit.

Request parameters

  • Required: counter_id (Stock Code), trade_day (Trade Day), suspension_indicator (Suspension Indicator), close (Close Price)
  • Optional: id (Record ID), open (Open Price), high (High Price), low (Low Price), volume (Volume), turnover (Turnover), audit_frontend_resource (Audit Context)
  • See each field for its format, allowed values, default behavior, and business meaning.

Result

On success, the endpoint completes the described business operation. See the 200 response schema for returned data.

POSThttps://b-api.longbridge.xyz/gemini-tenant/eod-add

Authorization

AuthorizationstringheaderRequired

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

No dedicated permission key. Any authenticated Broker ACCESS_TOKEN with access to this scope can call it.

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.

trade_daystringrequired

Trade Day. Format YYYY-MM-DD.

suspension_indicatorstringrequired

Suspension Indicator. Suspension indicator. Defaults to N; see the options below.

Allowed values:

  • Y - Yes
  • N - No

YN

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