Click or drag to resize

AdapterBaseT Class

Inheritance Hierarchy
SystemObject
  ArthaChitra.Model.ConnectionAdapterBaseT
    ArthaChitra.Model.ConnectionExternalAdapterBase

Namespace: ArthaChitra.Model.Connection
Assembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.6.0
Syntax
C#
public abstract class AdapterBase<T> : IWeakEventListener, 
	IAdapter<T>, IAdapter
where T : AdapterOptionsBase

Type Parameters

T

The AdapterBaseT type exposes the following members.

Properties
 NameDescription
Public propertyAdapterOption Gets the adapter option
Public propertyConnection Gets the Connection object
Public propertyDialogService 
Public propertyIsThrottled Is the connection throttled
Public propertyMessageBox 
Public propertyNow UTC time + Timezone offset (as defined in Options > General tab)
Top
Methods
 NameDescription
Public methodCanCancelAllOrders Can cancel all orders
Public methodCancelAllOrdersAsync Cancel all open orders, if connection supports it.
Public methodCancelOrderAsync Cancel an order
Public methodCanConvertPosition Can convert position
Public methodCanExitOrder Can exit an order
Public methodCanExitPosition Can exit position
Public methodCanGetOrderHistory Can get order history
Public methodCanRefreshAccount Can refersh accounts/funds
Public methodCanRefreshHolding Can refresh holding
Public methodCanRefreshOrders Can refersh the historial orders
Public methodCanRefreshOrderStatus Can refresh order status
Public methodCanRefreshPosition Can refresh the position
Public methodCanRefreshTrades Can refresh the historical trades
Public methodChangeOrderAsync Change an order
Protected methodConnect Connects to the connection
Public methodConvertPositionAsync Convert ProductType of a position
Protected methodDeserializeOco Deserialize the OCO strings
Public methodDisconnect Disconnect from teh connection
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExitOrderAsync Exit and order
Public methodExitPositionAsync Close position
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Protected methodFromEpochTime(Int64) Get time from epoch/unix time stamp
Protected methodFromEpochTime(Int64, TimeSpan) Get time from epoch/unix time stamp
Public methodGetAccountValueAsync Get account value from connection
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodStatic memberGetInstrument 
Public methodGetOrderHistoryAsync Gets the order history of an order
Protected methodGetOrders Gets the orders
Public methodGetScannerData Get scanner data from connection
Public methodGetSnapQuotes Get snap quotes (static quotes)
Public methodGetStrikeAsync Gets the available strike prices
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodLog(String, String) Log messages
Protected methodLog(LogType, String, String) Log message
Protected methodLogEx Log exception
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodNotifyBackfill Notify backfill of historical data has completed. This should be called even there are no data.
Protected methodOnNetworkChanged Is network changed
Public methodPlaceOrderAsync Place orders
Public methodRefreshAccountAsync Gets the accounts/funds value from the connection
Public methodRefreshHoldingAsync Gets the holdings
Public methodRefreshOrdersAsync Gets the historial order for the defined account
Public methodRefreshOrderStatusAsync Refresh order status of an order
Public methodRefreshPositionAsync Gets the positions
Public methodRefreshTradesAsync Gets the historical trades for the defined account
Protected methodSerializeOco Serialize OCO strings
Public methodSubscribeHistoricalData Subscribe historical data
Public methodSubscribeLevel1Data Subscribe Level-I data
Public methodSubscribeLevel2Data Subscribe Level-II data
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUnsubscribeHistorialData Unsubscribe historical data
Public methodUnsubscribeLevel1Data Unsubscribe Level-I data
Public methodUnsubscribeLevel2Data Unsubscribe Level-II data
Top
See Also