Skip to content

historyTimeCorrectness

tradingview-inspect edited this page Mar 1, 2020 · 2 revisions

Test for bars timestamps

Checking that the time of the bars is increasing. If "has-intraday" field is equal to false for the symbol in the symbol info, then the test for this symbol will be skipped.

Possible issues:

Request error

Error on sending HTTP request to /history endpoint

Read error

Error reading body of HTTP response to request to /history endpoint

Invalid status code

Response status code is not 200

Session error

The session in specified incorrectly

Invalid bar time

The time is not increasing from bar to bar