Strategy Input Parameter (Variable)

Dec 30 2018
  • Strategy Input Parameter (Variable)

  • Strategy implementation class need to expose user input variables which is necessary to control the behaviour of running strategy from BlitzTrader terminal. StrategyParameter attribute is applied over any strategy variable definition to mark that variable is of type input parameter. StrategyParameter attribute allow to specify characteristic such as: Name of the variable: Unique name identifier of variable Default value: Default value set during the initialization Description: Detail description of the variable CategoryName: User defined category name DisplayName: Diaplay name of the variable

  • [StrategyParameter("MaxBuyPositionInLots",
                        DefaultValue = 0,
                        Description = "Maximum Buy Position.",
                        CategoryName = "Buy IV", DisplayName = "Max Position (Lots)")]
    private int MaxBuyPositionInLot = 0;
    [StrategyParameter("BuyBiddingAtTargetIV",
                        DefaultValue = 0,
                        Description = " Bidding on target IV instead on best bid(If available).",
                        CategoryName = "Buy IV",
                        DisplayName = " Bidding @ Target IV ")]
    bool BuyBiddingAtTargetIV = false;
     
 
  • Strategy Input Parameter (Variable)

  • Strategy implementation class need to expose user input variables which is necessary to control the behaviour of running strategy from BlitzTrader terminal.
    StrategyParameter attribute is applied over any strategy variable definition to mark that variable is of type input parameter. StrategyParameter attribute allow to specify characteristic such as:
    Name of the variable: Unique name identifier of variable
    Default value: Default value set during the initialization
    Description: Detail description of the variable
    CategoryName: User defined category name
    DisplayName: Diaplay name of the variable

  • [StrategyParameter("MaxBuyPositionInLots",
                        DefaultValue = 0,
                        Description = "Maximum Buy Position.",
                        CategoryName = "Buy IV", DisplayName = "Max Position (Lots)")]
    private int MaxBuyPositionInLot = 0;
    [StrategyParameter("BuyBiddingAtTargetIV",
                        DefaultValue = 0,
                        Description = " Bidding on target IV instead on best bid(If available).",
                        CategoryName = "Buy IV",
                        DisplayName = " Bidding @ Target IV ")]
    bool BuyBiddingAtTargetIV = false;

     

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