Skip to content

Raise order() priority grouping cap from 80000 to 1e8 #99

Description

@joeblau

Problem

src/api/exchange/_methods/order.ts:86 caps the priority grouping { p } value at 80000. The API now allows up to 1e8 (100%), so the SDK actively rejects valid orders.

Upstream reference: nktkas#169 (v0.33.x).

Fix

  • Raise the cap in the order schema to 1e8 (or 100_000_000).
  • Check the same constant isn't duplicated elsewhere (search for 80000).
  • Add/adjust a test covering the new boundary.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions