Handles all interactions with the PostgreSQL database.
More...
#include <tradebench_core.h>
Handles all interactions with the PostgreSQL database.
◆ DataRepository()
| DataRepository::DataRepository |
( |
const std::string & | conn_str | ) |
|
|
explicit |
◆ checkConnection()
| bool DataRepository::checkConnection |
( |
| ) |
const |
◆ fetchPrices()
| MarketData DataRepository::fetchPrices |
( |
const std::string & | pair, |
|
|
const std::string & | timeframe, |
|
|
int64_t | start_ts, |
|
|
int64_t | end_ts ) |
◆ saveResult()
| void DataRepository::saveResult |
( |
const std::string & | task_id, |
|
|
const std::string & | result_data ) |
◆ m_conn_str
| std::string DataRepository::m_conn_str |
|
private |
The documentation for this class was generated from the following files: