Suoranta.Finance Namespace
Suoranta.Finance - Developer API

Suoranta.Finance.Trading Namespace

Classes


  Class Description
Public class BacktestResults
Public class BacktestStep
Stores activity that occurred in a backtest during a bar.
Public class BaseOrder
Base class for types that represent an order, actual or simulated, for transaction, and its execution state.
Public class DefaultBacktester
The default implementation of IBacktester.
Public class DefaultBacktester..::..OrderGroup
Encapsulates ISimulatedOrders of a bar (candle).
Public class EnumExtensions
Public class SimulatedOrder
Base class for types that represent a simulated market transaction.

Structures


  Structure Description
Public structure CancelledExecution
IExecution value indicating that ISimulatedOrder was not executed.
Public structure ExecuteStrategy
IOrderPurpose for regular adjustments of the position.
Public structure FullExecution
IExecution that represents fully executed ISimulatedOrder.
Public structure LimitOrderCondition
Public structure Liquidate
IOrderPurpose for market orders to exit positions (being submitted due to an extraordinary triggering condition).
Public structure MarketOrderCondition
Public structure NullExecution
Represents indeterminate IExecution value pre-evaluation.
Public structure NullOrderCondition
Public structure PartialExecution
Public structure StopLoss
IOrderPurpose for stop orders that have the price trigger set lower (higher) than the PriceReference with long (short) position.
Public structure StopLossOrderCondition
Public structure TakeProfit
IOrderPurpose for stop orders that have the price trigger set higher (lower) than the PriceReference with long (short) position.
Public structure TakeProfitOrderCondition

Interfaces


  Interface Description
Public interface IBacktester
Implemented by types that provides backtesting capabilities.
Public interface IBacktestResults
Represents a self-contained data set from a IBacktester.
Public interface IBacktestSettings
Provides settings for IBacktester.
Public interface IExecution
Represents the execution status of ISimulatedOrder. The status is often described by the implementation type itself.
Public interface IOrderCondition
Implementation define the type and validity period of BaseOrder.
Public interface IOrderPurpose
Implementing types describe the proximate purpose of an order that a trading strategy submits. The purpose is often described by the type itself (i.e., the type does not necessarily have properties).
Public interface ISimulatedOrder
Public interface IStopOrderCondition
IOrderCondition implemented by trigger orders (stop loss or take profit).

Enumerations


  Enumeration Description
Public enumeration OrderAction
Identifies direction of an order.
Public enumeration OrderValidityCondition