FXStrategy Class

public class FXStrategy : InstrumentStrategy
This language is not supported or no code example is available.
public ref class FXStrategy : public InstrumentStrategy^
This language is not supported or no code example is available.
public class FXStrategy 
extends InstrumentStrategy
This language is not supported or no code example is available.
Name Description
Public property AccountDataManager (inherited from Strategy).
Public property Asks (inherited from Strategy).
Public property BarFactory (inherited from Strategy).
Public property Bars (inherited from Strategy).
Public property Bids (inherited from Strategy).
Public property ClientId (inherited from Strategy).
Public property Clock (inherited from Strategy).
Public property DataManager (inherited from Strategy).
Public property DataProvider (inherited from InstrumentStrategy).
Public property DataSimulator (inherited from Strategy).
Public property Enabled (inherited from Strategy).
Public property Equity (inherited from Strategy).
Public property EventManager (inherited from Strategy).
Public property ExecutionProvider (inherited from InstrumentStrategy).
Public property ExecutionSimulator (inherited from Strategy).
Public property FundamentalProvider (inherited from Strategy).
Public property Global (inherited from Strategy).
Public property GroupManager (inherited from Strategy).
Public property Id (inherited from Strategy).
Public property Instrument (inherited from InstrumentStrategy).
Public property InstrumentManager (inherited from Strategy).
Public property Instruments (inherited from Strategy).
Public property IsInstance (inherited from InstrumentStrategy).
Public property Mode (inherited from Strategy).
Public property Name (inherited from Strategy).
Public property OrderManager (inherited from Strategy).
Public property Parent (inherited from Strategy).
Public property Portfolio (inherited from Strategy).
Public property PortfolioManager (inherited from Strategy).
Public property Position (inherited from InstrumentStrategy).
Public property PositionCount Gets the count of all position(closed/opened/empty).
Public property ProviderManager (inherited from Strategy).
Public property Status (inherited from Strategy).
Public property Strategies (inherited from Strategy).
Public property StrategyManager (inherited from Strategy).
Public property Type
Top
Methods
 
