Strategy_ Class

public class Strategy_
This language is not supported or no code example is available.
public ref class Strategy_ 
This language is not supported or no code example is available.
public class Strategy_
This language is not supported or no code example is available.
Methods
 
Name Description
Public method Add(Instrument, IDataProvider)
Public method Add(Strategy_)
Public method Add(InstrumentList)
Public method Add(int)
Public method Add(string)
Public method Add(string[])
Public method AddExchangeReminder(DateTime, object)
Public method AddReminder(DateTime, object)
Public method AddStop(Stop_)
Public method Buy(IExecutionProvider, Instrument, OrderType, double, double, double, string)
Public method Buy(IExecutionProvider, Instrument, double, string)
Public method Buy(Instrument, OrderType, double, double, double, string)
Public method Buy(Instrument, double, string)
Public method Buy(short, Instrument, OrderType, double, double, double, string)
Public method Buy(short, Instrument, double, string)
Public method BuyLimit(IExecutionProvider, Instrument, double, double, string)
Public method BuyLimit(Instrument, double, double, string)
Public method BuyLimit(short, Instrument, double, double, string)
Public method BuyLimitOrder(Instrument, double, double, string)
Public method BuyOrder(Instrument, double, string)
Public method BuyPegged(IExecutionProvider, Instrument, double, double, string)
Public method BuyPegged(Instrument, double, double, string)
Public method BuyPegged(short, Instrument, double, double, string)
Public method BuyStop(IExecutionProvider, Instrument, double, double, string)
Public method BuyStop(Instrument, double, double, string)
Public method BuyStop(short, Instrument, double, double, string)
Public method BuyStopLimit(IExecutionProvider, Instrument, double, double, double, string)
Public method BuyStopLimit(Instrument, double, double, double, string)
Public method BuyStopLimit(short, Instrument, double, double, double, string)
Public method BuyStopLimitOrder(Instrument, double, double, double, string)
Public method BuyStopOrder(Instrument, double, double, string)
Public method Cancel(Order, string)
Public method CancelAll(Instrument, OrderSide, string)
Public method CancelAll(Instrument, string)
Public method CancelAll(OrderSide, string)
Public method CancelAll(string)
Public method Deposit(DateTime, double, byte, string, bool) Deposits specified amount of currency to portfolio account of this strategy.
Public method Deposit(double, byte, string, bool) Deposits specified amount of currency to portfolio account of this strategy at the current DateTime.
Public method ExecuteMethod(string)
Public method GetParameter(string)
Public method GetParameters()
Public method GetRootStrategy()
Public method GetStrategy(string)
Public method Group(string, string, Color)
Public method Group(string, string, double)
Public method Group(string, string, int)
Public method Group(string, string, string)
Public method HasLongPosition(Instrument)
Public method HasLongPosition(Instrument, double)
Public method HasPosition(Instrument)
Public method HasPosition(Instrument, PositionSide, double)
Public method HasShortPosition(Instrument)
Public method HasShortPosition(Instrument, double)
Public method Init()
Public method Log(DateTime, double, Group) Obsolete.
Public method Log(DateTime, double, int) Obsolete.
Public method Log(DateTime, double, string) Obsolete.
Public method Log(DateTime, string, Group) Obsolete.
Public method Log(DateTime, string, int) Obsolete.
Public method Log(DateTime, string, string) Obsolete.
Public method Log(DataObject, Group, Nullable<DateTime>)
Public method Log(DataObject, int, Nullable<DateTime>)
Public method Log(DataObject, string, Nullable<DateTime>)
Public method Log(Event, Group, Nullable<DateTime>)
Public method Log(Event, int, Nullable<DateTime>)
Public method Log(Event, string, Nullable<DateTime>)
Public method Log(PortfolioStatisticsResult)
Public method Log(double, Group, Nullable<DateTime>)
Public method Log(double, int, Nullable<DateTime>)
Public method Log(double, string, Nullable<DateTime>)
Public method Log(string, Group, Nullable<DateTime>)
Public method Log(string, int, Nullable<DateTime>)
Public method Log(string, string, Nullable<DateTime>)
Public method Objective()
Protected method OnAccountData(AccountData)
Protected method OnAccountReport(AccountReport)
Protected method OnAsk(Ask)
Protected method OnBar(Bar)
Protected method OnBarOpen(Bar)
Protected method OnBarSlice(BarSlice)
Protected method OnBid(Bid)
Protected method OnException(string, Event, Exception)
Protected method OnExchangeReminder(DateTime, object)
Protected method OnExecutionReport(ExecutionReport)
Protected method OnFill(Fill)
Protected method OnFundamental(Fundamental)
Protected method OnInstrumentAdded(Instrument, IDataProvider)
Protected method OnInstrumentRemoved(Instrument, IDataProvider)
Protected method OnLevel2(Level2Snapshot)
Protected method OnLevel2(Level2Update)
Protected method OnMetaData(MetaData)
Protected method OnNewOrder(Order)
Protected method OnNews(News)
Protected method OnOrderCancelRejected(Order)
Protected method OnOrderCancelled(Order)
Protected method OnOrderDone(Order)
Protected method OnOrderExpired(Order)
Protected method OnOrderFilled(Order)
Protected method OnOrderPartiallyFilled(Order)
Protected method OnOrderRejected(Order)
Protected method OnOrderReplaceRejected(Order)
Protected method OnOrderReplaced(Order)
Protected method OnOrderStatusChanged(Order)
Protected method OnParameterChanged(Parameter, Parameter)
Protected method OnPendingNewOrder(Order)
Protected method OnPositionChanged(Position)
Protected method OnPositionClosed(Position)
Protected method OnPositionOpened(Position)
Protected method OnPropertyChanged(OnPropertyChanged)
Protected method OnProviderConnected(Provider)
Protected method OnProviderDisconnected(Provider)
Protected method OnProviderError(ProviderError)
Protected method OnReminder(DateTime, object)
Protected method OnSendOrder(Order)
Protected method OnStopCancelled(Stop_)
Protected method OnStopExecuted(Stop_)
Protected method OnStopStatusChanged(Stop_)
Protected method OnStrategyEvent(object)
Protected method OnStrategyInit()
Protected method OnStrategyStart()
Protected method OnStrategyStop()
Protected method OnTrade(Trade)
Protected method OnTransaction(Transaction)
Protected method OnUserCommand(string)
Protected method OnUserEvent(Event)
Public method Order(Instrument, OrderType, OrderSide, double, double, double, string)
Public method Reject(Order)
Public method Remove(Instrument, IDataProvider)
Public method Remove(int)
Public method Remove(string)
Public method Replace(Order, double, double, double, string)
Public method Replace(Order, double, string)
Public method Sell(IExecutionProvider, Instrument, OrderType, double, double, double, string)
Public method Sell(IExecutionProvider, Instrument, double, string)
Public method Sell(Instrument, OrderType, double, double, double, string)
Public method Sell(Instrument, double, string)
Public method Sell(short, Instrument, OrderType, double, double, double, string)
Public method Sell(short, Instrument, double, string)
Public method SellLimit(IExecutionProvider, Instrument, double, double, string)
Public method SellLimit(Instrument, double, double, string)
Public method SellLimit(short, Instrument, double, double, string)
Public method SellLimitOrder(Instrument, double, double, string)
Public method SellOrder(Instrument, double, string)
Public method SellPegged(IExecutionProvider, Instrument, double, double, string)
Public method SellPegged(Instrument, double, double, string)
Public method SellPegged(short, Instrument, double, double, string)
Public method SellStop(IExecutionProvider, Instrument, double, double, string)
Public method SellStop(Instrument, double, double, string)
Public method SellStop(short, Instrument, double, double, string)
Public method SellStopLimit(IExecutionProvider, Instrument, double, double, double, string)
Public method SellStopLimit(Instrument, double, double, double, string)
Public method SellStopLimit(short, Instrument, double, double, double, string)
Public method SellStopLimitOrder(Instrument, double, double, double, string)
Public method SellStopOrder(Instrument, double, double, string)
Public method Send(Order)
Public method Send(Order[], Provider)
Public method SendStrategyEvent(object)
Public method SetParameter(string, object)
Public method Withdraw(DateTime, double, byte, string, bool) Withdraws specified amount of currency from portfolio account of this strategy.
Public method Withdraw(double, byte, string, bool) Withdraws specified amount of currency from portfolio account of this strategy at the current DateTime.
Top

In this article

Definition