Adrian Gallagher
4651af5767
modernise: Run new gopls modernise tool against the codebase and fix minor issues ( #1826 )
...
* modernise: Run new gopls modernise tool against codebase
* Address shazbert's nits
* apichecker, gctcli: Simplify HTML scraping functions and improve depth limit handling
* refactor: Create minSyncInterval const and update order book limit handling for binance and binanceUS
* refactor: Various slice usage improvements and rename TODO
* tranches: Revert deleteByID changes due to performance decrease
Shazbert was a F1 driver in a past lifetime 🏎️
* tranches: Simply retrieve copy
Thanks to shazbert
* documentation: Sort contributors list by contributions
* tranches: Remove deadcode in deleteByID
2025-03-21 09:17:10 +11:00
Adrian Gallagher
f5faca2eb2
linter: Enable gofumpt and run against codebase ( #1848 )
...
* linter: Enable gofumpt and run against codebase
* Address shazbert's nits
* gofumpt: Fix issues after rebase
2025-03-18 10:23:16 +11:00
Adrian Gallagher
225429bda6
CI/build: Update Go version, linters and fix minor issues ( #1612 )
...
* CI/build: Update Go version, linters and fix minor issues
* linters: Add intrange, copyloopvar, additional go vet linters to match gopls and fix issues
2024-08-16 17:41:11 +10:00
Scott
bcabf44b8c
gctcli: Add colourful exchange-style rendering to orderbook fetching commands (optional) ( #1348 )
...
* fancybook
* fix bug
* oopsie-doodle
* now I remember why we don't use required
2023-09-14 10:10:22 +10:00
Scott
f307152cbf
cli: fix description output using new version of urfave/cli/v2
2022-12-23 11:49:07 +11:00
Ryan O'Hara-Reid
9acbdbf203
depth: Add methods to derive liquidity allowances on orderbooks by volume and slippage ( #962 )
...
* depth: methods to derive liquidity impact details
* depth: fix comments on link list methods
* depth: fix whoopsie
* Update exchanges/orderbook/linked_list_test.go
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
* glorious: nits
* orderbook: standardise methods to GCT math package
* averagePrice: implementation (WIP)
* ll: hmmmmmm
* continued
* orderbook: reworked functions
* WIP
* orderbook: add tests link up with RPC
* orderbook: refined calculations, add tests (WIP)
* orderbook: add tests finalise/verify remove state until next PR if needed
* rpcserver/orderbook: remove redundant type and change wording
* linter: fix
* Update exchanges/orderbook/linked_list.go
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
* gctcli: noobed it up
* orderbook: work work work (yesterday)
* depth: WIP and testing
* orderbook: improve calculations for bids traversal
* orderbook: adjust tests
* orderbook: linters/nits
* orderbook: fix error returns and add asset to whalebomb
* orderbook: drop error when full book is potentially consumed
* Update cmd/gctcli/orderbook.go
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
* orderbook: Add tests and nits
* glorious: nits
* backtester: handle new errors
* grpc: linter
* orderbook: remove pesky t.Log()s
* glorious: nits (yesterday)
* depth/gctcli: Add in purchase requirements into orderbook movement, will also standardize in next commit after tests are fixed.
* orderbook: standardize and overhaul
* orderbook: update comments, update tests
* rpcserver: add average ordercost and amounts
* depth: add spread and imbalance methods
* linter: fix
* glorious: nits
* orderbook: don't purge price, rn test.
* glorious: codes nits
* linter: fix
* Update exchanges/orderbook/linked_list.go
Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io >
* Update exchanges/orderbook/linked_list.go
Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io >
* Update exchanges/orderbook/linked_list.go
Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io >
* Update exchanges/orderbook/linked_list.go
Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io >
* Update exchanges/orderbook/linked_list.go
Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io >
* thrasher: nits
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io >
Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io >
2022-10-14 16:43:37 +11:00