TraderSDKdocs

More

FAQ#

Is it on crates.io or PyPI?#

Not yet. Use the git dependency for Rust and build the Python module with maturin. See Installation.

Is it production ready?#

It is pre-1.0. The trait is stable in shape, but the API can still change between minor releases, and adapter coverage is uneven. Test on testnet, pin a commit, and read the adapter's source for anything that handles money. See Status.

Which exchanges have a testnet?#

The testnet flag selects a testnet or demo endpoint on the exchanges that define one in the adapter source: Binance, Bybit, OKX (demo trading), Kraken (futures demo), Phemex, Deribit, BingX and Hyperliquid. See the matrix.

Why does my order come back Ok but nothing happened?#

Check result.success. Rejections are returned as Ok(OrderResult { success: false, error: Some(..) }). See Errors.

Why "not implemented for "?#

You called an optional method the adapter does not override. Check capabilities first.

Capabilities say unknown. Does the exchange support it?#

unknown means the adapter has not declared it. The method may work or may not. Try it on testnet.

Can I use both spot and perpetuals on one exchange?#

Yes, create one trader per market type. See Symbols and markets.

How do I handle rate limits?#

Do not assume the adapters throttle requests for you. Use tradersdk-utils (rate limiting, retry, circuit breaker) and tradersdk-proxy (proxy rotation). See Utilities.

How is usdt_amount interpreted in fast entry?#

See Fast entry. The sizing rule is stated there per adapter.

Can I add an exchange that is missing?#

Yes. Implement ExchangeTrader. See Adding an exchange. Pull requests are welcome.

Is there a REST/WebSocket API server?#

tradersdk-api is an HTTP API for exercising adapters, behind the api feature.

What is the license?#

MIT.

Edit this page on GitHub ↗