ores.synthetic.gmm_component
Table of Contents
A single weighted Gaussian component (mean, standard deviation, weight) of the
Gaussian Mixture Model that drives an fx_spot_generation_config's price
process. Components belong to a parent FX spot config via fx_spot_config_id;
their weights are normalised at generation time. Party- and tenant-scoped.
1. Flags
2. Columns
2.1. id
Surrogate UUID uniquely identifying this GMM component.
2.2. party_id
Owning party (legal entity) this component's configuration belongs to.
uuid_gen()
2.3. fx_spot_config_id
Parent fx_spot_generation_config this component contributes to.
uuid_gen()
2.4. component_index
Zero-based ordinal of this component within its parent's mixture.
faker::number::integer(0, 4)
2.5. description
Human-readable label for the component (e.g., "primary", "jump").
std::string(faker::word::adjective())
2.6. mean
Mean log-return (drift) of this Gaussian component per update.
faker::number::decimal(-0.001, 0.001)
2.7. stdev
Standard deviation (volatility) of this Gaussian component; must be >= 0.
faker::number::decimal(0.0, 0.01)
2.8. weight
Mixture weight of this component; normalised across the parent's set.
faker::number::decimal(0.0, 1.0)
3. Artefact columns
The import names the currency pair a component belongs to, where the store holds the FX spot config id and the party. Publishing resolves the config in the target party.
3.1. base_currency_code
3.2. quote_currency_code
3.3. component_index
3.4. description
3.5. mean
3.6. stdev
3.7. weight
4. Artefact indexes
4.1. pair
5. SQL
5.1. Flags
5.2. Checks
| expression |
|---|
| "stdev" >= 0 |
| "weight" >= 0 |
6. Foreign keys
6.1. fx_spot_config_id
7. Validation function
8. C++
8.1. Flags
8.2. Repository
The installation's system collections, their feeds and the provider catalogue ship
under the system tenant, and every tenant reads them, which
:system_tenant_visible: true states on the repository. The row-level security
policy still decides which system rows a tenant sees and who may write them.
8.3. Domain includes
#include <boost/uuid/uuid.hpp> #include <string>
8.4. Entity includes
#include <string>
8.5. Conventions
8.6. Table display
| column | header |
|---|---|
| component_index | Component |
| description | Description |
| mean | Mean |
| stdev | Stdev |
| weight | Weight |
| modified_by | Modified By |
| version | Version |
8.7. Presentation
8.7.1. Detail fields
| field | label | widget | type | is_key | is_required | placeholder |
|---|---|---|---|---|---|---|
| component_index | Component Index | componentIndexEdit | spin_box | true | Enter component index | |
| description | Description | descriptionEdit | line_edit | Enter description | ||
| mean | Mean | meanEdit | line_edit | true | Enter mean | |
| stdev | Std Dev | stdevEdit | line_edit | true | Enter standard deviation | |
| weight | Weight | weightEdit | line_edit | true | Enter weight |
8.7.2. Columns
| enum_name | field | header | type | width |
|---|---|---|---|---|
| ComponentIndex | component_index | Component Index | int | 120 |
| Description | description | Description | string | 200 |
| Mean | mean | Mean | double | 100 |
| Stdev | stdev | Std Dev | double | 100 |
| Weight | weight | Weight | double | 100 |
| Version | version | Version | int | 80 |
| ModifiedBy | modified_by | Modified By | string | 120 |
| RecordedAt | recorded_at | Recorded At | timestamp | 150 |