arrow-left

Only this pageAll pages
gitbookPowered by GitBook
1 of 13

Solaya

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Introduction to Solaya

Solaya is an automated trading platform on the Solana blockchain that grants you control over sophisticated on-chain trading agents. Each agent follows a specific strategy, handling real-time market data and executing trades autonomously.

Getting Started

Getting started with Solaya is quick and straightforward. Follow these steps:

hashtag
Step 1: Connect Your Wallet

  • Use a Solana-compatible wallet, such as Phantom, to connect to the platform.

  • Ensure your wallet is funded with the necessary tokens to deploy strategies and cover transaction fees.

hashtag
Step 2: Select a Strategy

  • Review the list of available strategies tailored for various trading goals.

  • Select the strategy you want to use.

hashtag
Step 3: Select a Token and Deploy an Agent

  • Type the name or contract address of the token you want to trade.

  • Select the token from the dropdown.

  • Fill in the amounts of each token you wish to deposit Note: Agent creation requires at least some of each token.

Once you’ve selected a strategy and defined parameters, deploy the strategy on-chain.
  • Solaya will create a vault for you, and the automated trading will begin immediately.

  • Trading Strategies

    Solaya offers a variety of strategies, each tailored to different market conditions and user preferences. Although these strategies automate your trades, outcomes largely depend on your chosen tokens and overall market performance. It is important to remember that no automation can eliminate all risk; a substantial decline in asset value may lead to a reduction in your vault’s balance.

    • Grid Trading

    • Mean Reversion

    • Quickfire

    • Countertrading

    Mean Reversion

    Mean reversion works on the idea that prices tend to return to their average over time. When the price moves far away from its average, this creates a trading opportunity. The further the price strays, the larger the position taken, expecting the price to eventually bounce back toward the average.

    hashtag
    Settings

    Timeframe: The period used to calculate the average price. A shorter timeframe reacts quickly to recent price changes but may trigger more false signals. A longer timeframe is more stable but slower to respond to market shifts.

    Deviation Range (Min/Max): Defines how far the price must move from its average before trades are triggered. The minimum is the smallest deviation needed to start trading; the maximum is the largest deviation that will be traded. Prices outside this range won't trigger new positions.

    Position Size Range: The percentage of your capital allocated to each trade, scaled based on how far the price has deviated. Small deviations use the lower end of your range; large deviations use the upper end. This means bigger bets when the opportunity appears stronger.

    Note: Positions exit when the price returns to the average. However, if the average moves significantly in the direction of your position (beyond your deviation range), trades may exit at a loss as the new average is recalculated.

    Quickfire

    Quick Fire is for manual trade execution. When you trigger a buy or sell command, it executes your set order size repeatedly up to your consecutive order limit, with a delay between each order.

    hashtag
    Settings

    Default Buy Order Quantity: Amount to buy each time you execute a BUY command.

    Default Sell Order Quantity: Amount to sell each time you execute a SELL command.

    Consecutive Order Limit: Maximum number of orders executed in a row from a single command.

    Consecutive Order Delay (ms): Time gap between each order in milliseconds.

    Note: Large orders may have significant impact on liquidity pools, resulting in worse execution prices.

    Management Dashboard

    The Management Dashboard serves as your central console for monitoring and controlling vaults and agents:

    hashtag
    Monitor Your Agents

    • See an overview of all your active trading bots.

    • Monitor key performance metrics in real-time.

    • Check real-time P&L under “Analytics”

    hashtag
    Analytics

    • Track your agent's activity and profitability alongside live token price movements and market trends.

    • Performance: Agent performance compared to token

    • P&L: Actual total profit/loss

    hashtag
    Manage Agents

    • Select individual agents to view their detailed performance.

    • Deposit additional capital to enhance trading capacity.

    • Stop an agent completely if you wish to halt its operations.

    hashtag
    Manual Close Vault

    • “Vault address” → Wallet address where your agent token pair is.

    • “Quote token mint” → Token contract address (Not SOL)

    hashtag
    Keep Control

    The dashboard ensures you’re always in control of your strategies, with the flexibility to adjust as market conditions change.

    Token Prfm: Token performance (since the agent has been created)

    Grid Trading

    Grid trading places buy and sell orders at regular intervals across a price range you choose, making profit as the price moves up and down. Your money is split equally across all grid levels. When the price drops, buy orders trigger to collect more of the base asset. When the price rises, sell orders trigger to convert back to the quote asset. At the lowest price, you'll hold the most base asset; at the highest price, you'll hold the most quote asset.

    hashtag
    Settings

    Upper Price Limit: The highest price where the grid works. Set it too high and your money gets spread too thin; too low and you might miss out on profits when price rises.

    Lower Price Limit: The lowest price where the grid works. Set it too low and your money isn't used efficiently; too high and you might miss buying opportunities when price drops.

    Number of Grid Lines: How many trading levels you have in your range. More lines mean closer spacing and more trades (catching smaller price moves but paying more fees). Fewer lines mean wider spacing with less trading.

    Note: Trade levels are spaced slightly wider than grid spacing to account for slippage and liquidity pool impact.

    Vision

    hashtag
    Community Gallery

    Visit the Community Gallery to see trading agents created by other users. Compare performance, share insights, and broaden your knowledge through collective exploration.

    Risk Management & Technical Considerations

    hashtag
    Minimum Trade Size

    Agents enforce a minimum trade amount to prevent scenarios where fees might outweigh returns.

    hashtag
    Exposure Controls

    Certain strategies limit position sizes or utilise rebalancing logic to moderate risk, and cushion extreme fluctuations. Review each strategy’s details to select one that aligns with your risk tolerance.

    hashtag
    Network Congestion Handling

    All trades are routed through Jito to improve confirmation rates during periods of network congestion. Should a transaction fail, the agent reassesses and retries if market conditions remain favourable.

    hashtag
    Slippage Threshold

    Agents define a maximum slippage limit to reduce the risk of orders filling at unfavourable prices. While Jupiter’s aggregator generally secures tight pricing, some slippage risk persists.

    hashtag
    Network Outages

    Trading is automatically paused if the Solana network goes offline. Your agent will resume operations once the network is stable again, with your funds remaining secure in your vault.

    Architecture

    Solaya’s infrastructure is designed for rapid data processing, secure trade execution, and comprehensive analytics, incorporating the latest enhancements to deliver a superior trading experience. The current architecture integrates the following key components:

    1. Real-Time On-Chain Data Collection

      Multiple Solana RPC nodes capture on-chain transactions, updates, and block information. Data is streamed directly in real time to ensure that trading agents operate on the most current market information. Processed data is then forwarded to our centralised database where it is indexed for prices, balances, and timestamps, supporting detailed time series analysis, robust analytics, and thorough backtesting.

    2. Data Distribution and Utilisation

      Processed market data is channelled into two primary streams: one dedicated to end-user analytics and another providing high-quality market information for trading bots. This dual approach enables traders to access clear performance metrics while ensuring that bots execute strategies using optimised, real-time data.

    3. Trading Agent Operations and Decision-Making

      Trading agents continuously monitor market data and vault balances, utilising custom strategy configurations to identify optimal trading opportunities. When conditions are met, agents initiate trades using optimised routes sourced from Jupiter. Each transaction is executed atomically, reinforcing both security and operational integrity.

    4. Secure Vault System and Atomic Swaps

      Each strategy operates through a dedicated on-chain vault, which functions as a strategy-specific trading wallet. During trade execution, funds are temporarily transferred from the vault into a dedicated, single-use wallet. This intermediary wallet facilitates an atomic on-chain swap—conducted securely before funds are redeposited into the vault. Although this temporary step is currently necessary due to the platform not holding the vault’s private key, plans are underway to integrate swap functionality directly into the vault.

    5. Transaction Fee Management and Comprehensive Logging

      Solana gas fees are deducted directly from swap transactions, with a nominal trading fee applied to support platform operations. Every vault transaction, whether successful or cancelled, is permanently recorded on-chain, providing an auditable history that supports performance evaluation and risk management.

    Countertrading

    Countertrading watches for sudden price spikes or drops within your detection window. When the price change exceeds your threshold, it opens a position betting against the move—buying after sharp drops or selling after sharp spikes.

    hashtag
    Settings

    Detection Window (minutes): The time period used to measure price movements. A shorter window catches quick spikes but may react to normal volatility. A longer window focuses on more significant moves but responds slower.

    Price Change Threshold (%): The minimum price change needed to trigger a trade. A lower threshold means more frequent trades on smaller moves. A higher threshold waits for more extreme movements.

    Position Size (% of capital): How much of your capital is used for each countertrade. Larger positions mean bigger potential profits or losses per signal.

    Note: Positions don't have a fixed exit point. Instead, exposure is reduced when aggressive price movements occur in the opposite direction, triggering countertrades that offset existing positions.

    How a Solaya Trading Agent Operates

    hashtag
    Agent & Vault Creation

    When you create a trading agent, Solaya automatically arranges a secure on-chain vault for your assets through the following process:

    1. Vault Initialisation & Creation

      • A single on-chain transaction from your wallet creates the vault, transferring assets directly into it and deducting 0.02 SOL to cover on-chain vault operational costs such as initial setup and swap fees.

      • In the same transaction, the vault is assigned a unique ID derived from the agent’s public key, as generated by our backend.

      • Ownership of the vault remains solely with you; only you can withdraw funds, while the agent is authorised solely to initiate swaps.

    2. Initial Deposit & Rebalancing

      • Upon vault creation, you deposit two tokens—for instance, SOLAYA and SOL—in any ratio.

      • If your token ratio doesn't match what's needed for your configuration, Solaya automatically rebalances by trading one token for the other. The target ratio depends on your chosen strategy and settings.

    3. Vault Activation

      • Once the vault is funded and on-chain confirmation is complete, our infrastructure promptly detects the new vault and notifies our execution servers that the vault is active and ready for trading.

      • The agent immediately begins tracking real-time market data and is prepared to execute trades based on your chosen strategy.

    hashtag
    Strategy Execution Flow

    Every trading agent utilises up-to-date market information—covering token prices and account balances—to decide when to buy or sell. If the agent identifies a promising trading opportunity:

    1. Trade Routing

      The agent secures the most favourable trade route from Jupiter, a Solana-based liquidity aggregator that accesses multiple DEXes for liquidity.

    2. Atomic On-Chain Swap

      The trade occurs within one atomic transaction:

    hashtag
    Stop Loss (Currently In Development)

    A stop loss feature is currently in development that will attempt to close positions once prices falls below a user-defined threshold. Although this won't guarantee protection, it should help to reduce the likelihood of unexpected losses. Further details will be provided once development has completed.

    Funds temporarily leave your vault and are sent to a specially assigned, single-use wallet created exclusively for the swap. A new temporary wallet is generated for each swap, which provides an extra layer of security as the agent or any unauthorised party cannot simply withdraw funds.

  • The swap finalises on-chain.

  • Funds, including any newly acquired assets or remaining tokens, are returned directly to the vault.

  • Transaction Fee Handling

    • Solana gas fees are deducted directly from the swap to keep the agent operational for subsequent trades.

    • A small trading fee is taken from the swap’s proceeds to support the platform.

  • Ongoing Monitoring

    • Vault balances update after each trade to reflect gains, losses, and the current allocation of tokens.

    • The agent remains active, continuously scanning for the next opportunity.

  • Frequently Asked Questions (FAQ)

    hashtag
    Setup, Security and Integration

    How does the Trading Agent interact with my Solana wallet?

    A single on-chain approval creates a dedicated vault. Solaya never requires access to your private keys; the agent only manages authorised trades from your vault.

    Who holds my private keys?

    Your private keys remain under your sole control. The platform neither requests nor stores them at any stage.

    Which wallets are compatible with Solaya?

    Any wallet that supports Solana—such as Phantom or Solflare—works seamlessly with our platform.

    How do I set everything up?

    1. Connect your wallet to Solaya.

    2. Ensure you have 0.02 SOL to cover the vault setup in addition to your initial trade capital.

    3. Activate your subscription by holding the requisite number of Solaya tokens

    Do I need to keep my wallet connected?

    Once the agent is deployed, it operates autonomously on-chain. You may reconnect at any time to monitor performance or adjust your funds.

    Can I connect more than one wallet?

    Multiple wallets can each create their own vaults and trading agents, subject to the applicable fees and subscription requirements.

    Is there a mobile version of Solaya?

    Solaya is fully accessible via mobile browsers, provided you use a compatible wallet application.

    How do I pause or shut down an agent?

    Use the management dashboard to pause an agent. This action halts trading while leaving your funds secure within your vault.

    hashtag
    Trading Operations and Performance

    Which trading pairs are currently supported?

    The platform presently handles SOL-based pairs, with plans to support additional tokens in future updates.

    How does the AI determine trading opportunities?

    Trading decisions follow the logic of your selected strategy, whether it relies on mean reversion, grid-based orders, or price discovery techniques.

    Which strategies are available?

    Users may choose from AI Market Maker, Smart Grid Agent, and Price Explorer strategies. A marketplace for custom strategies is planned for a later release.

    How frequently do agents trade?

    Trading frequency depends on the prevailing market conditions, the chosen strategy, and user-defined settings. Volatile markets may prompt more frequent transactions.

    How do agents manage slippage?

    Agents adhere to a preset maximum slippage limit. Should the slippage exceed this threshold, the trade is cancelled to avoid unfavourable execution.

    Which data feeds inform the agent’s decisions?

    Real-time market information from Solana RPC nodes—including prices, volumes, and liquidity metrics—guides the agent’s actions.

    Is there an average performance figure?

    Performance varies with market conditions, strategy selection, and individual settings. Historical returns do not guarantee future outcomes.

    How is performance measured?

    Performance is assessed by comparing your vault’s current balance with the hypothetical balance if no trading had taken place.

    Can I review historical trading decisions?

    Historical data is currently accessible via external platforms, with plans to integrate a native feature in future updates.

    How much SOL should I start with?

    A minimum of 1 SOL is recommended to provide sufficient capital for effective operation, although smaller amounts may sometimes suffice.

    hashtag
    Risk Management and Emergency Procedures

    What risk management features are included?

    Each strategy incorporates minimum trade sizes and, in some instances, exposure limits. A stop loss feature is currently under development to further mitigate risk.

    How are high network congestion scenarios managed?

    During periods of congestion, transactions are routed via Jito to improve confirmation rates. If a trade fails, the agent reattempts the transaction when market conditions remain favourable.

    What happens during a network outage?

    Trading automatically pauses when the Solana network goes offline, ensuring your funds remain secure until normal operations resume.

    How does the agent handle failed transactions?

    Should a transaction fail, the agent reassesses current conditions and will initiate a new transaction if the criteria remain met. Otherwise, it awaits the next trading opportunity.

    Are there any current constraints?

    Present limitations include support for SOL-based pairs only, automatic rebalancing to a 1:1 ratio on deposit, and the pending integration of the stop loss feature.

    Which market conditions can adversely affect performance?

    Extreme volatility, sudden market trends, low liquidity and abrupt price swings may challenge certain strategies, potentially leading to increased fees or drawdowns.

    Fund the vault; rebalancing occurs if the tokens you deposit are not in a 1:1 ratio.
  • Deploy the agent, which commences trading once the deposit is confirmed on-chain.