BetaTrader
A HFT Eco-System
Loading...
Searching...
No Matches
TradeIDRepository.h File Reference

Repository to persist and retrieve the current trade ID. More...

#include "common/Types.h"
#include "data/DatabaseWorker.h"
#include <functional>
Include dependency graph for TradeIDRepository.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  data::TradeIDRepository
 Persistent storage for trade id value. More...
 

Namespaces

namespace  data
 

Detailed Description

Repository to persist and retrieve the current trade ID.

The TradeIDRepository provides the persistent backing for the TradeIDGenerator so the generator can restore and save the last generated trade id across process restarts.