kraken-grid 1.4.7 → 1.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/static/client.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kraken-grid",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "Bot repeatedly buys & sells on kraken from a conditional close order.",
5
5
  "main": "dist/init.js",
6
6
  "type": "module",
package/static/client.js CHANGED
@@ -98,7 +98,7 @@ function howMuch(tkr, np) {
98
98
  t = data.total,
99
99
  [hp,lp] = data.ranges[tkr] || [0,0],
100
100
  f = Math.min(1,(hp - Math.min(hp,np))/(hp-lp)) || 1,
101
- [b,ma] = (data.adjust[tkr]
101
+ [b,ma] = data.adjust[tkr]
102
102
  ? data.adjust[tkr].split('+')
103
103
  : [desired].map(Number),
104
104
  tot1 = 0, // How much is off the Exchange?