tzutrader
A composable C++ backtesting library for trading strategies (experimental)
Loading...
Searching...
No Matches
timeutils.h
Go to the documentation of this file.
1#ifndef _TIMEUTILS_H
2#define _TIMEUTILS_H
3
4#include "defs.h"
5#include <string>
6
7namespace tzu {
8
14std::string unixTimeToString(int64_t unixTime,
15 TimeInterval interval = TimeInterval::SECONDS, bool local_time = false);
16
17} // namespace tzu
18
19#endif // _TIMEUTILS_H
Core data structures and types for the tzutrader library.
Definition defs.h:20
TimeInterval
Definition defs.h:209
@ SECONDS
Definition defs.h:213
std::string unixTimeToString(int64_t unixTime, TimeInterval interval=TimeInterval::SECONDS, bool local_time=false)