?> QuantXpress – Deliver high performance automated trading and connectivity solutions



Strategy Publish Parameter (Variable)


Strategy sometimes needs to publish some important indicator value to the trader for information purpose. The server hosted strategy can define some variables marked with StrategyPublishParameter attribute. The runtime value of these marked variables is published to the BlitzTrader terminal in their respective strategy instance view as a snapshot.
We sometime also can refer Strategy publish Parameter as Output variable.
 
[StrategyPublishParameter("UnHedgedBuyOptionQuantity", 
                           DefaultValue = 0, 
                           Description = "UnHedged Buy Option Quantity.")]
private double UnhedgedOptionBuyQuantity = 0;

[StrategyPublishParameter("UnHedgedSellOptionQuantity",
                           DefaultValue = 0, 
                           Description = "UnHedged Sell Option Quantity.")]
private double UnhedgedOptionSellQuantity = 0;