Skip to content
This repository was archived by the owner on Jul 16, 2026. It is now read-only.
This repository was archived by the owner on Jul 16, 2026. It is now read-only.

Spot set stp_act without stp_id #178

Description

@creative-y

Could anyone solve the below issue? I specified the stp_id but the error occured.

HTTP response headers: HTTPHeaderDict({'Date': 'Sat, 31 May 2025 14:36:42 GMT', 'Content-Type': 'application/json', 'Content-Length': '70', 'Connection': 'keep-alive', 'Server': 'openresty', 'X-Request-Id': '', 'X-Gate-RateLimit-Requests-Remain': '9', 'X-Gate-RateLimit-Limit': '10', 'X-Gate-RateLimit-Reset-Timestamp': '1748702202', 'X-Out-Time': '1748702202465820', 'X-Gate-Trace-ID': '683b13fa43946b7dc27227de2d443863', 'X-In-Time': '1748702202452277'})
HTTP response body: {"label":"INVALID_PARAM_VALUE","message":"set stp_act without stp_id"}

order = Order(
currency_pair="WEMIX_USDT",
type="limit",
side=order_type,
price=str(price_usdt),
amount=str(quantity),
stp_id=100,
stp_act = "cb"
)
response = self.api.create_order(order)

Version: 4.83.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions