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
7
namespace
tzu
{
8
14
std::string
unixTimeToString
(int64_t unixTime,
15
TimeInterval
interval =
TimeInterval::SECONDS
,
bool
local_time =
false
);
16
17
}
// namespace tzu
18
19
#endif
// _TIMEUTILS_H
defs.h
Core data structures and types for the tzutrader library.
tzu
Definition
defs.h:20
tzu::TimeInterval
TimeInterval
Definition
defs.h:209
tzu::TimeInterval::SECONDS
@ SECONDS
Definition
defs.h:213
tzu::unixTimeToString
std::string unixTimeToString(int64_t unixTime, TimeInterval interval=TimeInterval::SECONDS, bool local_time=false)
include
tzu
timeutils.h
Generated by
1.16.1