29 lines
798 B
C
29 lines
798 B
C
// Lightweight seed structures for LocalMarket, SharedSignals, and PlanDelta
|
|
// to bootstrap interoperability in the DeltaMesh MVP.
|
|
|
|
#ifndef DSL_SEED_H
|
|
#define DSL_SEED_H
|
|
|
|
typedef struct LocalMarketSeed {
|
|
const char* venue;
|
|
double inventory;
|
|
double risk_budget;
|
|
} LocalMarketSeed;
|
|
|
|
typedef struct SharedSignalsSeed {
|
|
double aggregated_greeks;
|
|
double implied_vol;
|
|
} SharedSignalsSeed;
|
|
|
|
typedef struct PlanDeltaSeed {
|
|
double quote;
|
|
double hedge;
|
|
unsigned long timestamp;
|
|
} PlanDeltaSeed;
|
|
|
|
void dsl_localmarket_seed_init(LocalMarketSeed* s, const char* venue, double inventory, double risk_budget);
|
|
void dsl_sharedsignals_seed_init(SharedSignalsSeed* s, double greeks, double ivol);
|
|
void dsl_plandelta_seed_init(PlanDeltaSeed* s, double quote, double hedge, unsigned long ts);
|
|
|
|
#endif
|