POST api/hmm-regime
Classifies unified basket regime from basket_prices or legacy historical payloads.
Request Information
URI Parameters
None.
Body Parameters
HmmRegimeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| basket_prices | Dictionary of string [key] and Collection of decimal number [value] |
None. |
|
| historical_prices | Collection of decimal number |
None. |
|
| historical_returns | Collection of decimal number |
None. |
Request Formats
application/json
Sample:
System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.Double]]
text/json
Sample:
{
"basket_prices": {
"sample string 1": [
1.1,
2.1
],
"sample string 2": [
1.1,
2.1
]
},
"historical_prices": [
1.1,
2.1
],
"historical_returns": [
1.1,
2.1
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"currentState": 1,
"global_basket_regime": "sample string 4",
"llm_ready_context": "sample string 3",
"stateMappings": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"processed_symbols": [
"sample string 1",
"sample string 2"
]
}