The Strategy Editor window is where you build your strategies: you create them, fill them with rules, put the rules in order and save. It's also where you share strategies with other FairBot users.
Open the Strategy Editor
Open a market first: the editor uses it to fill in selection names and to show you live values while you build rules. Then do one of the following:
- Choose Tools › Strategy Editor....
- On the market's Automation tab, click Strategy Editor....
Note
Strategy Editor... is greyed out until a market is open.
The window at a glance
- Strategies (on the left): all your strategies. A strategy with unsaved changes is shown in red.
- Strategy Name (top right): the strategy you've selected.
- Rules tab: the rules of that strategy, in the order FairBot checks them. Each row shows the rule's Name, its Action and its Condition(s), plus its timing: when it starts and stops, how many times it may run (Execute: 1 time(s)) and the wait between runs.
- Notes tab: free text. Use it to remind yourself what the strategy is for and how you've set it up.
Toolbar and menu commands
The same commands are on the toolbar, in the menus and in the right-click menus of the two lists.
Strategies
| Command | Shortcut | What it does |
|---|---|---|
| New Strategy | Ctrl+Ins | Adds a new, empty strategy. |
| Save | Ctrl+S | Saves the changes to all strategies. |
| Rename Strategy | F2 | Lets you type a new name for the selected strategy. |
| Remove Strategy | Ctrl+Del | Deletes the selected strategy. |
| Clone Strategy | Makes a copy of the selected strategy, named Copy of .... | |
| Export Strategy... | Saves the selected strategy to a file, to back it up or share it. | |
| Import Strategy... | Adds a strategy from a file. |
Rules
| Command | Shortcut | What it does |
|---|---|---|
| Add Rule... | Ins | Adds a rule and opens the rule editor. |
| Remove Rule | Del | Deletes the selected rule. |
| Cut | Ctrl+X | Moves the selected rule to the clipboard. |
| Copy | Ctrl+C | Copies the selected rule to the clipboard. |
| Paste | Ctrl+V | Pastes a rule from the clipboard into the selected strategy. |
| Edit Rule... | Opens the selected rule in the rule editor. You can also double-click the rule. | |
| Move Up / Move Down | Moves the selected rule up or down the list. | |
| Clone Rule | Makes a copy of the selected rule in the same strategy. |
View › Always on Top (Ctrl+Shift+T) keeps the window above the main window, so you can watch the market while you edit. Help › Help on this window (F1) opens the help.
Create a strategy
- Click New Strategy (or press Ctrl+Ins). A strategy called Untitled #1 appears in the list.
- Click Rename Strategy (or press F2), type a name that says what the strategy does and press Enter.
- Click Add Rule... (or press Ins) and set up the rule in the rule editor. Repeat for each rule you need.
- Click Save (or press Ctrl+S).
Now assign the strategy to a market to run it.
Work with rules
- Turn a rule on or off with the tick box in front of its name. A rule that's turned off is skipped, but stays in the strategy so you can turn it back on later.
- Put rules in order with Move Up and Move Down. FairBot checks the rules from top to bottom on every refresh, so put a rule that has to happen first (cancelling old bets, say) above the rule that depends on it.
- Reuse a rule with Clone Rule, or copy it and paste it into another strategy.
Save your changes
Changes you make in the Strategy Editor are kept only when you click Save. Until then, the strategy's name is red. If you close the window with unsaved changes, FairBot asks whether to save them.
When you save, every market already running the strategy picks up the new version. If you remove a strategy, FairBot takes it off the markets it was running on.
Share strategies: export and import
Strategies are saved as FairBot Strategy files, with the extension .fs.
- To share a strategy or keep a backup, select it and click Export Strategy..., then choose where to save the file.
- To add a strategy someone sent you, click Import Strategy... and choose the .fs file. It appears in the list; click Save to keep it.
Warning
Open an imported strategy and read every rule before you run it: check the stakes, the Execution Count and the conditions. Then try it in simulation mode.



