You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(bots): merge gridPrice into Price section and document it
Consolidate the bot editor menu from 6 to 5 items: gridPrice is now
prompted as part of section 3 (Price) alongside range and startPrice,
displayed as the Grid: label. README updated with gridPrice field
description under section 3.
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,12 +132,13 @@ Below is a reference guide for each configuration option from `node dexbot bots`
132
132
|**`dryRun`**| boolean | If `true`, simulates orders without broadcasting to the blockchain. |
133
133
|**`preferredAccount`**| string | The BitShares account name to use for trading. |
134
134
135
-
#### 3. Price Range
135
+
#### 3. Price
136
136
| Parameter | Type | Description |
137
137
| :--- | :--- | :--- |
138
-
|**`startPrice`**| num \| str |Default start price from liquidiy pool (`"pool"`), `"market"` (order book) or a number`A/B`is also possible. |
138
+
|**`startPrice`**| num \| str |Initial price for order alignment. `"pool"` (liquidity pool), `"market"` (order book), or a numeric`A/B`ratio. |
139
139
|**`minPrice`**| number \| string | Lower bound. Use a number (e.g., `0.5`) or multiplier (e.g., `"2x"` = `startPrice / 2`). |
140
140
|**`maxPrice`**| number \| string | Upper bound. Use a number (e.g., `1.5`) or multiplier (e.g., `"2x"` = `startPrice * 2`). |
141
+
|**`gridPrice`**| num \| str \| null | Reference price for x-factor bound calculations, independent of `startPrice`. Options: `null` (default — uses `startPrice`), a numeric price, or an AMA keyword (`"ama"`, `"ama1"`–`"ama4"`). When set to an AMA keyword, the market adapter writes the current AMA center price to `profiles/orders/<botKey>.gridprice.json` and the grid reads it on each reset. |
0 commit comments