Vertex: Historical API Minimum Order Sizes and Quantity Increments
Vertex's historical API published each market's minimum order size separately from its allowed quantity increment. The min_size and size_increment fields described different constraints, so an increment-aligned amount didn't establish that an order met its market's threshold. Price ticks, account capacity, and execution handling added further conditions. Trading closed in July 2025, making these settings relevant to archived integrations and order records rather than new trading on the former exchange.
Rounding the quantity's magnitude down could leave a historical order below its applicable minimum, while rounding up increased the requested trade quantity.
Product Settings Before Order Submission
Historical order sizing began with the product's market settings and the amount the API client intended to submit. Symbols associated names with product identifiers; All Products exposed each spot or perpetual product's book_info. The relevant record supplied the quantity step, minimum size, and price tick. Those values gave a client the market-specific inputs needed to assess an order before signing it.
The submitted amount then belonged to a signed order for that product and subaccount. A local sizing check didn't establish server acceptance, and an accepted placement didn't establish a completed trade. The response status described the request's outcome; order and match records described what remained open or actually executed.
How Did Minimum Size Differ From the Size Increment?
Minimum size described the market's order-size threshold, while the size increment described the quantity grid used for amounts.
The Market's Size Threshold
A threshold comparison used the quantity's magnitude. An amount below that threshold remained below it even when it was perfectly divisible by the quantity step. The min_size field alone didn't specify the handling of every order type or each later partial fill. It therefore shouldn't be treated as a universal minimum execution chunk.
The Allowed Quantity Grid
The size_increment value supplied the step used in a divisibility check. Quantity could exceed a threshold and still fall between grid points. Displaying more decimal places didn't change either constraint; decimal precision and quantity granularity answered different questions.
Base Quantity and Quote Notional
Order amount represented the base quantity being bought or sold, while price expressed quote units for that quantity. Multiplying absolute quantity by price gave gross quote notional before fees. The quantity floor therefore didn't imply one fixed cash value: changing price changed the notional associated with the same base size. A cash budget also needed conversion into base quantity before comparison with the published step. Treating a quote amount as a base amount changed the order's economic meaning, even if both numbers used fixed-point encoding.
Fixed-Point Values and Order Direction
Fixed-point encoding represented quantities and prices as scaled integers. The historical SDK used x18 conversions, while API response models carried many numerical fields as strings.
Scale Before Comparison
In x18 representation, a human-readable value equaled its encoded integer divided by 10 18 . Comparisons needed a consistent scale. Comparing an encoded threshold with an unscaled quantity could produce an enormous mismatch without any change to the intended trade. The lack of an x18 suffix on a field wasn't sufficient evidence of its unit.
Direction and Magnitude
A positive order amount represented a buy or long direction; a negative amount represented a sell or short direction. Size comparisons used the absolute magnitude. Removing a minus sign changed the trade's direction, even when its magnitude stayed unchanged.
Exact Arithmetic
Decimal formatting didn't guarantee increment alignment. An integer remainder check could establish whether an encoded magnitude was divisible by the encoded step, provided both used the same scale. Parsing the published strings directly preserved their exact values. Converting large integers through a floating-point number could lose precision before the comparison even began.
Why Could an Increment-Aligned Order Still Fail?
An increment-aligned amount could still fail a threshold check or exceed the account's permitted order size. The max_order_size query was specific to a sender, product, price, and direction. Its optional spot_leverage setting affected whether borrowing entered the calculation. Account capacity therefore depended on the order being considered. A product's minimum didn't expand that capacity. Where no grid-aligned amount satisfied the applicable minimum and account limit, increasing the request didn't resolve the conflict.
Signed request validity also remained separate from market sizing. The Python SDK's placement request required a nonce and signature, and the response could carry an error and error_code. A size-related correction addressed one cause, not every possible rejection. Repeatedly increasing quantity could alter exposure while leaving an unrelated request error intact.
Price Ticks and Amount Rounding
Price ticks constrained price independently of quantity increments. The price_increment_x18 field described that grid; adjusting price didn't change size_increment. Rounding the quantity's magnitude downward could move a request below its applicable threshold, while rounding upward increased the requested trade quantity. A client therefore needed to consider the rounded quantity's meaning as well as its divisibility. The historical SDK's round_x18 utility used a remainder operation that, with a positive increment, rounded down to the increment grid. For a negative sell amount, that could increase the quantity's magnitude. Formatting a price or amount to a chosen decimal count wasn't an equivalent check.
Minimum-Size Effects on Taker Fees
The exchange contract included minimum-size metering in its taker-fee calculation. On the first match, the calculation introduced a quote fee basis derived from the market minimum and that match's execution price. Once cumulative matched quantity exceeded that minimum, the excess contributed further quote value. The fee rate then affected the charge; min_size by itself wasn't a fixed monetary fee. Maker-side fee metering used the matched quote amount, so the same minimum-size explanation couldn't be applied indiscriminately to both execution roles.
A taker fill could change exposure by a small amount while its fee calculation still reflected the market minimum.
Partial Fills and Remaining Quantity
Order records separated the submitted amount from unfilled_amount. Matching could consume part of an order, leaving a remainder with a different magnitude from the original request. The initial minimum-size setting couldn't establish how much had executed. The original quantity, remaining quantity, and recorded matches preserved the distinction between a sizing rule and an actual fill.
A remainder also wasn't a fresh order. Its size didn't establish whether the same quantity would qualify for a new placement. Cancellation or expiry could remove an open remainder without undoing any quantity already matched.
Could a Single Minimum Apply to Every Market?
A single minimum couldn't replace product-specific settings; the same quantity could have different implications in different markets. Minimum-size reductions during Vertex's operation were not uniform across markets. Each parameter also had a historical time scope. A saved configuration described its own period, not every earlier trading period. Neither a shared underlying asset nor a familiar symbol established matching rules for another product. Spot and perpetual records remained distinct inputs when interpreting old integrations.
API Queries for Sizing and Order Records
API queries supplied different information for sizing and reconciliation. Symbols and All Products exposed market metadata, whereas Max Order Size described conditional account capacity. The Order query concerned an individual order. The appropriate query depended on whether the missing information was a market parameter, a capacity limit, or an order state.
| Historical Query | Returned Information | Scope of the Answer |
|---|---|---|
symbols
|
Product identifiers and market sizing fields | Market metadata; didn't establish account capacity |
all_products
|
Spot and perpetual products with book_info
|
Product configuration and state; didn't confirm an order fill |
max_order_size
|
Account-specific maximum quantity | Conditional on sender, price, direction, and borrowing setting |
order
|
Original and unfilled order amounts | One product and digest; didn't define market-wide minimums |
Historical Parameters After Trading Closure
Vertex's trading closed in July 2025, so its earlier size parameters belong to the former exchange's operating history. They remain useful for interpreting saved orders and understanding an old API client's decisions. They don't establish available liquidity, present trading capacity, or acceptance on another platform. Reusing an integration elsewhere requires that venue's own market units and quantity rules. A familiar field name doesn't carry the earlier threshold with it, and preserving old code doesn't preserve an operational matching service.
Details worth knowing about Vertex
Was min_size Also a Minimum Deposit Requirement?
The min_size field described market sizing, not a wallet deposit requirement. It belonged to the market's book information alongside quantity and price increments. Deposit or withdrawal rules concerned different operations, so a market minimum couldn't establish the amount needed to fund an account or the amount available to withdraw.
Could Spot and Perpetual Markets Automatically Share One Set of Size Settings?
Spot and perpetual products had separate market records, even when they concerned the same underlying asset. Their minimums or increments could coincide, but an integration couldn't establish that relationship from the shared asset name alone. The product identifier selected the relevant market configuration and preserved the distinction between spot quantity and perpetual exposure.
Did the Historical Python SDK's market-order Helper Round the Submitted Quantity?
The historical Python SDK's market-order helper forwarded the supplied quantity when constructing its order. It selected fill-or-kill (FOK) handling and derived a tick-rounded price. Calling that helper therefore didn't itself transform an off-grid amount into an increment-aligned amount; price preparation and quantity sizing remained different operations.
How Did spot_leverage Affect the maximum-size Query?
Setting spot_leverage to false made the documented maximum-size calculation exclude borrowing. That affected the account-capacity calculation without changing the product's published minimum or quantity increment. The query also used the sender, product, price, and direction, so its returned maximum applied to those inputs rather than every possible order.
Could a client-assigned Order ID Prove That Size Validation Succeeded?
A client-assigned order ID was a correlation identifier, not proof that quantity validation succeeded. The optional ID could identify the client's request in returned information or subscription events. The request's response status and error fields described acceptance or failure; the ID alone didn't establish either outcome.
Were Quantity Increments Determined by Token Contract Decimals?
Token contract decimals didn't replace the market's published size_increment. Decimal precision described how token quantities were represented, while the market increment described the permitted trading step. The historical API also used its own fixed-point amount encoding, so importing a token's decimal count wasn't enough to reconstruct the order-size grid.
What Changed When an Order Amount Was Edited After Signing?
Editing the amount changed the signed order message, so the previous signature didn't authorize the revised quantity. The historical EIP-712 order message included amount alongside price, sender, expiration, and nonce. A rounding adjustment therefore changed signed trade instructions, even if its purpose was only to satisfy the market's quantity increment.
Did a reduce-only Flag Specify a Different Minimum Order Size?
The reduce-only flag didn't specify a separate min_size or size_increment. In the historical SDK, it restricted an order to reducing existing exposure and was supported with immediate-or-cancel (IOC) and fill-or-kill (FOK) handling. Those semantics alone didn't establish an exemption from the applicable market sizing rules.