秋田预测市场 · Discord 审计

API 是否支持按美元金额下单功能

2026-06-27 · Predict · 1 条相关讨论

Musa 2026-06-27 19:45:50

Hi Predict devs, I have a question regarding order placement through the API. Is there currently a way to submit a market-taking order based on a fixed dollar amount instead of specifying the exact size? For example, I would like to buy $100 worth of a contract regardless of the current price, and have the server automatically calculate the appropriate size based on the available order book liquidity. Alternatively, is there a parameter that allows me to specify a maximum spend amount, with the server determining the executable size from the current best available prices? This would be very useful for automated trading strategies where position sizing is defined in USD rather than contract quantity. Thank you.

Hi Predict devs, I have a question regarding order placement through the API. Is there currently a way to submit a market-taking order based on a fixed dollar amount instead of specifying the exact size? For example, I would like to buy $100 worth of a contract regardless of the current price, and have the server automatically calculate the appropriate size based on the available order book liquidity. Alternatively, is there a parameter that allows me to specify a maximum spend amount, with the server determining the executable size from the current best available prices? This would be very useful for automated trading strategies where position sizing is defined in USD rather than contract quantity. Thank you.