Skip to content

TradeWatch

Summary

Represents the trade watch panel.

Signature

1
public abstract interface TradeWatch

Namespace

cAlgo.API

Methods

AddTab

Summary

Adds a new tab.

Signature

1
public abstract TradeWatchTab AddTab(string title)

Parameters

Name Type Description
title string Tab title

Return Value

TradeWatchTab

RemoveTab (2)

RemoveTab (1 of 2)

Summary

Removes a tab by ID.

Signature

1
public abstract bool RemoveTab(string id)

Parameters

Name Type Description
id string Tab ID

Return Value

bool

RemoveTab (2 of 2)

Summary

Removes a tab.

Signature

1
public abstract bool RemoveTab(TradeWatchTab tab)

Parameters

Name Type Description
tab TradeWatchTab Tab

Return Value

bool

Properties

Height

Summary

Get / set height of trade watch.

Signature

1
public abstract double Height {get; set;}

Return Value

double

Width

Summary

Get / set width of trade watch.

Signature

1
public abstract double Width {get;}

Return Value

double

IsVisible

Summary

Get / set visibility of trade watch.

Signature

1
public abstract bool IsVisible {get; set;}

Return Value

bool

Events

SizeChanged

Summary

Occurs after trade watch size (height / width) changed.

Signature

1
public abstract event Action<TradeWatchSizeChangedEventArgs> SizeChanged;

IsVisibleChanged

Summary

Occurs after trade watch visibility (IsVisible) changed.

Signature

1
public abstract event Action<TradeWatchIsVisibleChangedEventArgs> IsVisibleChanged;