Skip to content

Bar

Summary

Represents the Bar object.

Signature

1
public sealed struct Bar : ValueType

Namespace

cAlgo.API

Methods

Equals (2)

Equals (1 of 2)

Summary

Defines whether the specified object is equal to this instance.

Signature

1
public bool Equals(Bar other)

Parameters

Name Type Description
other Bar Other bar to compare current bar with it

Return Value

bool

Equals (2 of 2)

Summary

Defines whether the specified object is equal to this instance.

Signature

1
public bool Equals(object obj)

Parameters

Name Type Description
obj object Other object to compare current object with it

Return Value

bool

GetHashCode

Summary

Returns the hash code for this instance.

Signature

1
public int GetHashCode()

Return Value

int

ToString

Summary

Returns a String that represents this instance.

Signature

1
public string ToString()

Return Value

string

Properties

OpenTime

Summary

Gets the bar open time.

Signature

1
public DateTime OpenTime {get;}

Return Value

DateTime

Open

Summary

Gets the open price.

Signature

1
public double Open {get;}

Return Value

double

High

Summary

Gets the High price.

Signature

1
public double High {get;}

Return Value

double

Low

Summary

Gets the Low price.

Signature

1
public double Low {get;}

Return Value

double

Close

Summary

Gets the Close price.

Signature

1
public double Close {get;}

Return Value

double

TickVolume

Summary

Gets the Tick volume.

Signature

1
public long TickVolume {get;}

Return Value

long