Name Description
Public method AddExchangeReminder(DateTime, object) (inherited from Strategy).
Public method AddInstance(Instrument, InstrumentStrategy) (inherited from InstrumentStrategy).
Public method AddInstrument(Instrument) (inherited from InstrumentStrategy).
Public method AddInstruments(InstrumentList) (inherited from Strategy).
Public method AddInstruments(string[]) (inherited from Strategy).
Public method AddReminder(DateTime, object) (inherited from Strategy).
Public method AddStop(Stop) (inherited from Strategy).
Public method AddStrategy(Strategy) (inherited from Strategy).
Public method AddStrategy(Strategy, bool) (inherited from Strategy).
Public method Buy(IExecutionProvider, Instrument, OrderType, double, double, double, string) Obsolete.
Public method Buy(IExecutionProvider, Instrument, double, string) Obsolete.
Public method Buy(Instrument, OrderType, double, double, double, string) Obsolete.
Public method Buy(Instrument, double, string) Obsolete.
Public method Buy(short, Instrument, OrderType, double, double, double, string) Obsolete.
Public method Buy(short, Instrument, double, string) Obsolete.
Public method BuyLimit(IExecutionProvider, Instrument, double, double, string) Obsolete.
Public method BuyLimit(Instrument, double, double, string) Obsolete.
Public method BuyLimit(short, Instrument, double, double, string) Obsolete.
Public method BuyLimitOrder(Instrument, double, double, string) Obsolete.
Public method BuyOrder(Instrument, double, string) Obsolete.
Public method BuyPegged(IExecutionProvider, Instrument, double, double, string) Obsolete.
Public method BuyPegged(Instrument, double, double, string) Obsolete.
Public method BuyPegged(short, Instrument, double, double, string) Obsolete.
Public method BuyPeggedOrder(Instrument, double, double, string) (inherited from Strategy).
Public method BuyStop(IExecutionProvider, Instrument, double, double, string) Obsolete.
Public method BuyStop(Instrument, double, double, string) Obsolete.
Public method BuyStop(short, Instrument, double, double, string) Obsolete.
Public method BuyStopLimit(IExecutionProvider, Instrument, double, double, double, string) Obsolete.
Public method BuyStopLimit(Instrument, double, double, double, string) Obsolete.
Public method BuyStopLimit(short, Instrument, double, double, double, string) Obsolete.
Public method BuyStopLimitOrder(Instrument, double, double, double, string) Obsolete.
Public method BuyStopOrder(Instrument, double, double, string) Obsolete.
Public method Cancel(Order, string) (inherited from Strategy).
Public method CancelAll(Instrument, OrderSide, string) (inherited from Strategy).
Public method CancelAll(Instrument, string) (inherited from Strategy).
Public method CancelAll(OrderSide) (inherited from Strategy).
Public method CancelAll(string) (inherited from Strategy).
Public method Deposit(DateTime, double, byte, string, bool) Deposits specified amount of currency to portfolio account of this strategy. (inherited from Strategy).
Public method Deposit(double, byte, string, bool) Deposits specified amount of currency to portfolio account of this strategy at the current DateTime. (inherited from Strategy).
Public method ExecuteMethod(string) (inherited from Strategy).
Public method GetAllPositions() Gets the list of all position.
Public method GetModeAsString() (inherited from Strategy).
Public method GetParameter(string) (inherited from Strategy).
Public method GetParameters() (inherited from Strategy).
Public method GetPositionByClId(int) Gets the position by ClId.
Public method GetRootStrategy() (inherited from Strategy).
Public method GetStatusAsString() (inherited from Strategy).
Public method GetStrategy(Instrument) (inherited from InstrumentStrategy).
Public method GetStrategyById(int) (inherited from Strategy).
Public method Group(string, string, Color) (inherited from Strategy).
Public method Group(string, string, double) (inherited from Strategy).
Public method Group(string, string, int) (inherited from Strategy).
Public method Group(string, string, string) (inherited from Strategy).
Public method HasLongPosition(Instrument, double) Obsolete.
Public method HasLongPosition(Instrument) Checks the list of positions for any of opened long position.
Public method HasPosition(Instrument, PositionSide, double) Obsolete.
Public method HasPosition(Instrument) Checks the list of positions for any of opened position.
Public method HasShortPosition(Instrument, double) Obsolete.
Public method HasShortPosition(Instrument) Checks the list of positions for any of opened short position.
Public method Init() (inherited from InstrumentStrategy).
Public method Log(DateTime, double, Group) Obsolete. (inherited from Strategy).
Public method Log(DateTime, double, int) Obsolete. (inherited from Strategy).
Public method Log(DateTime, double, string) Obsolete. (inherited from Strategy).
Public method Log(DateTime, string, Group) Obsolete. (inherited from Strategy).
Public method Log(DateTime, string, int) Obsolete. (inherited from Strategy).
Public method Log(DateTime, string, string) Obsolete. (inherited from Strategy).
Public method Log(DataObject, Group, Nullable<DateTime>) (inherited from Strategy).
Public method Log(DataObject, int, Nullable<DateTime>) (inherited from Strategy).
Public method Log(DataObject, string, Nullable<DateTime>) (inherited from Strategy).
Public method Log(Event, Group, Nullable<DateTime>) (inherited from Strategy).
Public method Log(Event, int, Nullable<DateTime>) (inherited from Strategy).
Public method Log(Event, string, Nullable<DateTime>) (inherited from Strategy).
Public method Log(PortfolioStatisticsResult) (inherited from Strategy).
Public method Log(double, Group, Nullable<DateTime>) (inherited from Strategy).
Public method Log(double, int, Nullable<DateTime>) (inherited from Strategy).
Public method Log(double, string, Nullable<DateTime>) (inherited from Strategy).
Public method Log(string, Group, Nullable<DateTime>) (inherited from Strategy).
Public method Log(string, int, Nullable<DateTime>) (inherited from Strategy).
Public method Log(string, string, Nullable<DateTime>) (inherited from Strategy).
Public method Objective() (inherited from Strategy).
Internal protected (Protected Friend) method OnAccountData(AccountData) (inherited from Strategy).
Internal protected (Protected Friend) method OnAccountReport(AccountReport) (inherited from Strategy).
Internal protected (Protected Friend) method OnAsk(Instrument, Ask) (inherited from Strategy).
Internal protected (Protected Friend) method OnBar(Instrument, Bar) (inherited from Strategy).
Internal protected (Protected Friend) method OnBarOpen(Instrument, Bar) (inherited from Strategy).
Internal protected (Protected Friend) method OnBarSlice(BarSlice) (inherited from Strategy).
Internal protected (Protected Friend) method OnBid(Instrument, Bid) (inherited from Strategy).
Internal protected (Protected Friend) method OnCommand(Command_) (inherited from Strategy).
Internal protected (Protected Friend) method OnException(string, Event, Exception) (inherited from Strategy).
Internal protected (Protected Friend) method OnExchangeReminder(DateTime, object) (inherited from Strategy).
Protected method OnExecutionReport(ExecutionReport) (inherited from Strategy).
Internal protected (Protected Friend) method OnFill(Fill) (inherited from Strategy).
Internal protected (Protected Friend) method OnFundamental(Instrument, Fundamental) (inherited from Strategy).
Internal protected (Protected Friend) method OnInstrumentAdded(Instrument) (inherited from Strategy).
Internal protected (Protected Friend) method OnInstrumentRemoved(Instrument) (inherited from Strategy).
Internal protected (Protected Friend) method OnLevel2(Instrument, Level2Snapshot) (inherited from Strategy).
Internal protected (Protected Friend) method OnLevel2(Instrument, Level2Update) (inherited from Strategy).
Protected method OnMetaData(Instrument, MetaData) (inherited from Strategy).
Internal protected (Protected Friend) method OnNewOrder(Order) (inherited from Strategy).
Internal protected (Protected Friend) method OnNews(Instrument, News) (inherited from Strategy).
Internal protected (Protected Friend) method OnOrderCancelRejected(Order) (inherited from Strategy).
Internal protected (Protected Friend) method OnOrderCancelled(Order) (inherited from Strategy).
Internal protected (Protected Friend) method OnOrderDone(Order) (inherited from Strategy).
Internal protected (Protected Friend) method OnOrderExpired(Order) (inherited from Strategy).
Internal protected (Protected Friend) method OnOrderFilled(Order) (inherited from Strategy).
Internal protected (Protected Friend) method OnOrderPartiallyFilled(Order) (inherited from Strategy).
Internal protected (Protected Friend) method OnOrderRejected(Order) (inherited from Strategy).
Internal protected (Protected Friend) method OnOrderReplaceRejected(Order) (inherited from Strategy).
Internal protected (Protected Friend) method OnOrderReplaced(Order) (inherited from Strategy).
Internal protected (Protected Friend) method OnOrderStatusChanged(Order) (inherited from Strategy).
Protected method OnParameterChanged(Parameter, Parameter) (inherited from Strategy).
Internal protected (Protected Friend) method OnPendingNewOrder(Order) (inherited from Strategy).
Protected method OnPortfolioStatistics(PortfolioStatisticsItem) (inherited from Strategy).
Internal protected (Protected Friend) method OnPositionChanged(Position) (inherited from Strategy).
Internal protected (Protected Friend) method OnPositionClosed(Position) (inherited from Strategy).
Internal protected (Protected Friend) method OnPositionOpened(Position) (inherited from Strategy).
Internal protected (Protected Friend) method OnPropertyChanged(OnPropertyChanged) (inherited from Strategy).
Internal protected (Protected Friend) method OnProviderConnected(Provider) (inherited from Strategy).
Internal protected (Protected Friend) method OnProviderDisconnected(Provider) (inherited from Strategy).
Internal protected (Protected Friend) method OnProviderError(ProviderError) (inherited from Strategy).
Internal protected (Protected Friend) method OnReminder(DateTime, object) (inherited from Strategy).
Internal protected (Protected Friend) method OnSendOrder(Order) (inherited from Strategy).
Internal protected (Protected Friend) method OnStopCancelled(Stop) (inherited from Strategy).
Internal protected (Protected Friend) method OnStopExecuted(Stop) (inherited from Strategy).
Internal protected (Protected Friend) method OnStopStatusChanged(Stop) (inherited from Strategy).
Internal protected (Protected Friend) method OnStopStatusChanged_(Stop) (inherited from Strategy).
Internal protected (Protected Friend) method OnStrategyEvent(object) (inherited from Strategy).
Internal protected (Protected Friend) method OnStrategyInit() (inherited from Strategy).
Internal protected (Protected Friend) method OnStrategyStart() (inherited from Strategy).
Internal protected (Protected Friend) method OnStrategyStop() (inherited from Strategy).
Internal protected (Protected Friend) method OnTrade(Instrument, Trade) (inherited from Strategy).
Internal protected (Protected Friend) method OnTransaction(Transaction) (inherited from Strategy).
Internal protected (Protected Friend) method OnUserCommand(string) (inherited from Strategy).
Protected method OnUserEvent(Event) (inherited from Strategy).
Public method Order(Instrument, OrderType, OrderSide, double, double, double, string) (inherited from Strategy).
Public method Reject(Order) (inherited from Strategy).
Public method RemoveExchangeReminder(DateTime) (inherited from Strategy).
Public method RemoveInstrument(Instrument) (inherited from Strategy).
Public method RemoveInstrument(Instrument, IDataProvider) (inherited from Strategy).
Public method RemoveInstrument(int) (inherited from Strategy).
Public method RemoveInstrument(string) (inherited from Strategy).
Public method RemoveReminder(DateTime) (inherited from Strategy).
Public method RemoveStrategy(Strategy) (inherited from Strategy).
Public method Replace(Order, OrderType, double, double, double, string) (inherited from Strategy).
Public method Replace(Order, double, double, double, string) (inherited from Strategy).
Public method Replace(Order, double, string) (inherited from Strategy).
Public method Respond(DataObject) (inherited from Strategy).
Public method Respond(DataObject, int) (inherited from Strategy).
Public method Sell(IExecutionProvider, Instrument, OrderType, double, double, double, string) Obsolete.
Public method Sell(IExecutionProvider, Instrument, double, string) Obsolete.
Public method Sell(Instrument, OrderType, double, double, double, string) Obsolete.
Public method Sell(Instrument, double, string) Obsolete.
Public method Sell(short, Instrument, OrderType, double, double, double, string) Obsolete.
Public method Sell(short, Instrument, double, string) Obsolete.
Public method SellLimit(IExecutionProvider, Instrument, double, double, string) Obsolete.
Public method SellLimit(Instrument, double, double, string) Obsolete.
Public method SellLimit(short, Instrument, double, double, string) Obsolete.
Public method SellLimitOrder(Instrument, double, double, string) Obsolete.
Public method SellOrder(Instrument, double, string) Obsolete.
Public method SellPegged(IExecutionProvider, Instrument, double, double, string) Obsolete.
Public method SellPegged(Instrument, double, double, string) Obsolete.
Public method SellPegged(short, Instrument, double, double, string) Obsolete.
Public method SellPeggedOrder(Instrument, double, double, string) (inherited from Strategy).
Public method SellStop(IExecutionProvider, Instrument, double, double, string) Obsolete.
Public method SellStop(Instrument, double, double, string) Obsolete.
Public method SellStop(short, Instrument, double, double, string) Obsolete.
Public method SellStopLimit(IExecutionProvider, Instrument, double, double, double, string) Obsolete.
Public method SellStopLimit(Instrument, double, double, double, string) Obsolete.
Public method SellStopLimit(short, Instrument, double, double, double, string) Obsolete.
Public method SellStopLimitOrder(Instrument, double, double, double, string) Obsolete.
Public method SellStopOrder(Instrument, double, double, string) Obsolete.
Public method Send(Order)
Public method SendStrategyEvent(object) (inherited from Strategy).
Public method SetParameter(string, object) (inherited from Strategy).
Public method Withdraw(DateTime, double, byte, string, bool) Withdraws specified amount of currency from portfolio account of this strategy. (inherited from Strategy).
Public method Withdraw(double, byte, string, bool) Withdraws specified amount of currency from portfolio account of this strategy at the current DateTime. (inherited from Strategy).
Top
Fields
 
Name Description
Internal protected (Protected Friend) field framework (inherited from Strategy).
Internal protected (Protected Friend) field raiseEvents (inherited from Strategy).
Top

In this article

Definition