Configuration reference
Reference for the JSON that defines a SquidSolver Pro solve: players, stack and pot units, exact-card ranges and action-tree rules, with examples and a JSON schema.
On this page
Example configurations and JSON schema
| Download | Contents |
|---|---|
| NLH river | 3 BB pot, 20 BB stacks, full ranges, half-pot bet. |
| NLH preflop | Narrow ranges and explicit flop, turn and river continuations. |
| PLO 4 river | 3 BB pot, 4 BB stacks and a small weighted range. |
| Starter JSON schema | Draft-07 schema for new setups, including the examples above. |
The starter schema covers the settings used in these examples. Run squid config schema to see all settings accepted by your installed version.
Configuration file structure
{
"scenario": {
"name": "river-study",
"street": "river",
"big_blind": 1.0,
"dead_money": 3.0
},
"productMetadata": {}
}This is a structure illustration, not a complete runnable file. Start from a downloaded example, which also contains players, board, ranges and the action tree. Ordinary NLH can use an empty productMetadata object. Keep the PLO example’s omahaSolver settings for a first PLO run.
Use a new ID made from letters, digits, underscores or hyphens. --id overrides an ID in the file; --name sets the display name. Check solve list before creating an ID that might already exist.
Units, stacks and the pot
| Field | Meaning |
|---|---|
| big_blind | Set to 1.0 for a configuration denominated in big blinds. |
| players[].stack | Stack at the start of this setup, including any forced blind or ante entered for that player. |
| players[].blind / ante | That player’s forced posts. Use zero for a normal postflop root. |
| dead_money | Money already in the pot. At a postflop root, enter the existing pot here once. |
| first_player | Zero-based index of the player who acts first. |
| players / ranges | Matching arrays: ranges[0] belongs to players[0], and so on. |
Stack and pot amounts are rounded to 0.01. Position names are bu, co, mp, ep, u3, u2, u1, bb and sb. Use bu for the button, not btn.
Cards and ranges
Cards use ranks 2–9, T, J, Q, K, A and suits c, d, h, s. A JSON board is an array such as ["As","Kd","7c","2h","9s"]. Preflop has no board; flop has three cards, turn four and river five. Cards cannot repeat.
{"combos":[{"cards":"AhAd","weight":1.0},{"cards":"QhQd","weight":0.5}]}Use exact two-card NLH or four-card PLO combinations. Weights are frequencies between 0 and 1. Shorthand such as AA, AKs, 22+ or a range percentage is not accepted in this JSON format. Expand hand classes into their individual combinations.
Use {"uniform_all":true} for all hands. When uniform_all is true, a combos list is ignored. Avoid empty or all-zero ranges, duplicate hands and impossible deals. There must be enough compatible hands across players after the board’s cards are removed.
The CLI --board argument uses one concatenated string, AsKd7c2h9s, rather than a JSON array. A later readout board must extend the starting board.
Action-tree rules
actionTree.rules contains the actions to offer. A rule’s streets array is ordered preflop, flop, turn, river. Its betActions rows instead describe successive bets and raises.
| Row index | Postflop | Preflop |
|---|---|---|
| 0 | Opening bet | Unused |
| 1 | First raise | Opening raise |
| 2 | Second raise | Three-bet |
| 3 | Third and later raises | Four-bet |
{"betActions":[[{"size":"50%"}],[],[],[]],"streets":[false,true,true,true]}This rule fragment offers a half-pot opening bet on each postflop street. Merge it into a complete example rule. Empty rows offer no sizes. A positive cap stops aggression at that slot: cap 1 allows only the opening bet postflop; cap 2 allows only the opening raise preflop. cap 0 adds no extra cap.
| Size | Meaning |
|---|---|
| 50% / 100% | Pot-based size, written as an integer percentage. |
| 2.5bb | Total commitment on this street in big blinds. |
| 3x | Raise multiplier. |
| 2e | Geometric sizing over the specified number of streets. |
| Min / All-in | Minimum legal size or all-in, subject to the game’s limits. |
positions contains ten booleans ordered bu, co, mp, ep, u3, u2, u1, reserved, bb, sb. Use all true for an unrestricted rule. relativePosition is null for either, 0 for in position and 1 for out of position. playerCount 0 or null means any count. potType selects unraised, single-raised, three-bet and four-bet-or-higher pots.
The legal actions also depend on stack and pot limits, call controls, all-in settings and size merging. Keep the example’s populationOptions while learning the format. New configurations should use capBoundaryAllInMode finalAllowedAggression.
Solving and saved readouts
| Field | Use |
|---|---|
| saveEv | Four entries ordered preflop, flop, turn, river. Positive entries retain EV for that street; the examples use 1000. Zero disables it. |
| saveStrategy | Four booleans in the same street order. Keep the streets you want to study or export enabled. |
| training.threadCount | A positive CPU thread count. Default is 1. |
| training.seed | Unsigned integer seed. Multiple threads are not guaranteed to produce bit-for-bit identical runs. |
| training.iterations | Does not automatically start a CLI-created solve. Set the run target with --iterations or --add. |
Estimate again after changing ranges or the action tree. For advanced configuration fields, use the installed schema together with help for solve estimate and solve create.