180 lines
3.8 KiB
JSON
180 lines
3.8 KiB
JSON
{
|
|
"observed_at": "2026-11-09T11:15:58.933015+08:00",
|
|
"scope": "pms-sim-155",
|
|
"writes_attempted": 0,
|
|
"strategy": {
|
|
"type": "GRID",
|
|
"status": "ACTIVE",
|
|
"params": {
|
|
"center": 47.18,
|
|
"lower": 46.035,
|
|
"upper": 52.823,
|
|
"step_pct": 0.02,
|
|
"per_lot": 1600,
|
|
"max_capital": 76358.11
|
|
},
|
|
"state": {
|
|
"pending": null,
|
|
"below_floor": false,
|
|
"last_band": 6,
|
|
"cap_hit": false,
|
|
"filled_levels": {
|
|
"1": {
|
|
"price": 47.56,
|
|
"qty": 1500
|
|
}
|
|
},
|
|
"invested": 71340.0
|
|
},
|
|
"updated_at": "2026-11-09 11:15:04"
|
|
},
|
|
"trades": [
|
|
{
|
|
"received_at": "2026-11-04 09:58:02",
|
|
"seq": 1616508,
|
|
"side": "sell",
|
|
"qty": 100,
|
|
"price": 48.2,
|
|
"amount": 4820.0,
|
|
"fee": null
|
|
},
|
|
{
|
|
"received_at": "2026-11-04 09:53:08",
|
|
"seq": 1616422,
|
|
"side": "buy",
|
|
"qty": 1600,
|
|
"price": 47.28,
|
|
"amount": 75648.0,
|
|
"fee": null
|
|
},
|
|
{
|
|
"received_at": "2026-11-03 16:16:12",
|
|
"seq": 1599510,
|
|
"side": "buy",
|
|
"qty": 100,
|
|
"price": 48.29,
|
|
"amount": 4829.0,
|
|
"fee": null
|
|
}
|
|
],
|
|
"lots": [
|
|
{
|
|
"lot_type": "BASE",
|
|
"qty": 100,
|
|
"closed_qty": 0,
|
|
"open_price": "48.290",
|
|
"close_avg_price": null,
|
|
"realized_pnl": "0.00"
|
|
},
|
|
{
|
|
"lot_type": "ADD",
|
|
"qty": 1500,
|
|
"closed_qty": 100,
|
|
"open_price": "47.280",
|
|
"close_avg_price": "48.200",
|
|
"realized_pnl": "92.00"
|
|
}
|
|
],
|
|
"volatility": {
|
|
"601126.SH": {
|
|
"rows": 64,
|
|
"through": "2026-11-06",
|
|
"last_close": 31.22,
|
|
"true_range_14_sma": 1.8557142857142856,
|
|
"tr14_pct": 5.943991946554406,
|
|
"amplitude_20_median_pct": 5.068865419059966,
|
|
"days_amplitude_ge_2pct": 20,
|
|
"return_20_pct": -9.08561444379733
|
|
},
|
|
"002979.SZ": {
|
|
"rows": 64,
|
|
"through": "2026-11-06",
|
|
"last_close": 50.0,
|
|
"true_range_14_sma": 4.2192857142857125,
|
|
"tr14_pct": 8.438571428571425,
|
|
"amplitude_20_median_pct": 7.199070989957687,
|
|
"days_amplitude_ge_2pct": 20,
|
|
"return_20_pct": -10.039582583663186
|
|
}
|
|
},
|
|
"pure_function_reproduction": {
|
|
"levels": [
|
|
46.035,
|
|
46.979,
|
|
47.922,
|
|
48.866,
|
|
49.809,
|
|
50.753,
|
|
51.697,
|
|
52.64
|
|
],
|
|
"cases": [
|
|
{
|
|
"case": "11:15实际价格与状态的纯函数复现",
|
|
"price": 51.67,
|
|
"decision": null,
|
|
"after": {
|
|
"pending": null,
|
|
"below_floor": false,
|
|
"last_band": 5,
|
|
"cap_hit": false,
|
|
"filled_levels": {
|
|
"1": {
|
|
"price": 47.56,
|
|
"qty": 1500
|
|
}
|
|
},
|
|
"invested": 71340.0
|
|
}
|
|
},
|
|
{
|
|
"case": "假设继续涨过最高档的纯函数复现",
|
|
"price": 53.0,
|
|
"decision": null,
|
|
"after": {
|
|
"pending": null,
|
|
"below_floor": false,
|
|
"last_band": 7,
|
|
"cap_hit": false,
|
|
"filled_levels": {
|
|
"1": {
|
|
"price": 47.56,
|
|
"qty": 1500
|
|
}
|
|
},
|
|
"invested": 71340.0
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"final_readonly": {
|
|
"at": "2026-11-09T11:36:02.525921+08:00",
|
|
"position": {
|
|
"total_qty": 1600,
|
|
"avail_qty": 1600,
|
|
"avg_cost": "47.286",
|
|
"base_qty": 100,
|
|
"add_qty": 1500
|
|
},
|
|
"market": {
|
|
"price": 51.87,
|
|
"bar_time": "2026-11-09 11:30:00",
|
|
"bars": 112
|
|
},
|
|
"state": {
|
|
"pending": null,
|
|
"below_floor": false,
|
|
"last_band": 6,
|
|
"cap_hit": false,
|
|
"filled_levels": {
|
|
"1": {
|
|
"price": 47.56,
|
|
"qty": 1500
|
|
}
|
|
},
|
|
"invested": 71340.0
|
|
},
|
|
"writes_attempted": 0
|
|
}
|
|
}
|