Skip to content

Commit c72652d

Browse files
authored
Fix position deviation calculation by using price instead of sqrt price (#821)
* Fix calculation of position deviation. Update README. Add changeset. * Update README and add comments to cargo.toml * Yarn format * Remove Cargo.lock from .gitignore * Update dependabot * Fix depandabot.yml * Fix depandabot.yml * Fix depandabot.yml * Fix depandabot.yml * Fix depandabot.yml
1 parent 40d30a5 commit c72652d

File tree

14 files changed

+25360
-38
lines changed

14 files changed

+25360
-38
lines changed

.changeset/sour-ideas-jam.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@orca-so/whirlpools-example-rust-repositioning-bot": patch
3+
---
4+
5+
Fix calculation of position deviation

.github/dependabot.yml

+13-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "daily"
7-
labels: [ ]
7+
labels: []
88
groups:
99
docusaurus:
1010
applies-to: version-updates
@@ -14,13 +14,23 @@ updates:
1414
directory: "/"
1515
schedule:
1616
interval: "daily"
17-
labels: [ ]
17+
labels: []
1818
groups:
1919
program-dependencies:
2020
applies-to: version-updates
2121
dependency-type: production
22+
- package-ecosystem: "cargo"
23+
directories: ["/examples/*", "/rust-sdk/*", "/ts-sdk/*"]
24+
schedule:
25+
interval: "daily"
26+
labels: []
27+
groups:
28+
program-dependencies:
29+
applies-to: version-updates
30+
dependency-type: production
31+
versioning-strategy: lockfile-only
2232
- package-ecosystem: "github-actions"
2333
directory: "/"
2434
schedule:
2535
interval: "daily"
26-
labels: [ ]
36+
labels: []

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ generated
2525
.docusaurus
2626
.cache-loader
2727
.devcontainer
28-
**/Cargo.lock
2928
.next
3029
.env
3130
wallet.json

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)