For the complete documentation index, see llms.txt. This page is also available as Markdown.

Market Make

You can market make in Turbine in two ways:

  • using orders with negative spread

  • using orders with explicit limit price

See Trade Programmatically for a guide on how to place orders programmatically at scale.

Negative spread orders

Turbine accepts orders with negative spread.

Negative spread means you are willing to trade only at a better price than current market mid-price.

Use this option to be the counterparty to takers that want to trade faster. If your spread is better than what DEXes and Turbine liquidity offer, taker orders match against yours.

A large order with negative spread can settle partially against smaller orders with positive spread.

Note that Turbine also tries to settle your order against DEX liquidity. The probability of finding such a settlement is low, but not zero.

Explicit limit price

Every order in Turbine has a limit price, but usually the spread setting is stricter.

If you set a very wide spread but a strict limit price, you effectively turn the spread order into a classic limit order.

The web UI does not support setting the limit price precisely, but you can do it programmatically: Trade Programmatically.

Set spreadCurve to spreads.constant(9999) (99.99%, maximum possible value) and minBuyAmount to a value such that minBuyAmount = sellAmount * yourLimitPrice.

You can submit multiple orders for the same pair at different limit prices, representing different price levels.

We recommend an order lifetime of at least 24 seconds (minimum is 12 seconds, one Ethereum block). Your order must first pass the Speedbump, then get included in a batch in the next block.

Rate limiting

Current rate limits are described in Rate Limiting.

If you need higher limits, reach out to tanay_j on Telegram.

Last updated

Was this helpful?