Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Clarifying meaning of 'Tick' #184

Closed
magick93 opened this issue Aug 29, 2017 · 5 comments
Closed

Clarifying meaning of 'Tick' #184

magick93 opened this issue Aug 29, 2017 · 5 comments

Comments

@magick93
Copy link

Hi

Correct me if I am wrong, but it seams that ta4j considers a tick to have a time span, eg a tick of 1 minute in length - is this correct?

A Tick contains aggregated data of a security/commodity during a time period.

Usually, especially in forex trading, an aggregation of price changes for a period of time is a Bar, eg, the min, max, first and last (OHLC) for one minute. During this minute there can be 100s of ticks.

Does ta4j have the concept of bars also?

What is the reason for giving ticks a time span?

@martinklepsch
Copy link
Contributor

martinklepsch commented Aug 29, 2017 via email

@team172011
Copy link
Contributor

If you take a closer look to the Tick class you can find out that a tick describes some kind of bar. There are among others close, min, max, and open price attributes. The 'time span' describes the time span for that this attributes are valid. You can but not have to give ticks a time span, you just have to give at least an end time for each tick.

@martinklepsch
Copy link
Contributor

I added a note to the wiki noting this difference: https://github.com/mdeverdelhan/ta4j/wiki/Time-series-and-ticks

@martinklepsch
Copy link
Contributor

(I guess this issue should be closed to keep discussion focused in #139.)

@mdeverdelhan
Copy link
Owner

Duplicate of #139

@mdeverdelhan mdeverdelhan marked this as a duplicate of #139 Aug 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants