Model Configs
A fair-value model config identifies which pricing model Tradepost uses to value products in an asset type. Configs are versioned, so a new model can run alongside an older one without affecting strategies pinned to the previous version.
You reference a config's id when building strategies — filterCriteria.fvModelConfigId scopes price and confidence lookups to that model. For trading cards the current model is CardHedge, with more models coming soon.
Listing model configs
query M($i: ListFairValueModelConfigsInput!) {
listFairValueModelConfigs(input: $i) {
modelConfigs { id name version description assetTypeId isActive }
grouped {
assetTypeId
assetTypeName
modelConfigs { id name version isActive }
}
error { message code }
}
}
| Field | Type | Description |
|---|---|---|
assetTypeId | ID | Filter to one asset type — read modelConfigs (flat list). Omit to get everything — read grouped, bucketed by asset type with names included |
{ "i": { "assetTypeId": "<assetTypeId>" } }
FairValueModelConfig
| Field | Type | Description |
|---|---|---|
id | ID! | Pass this as filterCriteria.fvModelConfigId in a strategy |
name | String! | Human-readable name (e.g. "CardHedge Trading Card Market") |
version | String! | Internal model version identifier. Informational — pass id, not version, when configuring a strategy |
description | String | What the model does |
assetTypeId | ID! | Asset type this config prices |
isActive | Boolean! | Whether the config is currently in use. Inactive configs may still be referenced for historical lookups |