-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: introduce usd liability allocation (#487)
* wip * refactor: better templates for allocation * fix: run tests serially * chore :add spawn_global_liability_listener * refactor: move allocation logic to hedging app * test: add exchange_allocation test * chore: bump flake * feat: add bitfinex allocation in ledger * test: conditionally execute galoy-client test * fix: clippy * test: remove warnings in test * refactor: adjust_exchange_allocation template * fix: correct usd -> cents conversion when allocating * chore: okex allocation initialisation on start * refactor: push ledger init hack into fn * test: add file_serial to ledger related tests * refactor: remove redundant if in hack init * refactor: extract adjust_exchange_allocation in hedging app * chore: delete decrease_exchange_allocation template * fix: missing await --------- Co-authored-by: bodymindarts <justin@galoy.io>
- Loading branch information
1 parent
7af398f
commit b5b9dff
Showing
30 changed files
with
593 additions
and
134 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.