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

Instant Trading for Liquidity Providers

SYMMIO is revolutionizing decentralized derivatives trading with the introduction of Instant Trading. This feature significantly improves the trading experience by drastically reducing trade execution times and providing immediate feedback to users. This document provides a thorough overview of Instant Trading, its benefits, how it works, and guidance on implementation for developers and solvers.

What is Instant Trading?

Instant Trading is a feature that allows traders to execute trades almost instantaneously on the SYMMIO platform. By delegating certain functions to trusted solvers, users can open and close positions without the need for signing each transaction individually. This results in trade execution and price lock times of under one second, closely matching the responsiveness of centralized exchanges.

Why Implement Instant Trading?

Speed and Efficiency

  • Reduced Execution Time: Achieve trade execution and price lock times under 1000 milliseconds.

  • Faster On-Chain Settlement: Transactions settle on-chain within 5–30 seconds, depending on the blockchain network.

  • Enhanced Trading Strategies: Enables strategies like scalp trading due to quicker price lock-in times.

Improved User Experience

  • Immediate Feedback: Users receive trade confirmations almost instantly, significantly improving the trading experience.

  • Reduced Waiting Times: Eliminates the previous wait of 20–60 seconds for price lock-in, offering a 50–100x improvement.

  • Competitive Edge: Positions SYMMIO as a leader in decentralized trading by matching the speed of centralized exchanges.

How Does Instant Trading Work?

Instant Trading leverages delegated access and session management to enable solvers to act on behalf of users without requiring individual signatures for each transaction. Here's how it operates:

The user's wallet signs five transactions before you can trade. They all come from the owner EOA. Three of them happen exactly once per sub-account; the other two are repeated each time you rotate the session key (typically daily).

The list, in the order you should run them:

  1. createSubAccounts: make the sub-account

  2. depositForAccount: fund it with collateral

  3. bindToPartyB: pin the sub-account to a hedger

  4. grantDelegation: authorize their session key

  5. grantDelegation: authorize the solver's TPSL bot (optional)

Adopting the Instant API Template

RASA provides a standardized and efficient approach to handling instant actions: solvers are encouraged to follow this implementation for Instant Trading.

Frontend Builders and Implementation Flexibility

While there are minimum requirements, frontends have the flexibility to implement the feature in a way that best suits their users.

Minimum Requirements

  • Function Delegation: Implement the delegation of necessary functions to solvers as described.

  • Authentication Flow: Integrate the authentication and session management processes.

  • API Integration: Connect with solver APIs for instant actions, ensuring secure communication and token handling.

Last updated