Skip to content
Financing Audit

Add Financing Pool

Creates a new IPO financing batch (financing pool) or a limit top-up node.

Request parameters

  • Required: counter_id (security ID), type (pool type), amount (financing amount), channel (financing channel), ratio (financing ratio), rate_id (rate ID), start_at (start timestamp), ended_at (end timestamp), currency
  • Also needed in practice: group (client group) and a non-empty rules list (subscription quantity rules, e.g. [{"min_qty":0,"max_qty":1000}]), otherwise the call fails with group rule empty; ratio must be 1–99, 100 fails with 100% 融资请选择 0 成本类型: (ratio must less then 100) (whether type 3, zero-cost subscription, allows 100 is unverified)
  • Optional: bank_ratio, financing_base_type, threshold, min_cash, remark, audit_frontend_resource
  • See each field description for its format, value range, and business meaning.

Business notes

Creates a financing pool for the specified security and channel.

Risk warning

This operation creates an IPO financing pool that takes effect for customers and affects available financing limits and financing costs. Verify the security, channel, and financing parameters before calling.

Result

On success, returns the ID of the newly created financing batch (top-up node).

POSThttps://b-api.lbkrs.com/v2/ipo/margin/new

Authorization

AuthorizationstringheaderRequired

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

Permission

ipo.financing_batch

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

Request body application/json

channelstringrequired

Channel. This field is required.

counter_idstringrequired

Counter ID. This field is required. Format is {type}/{market}/{code}, for example, stock ST/HK/700 or ST/US/AAPL, and option OP/US/AAPL270319C320000.

amountstringrequired

Amount.

currencystringrequired

Currency. This field is required.

ended_atintegerrequired

Ended At.

start_atintegerrequired

Start At.

typeintegerrequired

Type. Financing pool type.

Allowed values: 0 Financing subscription, 3 Zero-cost subscription. Sent as an integer here, as a string on ipo_margin_edit; the enum also lists 1 and 2, which the console does not label, so do not use them.

Values
0
1
2
3
ratiostringrequired

Financing ratio as a percentage, 1–99; sent as a string here (e.g. "90") and as a number on ipo_margin_edit. 100 is rejected with 100% 融资请选择 0 成本类型: (ratio must less then 100); whether type 3 (zero-cost subscription) allows 100 has not been verified.

bank_ratiostring

Bank Ratio.

rate_idstringrequired

Identifier of the associated interest-rate config. Options come from a backend data dictionary.

financing_base_typestring

Financing base type, sent only in certain scenarios. Options come from a backend data dictionary.

thresholdstring

Warning threshold amount, submitted as a string with two decimal places.

min_cashstring

Minimum cash requirement, submitted as a string with two decimal places.

rulesarray<object>

Subscription quantity rules; each item has min_qty and max_qty (lower and upper bound). Must not be empty.

Child attributes
min_qtyinteger

Lower quantity bound.

max_qtyinteger

Upper quantity bound.

groupstring

Client group. ALL means all clients (confirmed on TEST); other values are not documented.

remarkobject

Localized remark object with zh_cn, zh_hk, and en.

audit_frontend_resourceobject

Caller-provided audit context object.

Responses

HTTP 200The request was processed successfully. data.id is the ID of the new financing batch.
Standard response envelopecodemessagedata
dataobjectdata structure
idinteger

Financing Batch ID.

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