Skip to content

PriceAlert

Summary

Represents a price alert.

Signature

1
public abstract interface PriceAlert

Namespace

cAlgo.API

See Also

Methods

Update (2)

Update (1 of 2)

Summary

Updates price alert.

Signature

1
public abstract void Update(Symbol symbol, double price, PriceAlertQuoteType quoteType, PriceAlertCondition condition)

Parameters

Name Type Description
symbol Symbol Symbol
price double Price
quoteType PriceAlertQuoteType Quote type
condition PriceAlertCondition Condition

Return Value

void

Update (2 of 2)

Summary

Updates price alert.

Signature

1
public abstract void Update(Symbol symbol, double price, PriceAlertQuoteType quoteType, PriceAlertCondition condition, bool showPopup, string message)

Parameters

Name Type Description
symbol Symbol Symbol
price double Price
quoteType PriceAlertQuoteType Quote type
condition PriceAlertCondition Condition
showPopup bool Show Popup
message string Message

Return Value

void

Properties

Id

Summary

Get unique Id.

Signature

1
public abstract long Id {get;}

Return Value

long

LastUpdateTime

Summary

Get/set last update time.

Signature

1
public abstract DateTime LastUpdateTime {get;}

Return Value

DateTime

Symbol

Summary

Get symbol.

Signature

1
public abstract Symbol Symbol {get;}

Return Value

Symbol

Price

Summary

Get price level.

Signature

1
public abstract double Price {get;}

Return Value

double

QuoteType

Summary

Get quote type.

Signature

1
public abstract PriceAlertQuoteType QuoteType {get;}

Return Value

PriceAlertQuoteType

Condition

Summary

Get condition.

Signature

1
public abstract PriceAlertCondition Condition {get;}

Return Value

PriceAlertCondition

ShowPopup

Summary

Get if the price alert will show a pop-up.

Signature

1
public abstract bool ShowPopup {get;}

Return Value

bool

Message

Summary

Get optional message.

Signature

1
public abstract string Message {get;}

Return Value

string