Skip to content
BP Setup

Update IPO Buy Power

Edits an existing IPO buying-power configuration. The field structure matches the add endpoint, with id additionally required to locate the target record.

Request parameters

  • Required: id (configuration ID).
  • The remaining fields (counter_id, type, hold_ipo, floating_ratio, borrow_enable, etc.) match the add endpoint; audit_frontend_resource carries the audit context.
  • See the field definitions for format, value ranges, and business meaning.

Risk warning

This operation changes real IPO buying-power configuration and directly affects how a client's available subscription buying power is computed. Confirm the target record and parameters before calling.

Result

On success the IPO buying-power configuration is updated. Refer to the 200 response definition for returned data.

POSThttps://b-api.lbkrs.com/ipo/edit/buypower

Authorization

AuthorizationstringheaderRequired

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

Permission

ipo.buypower_mange

The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.

Request body application/json

idintegerrequired

Config ID

counter_idstring

Security. Format is {type}/{market}/{code}, for example, stock ST/HK/700 or ST/US/AAPL, and option OP/US/AAPL270319C320000.

typestring

Type

hold_ipoboolean

Whether holding-based IPO subscription is allowed

floating_ratiostring

IPO buying-power margin uplift factor

borrow_enableboolean

Whether coin borrowing is allowed

audit_frontend_resourceobject

audit_frontend_resource

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