General Strategy Indication

Dec 30 2018
  • General Strategy Indication

  • It is evident that most of the strategy order initiating decision is triggered from the market data event. Sometime it is required that strategy need to receive the real-time market data even if it is in stopped mode. This may be to cache and calculate some technical indicator value. In order to receive the market data event during the strategy stop mode, override a method RequiredToSendMarketDataInStrategyStopMode and return true.

  • public virtual bool RequiredToSendMarketDataInStrategyStopMode
    {
            get { return true; }
    }
    In order to publish output parameter during the strategy stop mode, override a method RequiredToSendMarketDataInStrategyStopMode and return true.
  • public virtual bool RequiredToPublishParameterInStrategyStopMode
    {
        get { return true; }
    }
    The trading terminal has a default access of server based command called Refresh. Here the strategy has an opportunity to send some important state message to trading terminal based on user expliciut refresh command invocation. Strategy will receive following callback method
  • protected override void OnStrategyRefresh()
    {
        string infoText = GetStrategyCurrentStateText();
        TraceLogInfo(infoText);
    }
     
 
  • General Strategy Indication

  • It is evident that most of the strategy order initiating decision is triggered from the market data event. Sometime it is required that strategy need to receive the real-time market data even if it is in stopped mode. This may be to cache and calculate some technical indicator value. In order to receive the market data event during the strategy stop mode, override a method RequiredToSendMarketDataInStrategyStopMode and return true.

  • public virtual bool RequiredToSendMarketDataInStrategyStopMode
    {
            get { return true; }
    }

    In order to publish output parameter during the strategy stop mode, override a method RequiredToSendMarketDataInStrategyStopMode and return true.

  • public virtual bool RequiredToPublishParameterInStrategyStopMode
    {
        get { return true; }
    }

    The trading terminal has a default access of server based command called Refresh. Here the strategy has an opportunity to send some important state message to trading terminal based on user expliciut refresh command invocation. Strategy will receive following callback method

  • protected override void OnStrategyRefresh()
    {
        string infoText = GetStrategyCurrentStateText();
        TraceLogInfo(infoText);
    }

     

Contact US

Let us help you to achieve your goals!

     

     

     

     

     

    By providing Symphony with your contact information Symphony will process your personal data for the purpose of providing you with the information you have requested. For more information regarding Symphony's processing of your personal data, please read Symphony's Privacy Notice here.


    • Get latest updates from Us