Signals Help Center
  • About Signals
  • Getting Started
    • Tutorials
      • Your First Strategy
        • Create a New Strategy
        • Define Variables
        • Define Setup Method
        • Define Register Actions Method
        • Backtest
        • Deploy Strategy & Start Receiving Signals
    • Dashboard
    • Strategies
      • Strategy Tools and Settings
        • Editor
        • Strategy Detail
        • Backtests
          • Backtest Detail
          • Deploying a Backtest
          • Delete a Backtest
        • Deployments
          • Deployment Detail
          • Edit About, Rules & Alternative Markets
          • Undeploy an Active Deployment
          • (Un)Publish a Deployment
          • (Un)Follow a Deployment
          • Delete a Deployment
        • Followings
          • Following Detail
          • Unfollow a Deployment
          • Delete Record of Following
      • Strategies Marketplace
        • Follow a Strategy
        • Publish Strategy
      • Strategy Details
      • Strategy Metrics
        • Initial Capital
        • Initial Capital (USDT)
        • Strategy Balance
        • Strategy Balance (USDT)
        • Total Performance
        • Total Performance (USDT)
      • Strategy Types
        • Single Market Strategy
        • Multi Market Strategy
    • Account
      • Change Plan
      • Change or Reset Password
      • Change Name, Username, or E-mail
  • Framework Documentation
    • Strategy
      • Methods
        • Setup()
          • DataMarketplace
          • IndicatorsMarketplace
        • RegisterActions()
        • Orders Management
          • CancelOrder()
          • CancelAllPendingOrders()
          • EnterLong()
          • EnterLongLimit()
          • EnterShort()
          • EnterLongStop()
          • EnterShortLimit()
          • ExitLong()
          • EnterShortStop()
          • ExitLongLimit()
          • ExitShort()
          • ExitShortLimit()
          • ExitLongStop()
          • ExitShortStop()
        • Risk Management
          • SetProfitTarget()
          • SetStopLoss()
      • Properties
        • Market
        • Markets
        • PendingOrders
        • Position
        • Time
      • Types
        • IOrder
        • PendingOrder
    • Data
    • Logs
  • Knowledge Base
    • Vocabulary
      • Base currency
      • Deployment
      • Following
      • Quote currency
      • Strategy
    • Technical Indicators
      • Oscillators
        • Average Directional Index (ADX)
        • Momentum Indicator (MOM)
        • Moving Average Convergence Divergence (MACD)
        • Relative Strength Index (RSI)
        • Stochastic RSI (STOCH RSI)
      • Volatility
        • Average True Range (ATR)
        • Bollinger Bands (BB)
      • Trend Analysis
        • Exponential Moving Average (EMA)
        • Simple Moving Average (SMA)
        • Volume-weighted Moving Average (VWMA)
        • Weighted Moving Average (WMA)
      • Volume
        • Accumulation/Distribution Line (ADL)
  • Have a question?
    • FAQ
    • Ask on the forums
    • Contact us
Powered by GitBook
On this page
  • What is Single Market Strategy?
  • Works on a single asset pairing
  • How to create a SMS?
  1. Getting Started
  2. Strategies
  3. Strategy Types

Single Market Strategy

SMS is a strategy operating on a single cryptocurrency asset pair on a single crypto exchange.

PreviousStrategy TypesNextMulti Market Strategy

Last updated 5 years ago

What is Single Market Strategy?

Single Market Strategy (SMS) is a strategy, which allows you to follow and monitor movements of a single asset pairing, such as ETH/BTC. Using , you can analyze market movements and process any kind of to inform your trades of that pair. It is a very effective way of performing in-depth analysis on one pair.

You will recognize that your strategy is of a Single Market Strategy type by looking in the code and see what class your model inherits from:

public class MyStrategy : SingleMarketStrategy
{
    // Your strategy definition.
}

Works on a single asset pairing

SMS strategies allows you to select only a single market (an asset pairing on selected exchange) which your strategy will be able to access through the object.

Having selected the BTC/USDT asset pairing on Poloniex, a strategy with this code would every hour print to logs the closing time and value of the BTC/USDT pairing:

private Bars hourlyBars;

public override void Setup(DataMarketplace data, IndicatorsMarketplace indicators)
{
    hourlyBars = data.Bars(BarPeriodType.Hour, 1).WithOffset(25);
}

public override void RegisterActions()
{
    OnUpdateOf(hourlyBars).Do(() =>
    {
        Log(hourlyBars[0].CloseTime.ToString() + ": " + hourlyBars[0].Close.ToString());
    });
}

How to create a SMS?

You can follow a tutorial , which will step-by-step walk you through creation, testing and deployment of a simple SMS strategy.

Your First Strategy
indicators
data stream
DataMarketplace