https://b-api.longbridge.xyz/v1/admin/strategy/saveAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Strategy Package ID. Leave empty or 0 when creating; pass an existing strategy package ID when editing.
Name (Locales). Specifies Name (Locales). This field is required.
Subtitle (Locales). Specifies Subtitle (Locales).
Header Image (Locales). Specifies Header Image (Locales).
Show Quick Filter. Specifies Show Quick Filter.
Show On Homepage. Specifies Show On Homepage.
Sort. Specifies Sort.
Status. Specifies Status.
Conditions. Specifies Conditions. This field is required.
Child attributes
Dimension. Specifies Dimension.
Metric. Specifies Metric.
Period. Specifies Period.
Rule. Specifies Rule.
Values. Specifies Values.
Display Columns. Specifies Display Columns. This field is required.
Child attributes
Column Index. Specifies Column Index.
Original Metric. Specifies Original Metric.
Is Default Sort. Specifies Is Default Sort.
Hit Funds. Specifies Hit Funds. This field is required.
Child attributes
Counter ID. Specifies Counter ID.
Status. Specifies Status.
01
Responses
HTTP 200The request was processed successfully. data.id is the ID of the saved strategy package.codemessagedatadataobjectdata structureStrategy Package ID. ID of the saved strategy package.
HTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields