Scanner |
public abstract class ScannerBase : SharpScriptBase, IObserver<Level1EventArgs>, IObserver<IEnumerable<Level1EventArgs>>, IObserver<Level2EventArgs>, IViewModel, IInstrumentEnumerable, IObserver<long>
The ScannerBase type exposes the following members.
| Name | Description | |
|---|---|---|
| ScannerBase |
| Name | Description | |
|---|---|---|
| Account | Gets or sets the Account | |
| CellConditionItems | Gets or sets the cell condition items | |
| CellConditonsSerializer | ||
| DebounceInterval | Gets the debounce interval | |
| DialogService |
Opens a IDialogService dialog
(Inherited from ServiceBase) | |
| Dispatcher |
Gets the dispatcher
(Inherited from SharpScriptBase) | |
| DisplayName |
Gets the display name
(Inherited from SharpScriptBase) | |
| DisplayValue | The value to be displayed | |
| Error |
Gets the Error string
(Inherited from ServiceBase) | |
| FileService |
Opens a IFileService dialog
(Inherited from ServiceBase) | |
| HasLevel1Stream | Has Level-I stream | |
| HasLevel2Stream | Has Level-II stream | |
| HeaderString | Header string | |
| Instrument | Gets or sets the instrument | |
| Instruments | Gets or sets the IInstrument array | |
| IsRefreshObserved | True if OnNextRefresh is overriden in user code. | |
| IsTriggerVisible | If true, then the Triggers can be configured via the column selector | |
| Item |
Gets the IDataErrorInfo error string
(Inherited from ServiceBase) | |
| MessageBox |
Opens a IMessageBoxService dialog
(Inherited from ServiceBase) | |
| Name |
Gets the name
(Inherited from SharpScriptBase) | |
| ObserveAllMarketDataTypes | Observe all MarketDataType types | |
| SingletonService |
Opens a ISingletonService dialog
(Inherited from ServiceBase) | |
| State |
Gets the current State of the script
(Inherited from SharpScriptBase) | |
| Template | (Overrides SharpScriptBaseTemplate) |
| Name | Description | |
|---|---|---|
| AddCellCondition | ||
| AddInstrument | Add a secondary instrument | |
| Alert(String, String) | Alert | |
| Alert(String, String, TimeSpan) | Alert | |
| Alert(String, Priority, Brush, String) | Alert | |
| Alert(String, Priority, Brush, String, TimeSpan) | Alert | |
| Alert(String, IInstrument, Priority, Brush, String, TimeSpan) |
Shoots an alert.
The alert is triggered only when the State is Realtime (Inherited from SharpScriptBase) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | (Inherited from SharpScriptBase) | |
| GetBindingString | The binding string. The default binded property is DisplayValue | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetPosition(Boolean) | Returns the position of the selected account and the instrument of the row with ProductType == Margin | |
| GetPosition(ProductType) | Returns the position of the select account and the instrument of the row with the specified productType | |
| GetRealTimeData | Returns the realTimeData for the specified marketDataType | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| InvokeAsync |
Invoke any action. It is recommended to draw any [!:ChartObject.DrawingBase] by invoking this method
(Inherited from SharpScriptBase) | |
| Log(String) |
Logs a message with Low (Inherited from SharpScriptBase) | |
| Log(Priority, String) |
Logs a message with the specified Priority (Inherited from SharpScriptBase) | |
| Log(Priority, Brush, String) |
Logs a message with the specified Priority and defined brush
(Inherited from SharpScriptBase) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| NotifyPropertyChanged | (Inherited from SharpScriptBase) | |
| OnLevel1 | Level1 stream | |
| OnNextRefresh | If overriden will subscribe to the refresh stream | |
| OnPosition | ||
| OnRender | Whne overriden will render the content as drawn by user. Assigning a value to the DisplayValue property will call the method | |
| OnStateChange |
Invoked when the State changes
(Inherited from SharpScriptBase) | |
| PlaySound |
Play a sound file as located in the folder ~\Documents\ArthaChitra 2\Sounds
(Inherited from SharpScriptBase) | |
| Print(String, String) |
Prints a message with Low (Inherited from SharpScriptBase) | |
| Print(Brush, String, String) |
Prints a message with a defined foreground brush
(Inherited from SharpScriptBase) | |
| Print(Priority, String, String) |
Prints a message with the defined Priority (Inherited from SharpScriptBase) | |
| Round |
Rounds the value with the factor as defined in Options > General tab > RoundFactor (Inherited from SharpScriptBase) | |
| Share |
Share messages via to social media SocialType
The messages will be transmitted only when the state is Realtime
(Inherited from SharpScriptBase) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| PropertyChanged | (Inherited from NotifyPropertyBase) |