Skip to content

API 碎股单类型提示 internal server error #400

@iisrun

Description

@iisrun

问题描述
我通过API 提交碎股单类型的时候提示 “服务器内部错误”,我用kimi查看之后发现好像不支持碎股单类型,能不能安排支持一波,谢谢。

代码例子

2025-12-22 10:30:58 | INFO     | - 提交订单参数: {'symbol': 'PCG.US', 'order_type': OrderType.ODD, 'side': OrderSide.Buy, 'submitted_quantity': Decimal('1.2'), 'time_in_force': TimeInForceType.Day, 'submitted_price': Decimal('10')}
2025-12-22 10:31:04 | ERROR    | - 提交订单失败: OpenApiException: (code=603200, trace_id=2944f27314169bd71xxxxxxxx) internal server error

错误信息或结果截图

如果可以,请给出一些执行的结果截图,最好给完整截图,避免关键信息遗漏(请注意保护你的 Access Token)

你的环境信息

  • 操作系统: Windows
  • 开发语言: Python
  • SDK 版本号:longport:3.0.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions