Adrian Gallagher
b8e836d74f
common: Replace StringDataCompare with slices.Contains and cleanup string funcs ( #1631 )
...
* common: Replace StringDataCompare with slices.Contains and cleanup string funcs
* common/docs: Update SliceDifference and remove outdated steps from ADD_NEW_EXCHANGE.md
* common: Improve SliceDifference
2024-09-13 10:43:20 +10:00
Ryan O'Hara-Reid
22cb0eb9b9
stream: Add verbosity to outbound requests that also returns responses ( #1640 )
...
* Add verbosity
* Update exchanges/stream/websocket_connection.go
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
* glorious: nits
* Update exchanges/stream/websocket_test.go
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
* Update exchanges/stream/websocket_connection.go
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
* reduce double log on ultimate verbose
* glorious: extra
* Update exchanges/stream/websocket_connection.go
Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io >
* nits for sauron
---------
Co-authored-by: shazbert <ryan.oharareid@thrasher.io >
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io >
2024-09-12 15:37:54 +10:00
Ryan O'Hara-Reid
46f3080737
gateio: fix and optimise time parsing ( #1647 )
...
Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io >
2024-09-12 13:21:31 +10:00
dependabot[bot]
a82f0bff59
build(deps): Bump github.com/mattn/go-sqlite3 from 1.14.22 to 1.14.23 ( #1644 )
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.22 to 1.14.23.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.22...v1.14.23 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 16:39:31 +10:00
dependabot[bot]
4a4d666da0
build(deps): Bump bufbuild/buf-setup-action from 1.39.0 to 1.40.1 ( #1642 )
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.39.0 to 1.40.1.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.39.0...v1.40.1 )
---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 16:36:41 +10:00
dependabot[bot]
360afa5b7b
build(deps): Bump golang.org/x/net from 0.28.0 to 0.29.0 ( #1643 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/net/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 16:35:51 +10:00
Ryan O'Hara-Reid
cb6b3421a7
exchanges/websocket: update websocket rate limiting to use requester rate limiting functionality ( #1578 )
...
* exchanges/websocket: update websocket rate limiting to use requester rate limiting functionality.
* glorious: nits
* rm unsused
* updoo
* glorious: purgerino
* reduce duplicate code
* thrasher: engrish
---------
Co-authored-by: shazbert <ryan.oharareid@thrasher.io >
2024-09-02 16:43:05 +10:00
dependabot[bot]
7c9e6518f3
build(deps): Bump bufbuild/buf-setup-action from 1.38.0 to 1.39.0 ( #1638 )
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.38.0 to 1.39.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.38.0...v1.39.0 )
---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 16:01:58 +10:00
dependabot[bot]
2605eab0e3
build(deps): Bump google.golang.org/grpc from 1.65.0 to 1.66.0 ( #1637 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.65.0 to 1.66.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.65.0...v1.66.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 15:55:13 +10:00
Adrian Gallagher
649f3df266
engine: Add overridable exchanges command line flag ( #1630 )
...
* engine: Add overridable exchanges command line flag
* Improve tests
* engine: Add additional SetupExchanges edge case test and prevent suppressed dry run warnings
2024-08-27 12:54:38 +10:00
Adrian Gallagher
15e0eedc8b
tests: Fix various issues ( #1634 )
...
* GateIO: Align struct for int64 usage
* CI/build: Skip specific tests when run under Docker
* slippage: Fix TestRandomSlippage intermittent issue
2024-08-27 12:54:11 +10:00
dependabot[bot]
f3dda7127d
build(deps): Bump bufbuild/buf-setup-action from 1.37.0 to 1.38.0 ( #1633 )
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.37.0...v1.38.0 )
---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 16:43:16 +10:00
Adrian Gallagher
74f4df6348
okcoin: Remove exchange implementation ( #1626 )
...
* okcoin: Remove exchange implementation
* exchanges/order: Rid TradeMode from Submit type
2024-08-24 12:19:04 +10:00
Ryan O'Hara-Reid
1cabba73b9
common/gateio/stream: add thread-safe counter and overide default GenerateMessageID with connection specific implementation ( #1615 )
...
* add counter and update gateio
* Update exchanges/gateio/gateio.go
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
* thrasher: nits
* add test case
* linter: fix
* revert change
* thrasher nits
---------
Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io >
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
2024-08-24 12:18:20 +10:00
dependabot[bot]
03e9809acd
build(deps): Bump github.com/grpc-ecosystem/grpc-gateway/v2 ( #1621 )
...
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway ) from 2.21.0 to 2.22.0.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases )
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/.goreleaser.yml )
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.21.0...v2.22.0 )
---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 16:54:27 +10:00
dependabot[bot]
d7907c2d1c
build(deps): Bump bufbuild/buf-setup-action from 1.36.0 to 1.37.0 ( #1622 )
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.36.0 to 1.37.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.36.0...v1.37.0 )
---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 16:48:01 +10:00
Ryan O'Hara-Reid
17c2ef2ec7
stream/match: Reduce complexity and limit locking when match occurs ( #1581 )
...
* stream match update
* update tests
* linter: fix
* glorious: nits + handle context cancellations
* glorious: whooops
* Websocket: Add SendMessageReturnResponses
* whooooooopsie
* gk: nitssssss
* Update exchanges/stream/stream_match.go
Co-authored-by: Gareth Kirwan <gbjkirwan@gmail.com >
* Update exchanges/stream/stream_match_test.go
Co-authored-by: Gareth Kirwan <gbjkirwan@gmail.com >
* linter: appease the linter gods
* glorious: nits
* glorious: nits
* Update exchanges/stream/stream_match_test.go
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
---------
Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io >
Co-authored-by: Gareth Kirwan <gbjkirwan@gmail.com >
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
2024-08-19 10:35:46 +10: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
Ryan O'Hara-Reid
facf291069
currency/exchanges: Add bespoke exchange translator and pair matching helper ( #1556 )
...
* currency: translation and matching pairs
* Update exchanges/exchange_types.go
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
* glorious: nits
* linter: fix?
* translation
* fix cherry pick
* gateio: translation for mbabydoge with 1e6 divisor
* okx: add translation
* cherry-pick: fix
* glorious: todos
* thrasher: nits
---------
Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io >
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
2024-08-16 16:47:17 +10:00
Gareth Kirwan
0becfbd0a6
Kraken: Fix TestGetOpenInterest ( #1611 )
...
* Kraken: Fix TestGetOpenInterest
We see daily failures on OpenInterest for Kraken.
This fix assumes that the issue might be related to volume of ETHUSD
open interest, and switches the single pair test to XBTUSD instead
Also isolates the test from others, since we're changing stored pairs
and we might be colliding on the global k
* Kraken: Handle Errors field in futures response
2024-08-16 14:47:32 +10:00
Ryan O'Hara-Reid
91ff6c5c12
orderbook/gateio: add field UpdatePushedAt and InsertedAt for specific websocket updates ( #1590 )
...
* Add in extra field for colocation monitoring
* rm tags
* populate through gateio orderbooks
* populate through incremental updates
* Add insert at field for orderbook depth
* I AM A BAD SPELLLLLLA
* add it in
* c change
---------
Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io >
2024-08-15 16:11:22 +10:00
dependabot[bot]
b602d54bbe
build(deps): Bump github.com/urfave/cli/v2 from 2.27.3 to 2.27.4 ( #1608 )
...
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli ) from 2.27.3 to 2.27.4.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v2.27.3...v2.27.4 )
---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 16:50:41 +10:00
dependabot[bot]
19577349ca
build(deps): Bump bufbuild/buf-setup-action from 1.35.1 to 1.36.0 ( #1610 )
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.35.1 to 1.36.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.35.1...v1.36.0 )
---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 16:29:26 +10:00
dependabot[bot]
5f44655310
build(deps): Bump golang.org/x/net from 0.27.0 to 0.28.0 ( #1607 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-12 16:26:14 +10:00
Gareth Kirwan
b41fe27684
Kucoin: Add subscription templating and various fixes ( #1579 )
...
* Currency: Variadic Pairs.Add
This version of Pairs.Add is simpler and [more
performant](https://gist.github.com/gbjk/06a1fc1832d04ee41213ca518938cf74 )
Behavioural difference: If there's nothing to add, the same slice is
returned unaltered. This seems like good sauce
* Currency: Variadic Remove
* Common: Add Batch function
* Common: Add common.SortStrings for stringers
* Subscriptions: Add batching to templates
* Subscriptions: Sort list of pairs
* Kucoin: Switch to sub templating
* Kucoin: Simplify channel prefix usage
* Kucoin: Fix race on fetchedFuturesOrderbook
* Subscriptions: Filter AssetPairs
Now only the assetPairs relevant to the subscription are in the context
* Subscriptions: Respect subscription Pairs
* Subscriptions: Trim AssetSeparator early
We want to trim before checking for "AssetSeparator vs All" because a
template should be allowed to reuse a range template and generate just one trailing AssetSeparator
whilst using a specific Asset
* Kucoin: Fix empty margin asset added
* Kucoin: Add Subscription batching
Turns out that contary to the documentation, kucoin supports batching of
all symbols and currencies
* Kucoin: Fix checkSubscriptions and coverage
* Subscriptions: Simplify error checking
This reduces the complexity of error checking to just be "do we get the
correct numbers".
Fixes Asset.All with only one asset erroring on xpandPairs, because we
trimmed the only asset separator, and then errored that we're not
xpanding Assets and the asset on the sub is asset.All
This use-case conflicted with commit 6bbd546d74, which required:
```
Subscriptions: Trim AssetSeparator early
We want to trim before checking for "AssetSeparator vs All" because a
template should be allowed to reuse a range template and generate just one trailing AssetSeparator
whilst using a specific Asset
```
Now we set up the assets earlier, and we remove the check for xpandAssets, since the number of asset lines matching is all that matters.
I've removed the asset tests for this, but they were correctly erroring
on the number of asset lines instead.
Everything hits coverage, as well.
* Kucoin: Remove deprecated fundingBook endpoint
* BTCMarkets: Use common.Batch
2024-08-09 12:33:15 +10:00
dependabot[bot]
7e83f10e0f
build(deps): Bump golang.org/x/time from 0.5.0 to 0.6.0 ( #1602 )
...
Bumps [golang.org/x/time](https://github.com/golang/time ) from 0.5.0 to 0.6.0.
- [Commits](https://github.com/golang/time/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/time
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 18:00:15 +10:00
dependabot[bot]
deaee80fd4
build(deps): Bump github.com/grpc-ecosystem/grpc-gateway/v2 ( #1595 )
...
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway ) from 2.20.0 to 2.21.0.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases )
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/.goreleaser.yml )
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.20.0...v2.21.0 )
---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 15:53:21 +10:00
dependabot[bot]
1db4622449
build(deps): Bump bufbuild/buf-setup-action from 1.34.0 to 1.35.1 ( #1596 )
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.34.0 to 1.35.1.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.34.0...v1.35.1 )
---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 15:41:02 +10:00
dependabot[bot]
d60ea772a4
build(deps): Bump github.com/urfave/cli/v2 from 2.27.2 to 2.27.3 ( #1594 )
...
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli ) from 2.27.2 to 2.27.3.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v2.27.2...v2.27.3 )
---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 15:40:08 +10:00
Adrian Gallagher
0c5d049b05
Kraken: Simplify REST error and result handling ( #1591 )
...
* Kraken: Simplify REST error and result handling
* Kraken: Rid excessive map lookups or large copies when iterating
* Kraken: Prealloc orderbook types.Numer size
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
---------
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
2024-07-29 12:36:38 +10:00
Adrian Gallagher
ba3dcc8e25
Bybit: Fix UpdateAccountInfo coin balance issue, improve GetWalletBalance and enhance test coverage ( #1588 )
...
* Bybit: Fix UpdateAccountInfo and enhance GetWalletBalance
* Update struct field and comments
2024-07-29 12:36:10 +10:00
Gareth Kirwan
d1e36691b3
Subscriptions: Add List.Clone ( #1592 )
2024-07-26 16:44:07 +10:00
Ryan O'Hara-Reid
425ec0ce62
orders/gateio: Add GetTradeAmount method to order.Submit type ( #1584 )
...
Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io >
2024-07-23 14:30:42 +10:00
Ryan O'Hara-Reid
45ef2b1445
Gateio: Add unified account API endpoint support ( #1573 )
...
* gateio: Add unified account fetching
* Add test change name add commentary
* glorious: nits
---------
Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io >
2024-07-23 13:21:13 +10:00
Gareth Kirwan
34d9920c78
Okx: Fix TestGetBlockTrade transient fail ( #1583 )
...
Last block trade has fallen outside 7 days many times now.
Switching to within 90 days, which appears safe.
2024-07-19 10:40:26 +10:00
Gareth Kirwan
4f1696fa0b
Subscriptions: Fix subscription.Clone Params and Pairs ( #1582 )
...
* Subscriptions: Fix subscription.Clone Params and Pairs
* fixup! Subscriptions: Fix subscription.Clone Params and Pairs
2024-07-19 10:36:59 +10:00
Ryan O'Hara-Reid
db59b8540e
log: allow external definition of log handling ( #1561 )
...
* poc
* linter: fix
---------
Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io >
2024-07-19 10:10:27 +10:00
cranktakular
90fee94c76
currency: Make pairs.Add variadic ( #1566 )
...
* Making Pairs(Add) Variatic
* Slight improvements
* Implementation overhaul
* Improvements
* Changing code which can use the variadic functionality
* Fixing silliness
* thing left over
2024-07-12 14:36:05 +10:00
Gareth Kirwan
c601575c66
subscriptions: Add templating support and integrate with Binance ( #1568 )
...
* Subscriptions: Add List.AssetPairs
* Subscriptions: Add Template and QualifiedChannel
These fields separate the concept of what the channel is from the
qualified resource name
* Subscriptions: Add List.SetStates()
* Subscriptions: Add List.QualifiedChannels
* Subscriptions: Rename testsubs.EqualLists
* Binance: Switch to ExpandTemplates
* Binance: Update ConfigTest format
* Subscriptions: Test Coverage improvements
* Subscriptions: Reenterant List.ExpandTemplates
* Subscriptions: Move templates from subscriptions to exchanges
* Binance: Inline subscription template and improvements
2024-07-09 15:53:00 +10:00
dependabot[bot]
00c5c95468
build(deps): Bump google.golang.org/grpc from 1.64.0 to 1.65.0 ( #1576 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.65.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 17:14:21 +10:00
dependabot[bot]
d4c3a66c8f
build(deps): Bump golang.org/x/net from 0.26.0 to 0.27.0 ( #1577 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 17:03:37 +10:00
Ryan O'Hara-Reid
03c1fb7f5c
Bybit: Add missing field min notional ( #1574 )
...
* bybit: Adds min notional value for contract trading
* update tests
---------
Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io >
2024-07-04 10:00:57 +10:00
Ryan O'Hara-Reid
48349bc3bb
protocol/order: adds additional fields for trading requirements ( #1552 )
...
* Add in initial handling for quote/base currency deployment requirements
* include client order ID checking
* glorious: suggestions
* spell and fix
* linter/context/test
* rework tests and order side specific requirements
* linter
* mend panic at the disco
* mending more panics at the disco
* anudda fix brudda
* glorious: NITTTTTT BOOOOOMB
* leftover things and stuff
* whoops
* tie in gateio
* glorious: nit fixes life and everything.
* thrasher: nits
---------
Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io >
2024-07-03 16:07:23 +10:00
Gareth Kirwan
b7a2f617d9
Bybit: Fix WS ticker processing ( #1538 )
...
* Bybit: Fix WS ticker processing
* Bybit: Refactor SetDefaults
2024-07-03 16:05:11 +10:00
dependabot[bot]
258b60c082
build(deps): Bump bufbuild/buf-setup-action from 1.33.0 to 1.34.0 ( #1572 )
...
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.33.0 to 1.34.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.33.0...v1.34.0 )
---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 10:21:15 +10:00
dependabot[bot]
59469331ff
build(deps): Bump github.com/gorilla/websocket from 1.5.2 to 1.5.3 ( #1569 )
...
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket ) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/gorilla/websocket/releases )
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.2...v1.5.3 )
---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-20 10:39:34 +10:00
dependabot[bot]
2cf2eadc37
build(deps): Bump bufbuild/buf-setup-action from 1.32.2 to 1.33.0 and fix linter issues ( #1571 )
...
* build(deps): Bump bufbuild/buf-setup-action from 1.32.2 to 1.33.0
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action ) from 1.32.2 to 1.33.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases )
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.32.2...v1.33.0 )
---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* buf: Fix linter issues
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io >
2024-06-18 11:58:58 +10:00
dependabot[bot]
5f05907e28
build(deps): Bump google.golang.org/protobuf from 1.34.1 to 1.34.2 ( #1570 )
...
Bumps google.golang.org/protobuf from 1.34.1 to 1.34.2.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 16:21:14 +10:00
Gareth Kirwan
98f025e38f
BTSE: Various fixes ( #1550 )
...
* Common: DriveBy sanitisation of vars
* BTSE: Unify to exchange OrderLimits
* BTSE: Remove SeedAssets and test GetOrderExcutionLimit
* BTSE: Fix handling for K_* pairs
In addition to the M_ pairs we previously handled, BTSE has now
introduced K_* pairs (K_SATS-USD*).
This change moves the handling over to look for an exponent, and moves
the filtering to happen on all market data.
The original MarketSummary is still availiable, but I can't see any of
our current use-cases wanting to get the unfiltered list
* BTSE: Fix marketSummary futures field
BTSE returns no futures field for futures api marketInfo, and the documentation for the futures api shows returning false.
When we know we asked for futures, it makes the data flow much saner if
we can trust this field and not have to track what asset we asked for
* BTSE: Abstract marketPair.Pair()
* BTSE: Fix UpdateTicker symbol format
2024-06-14 13:09:19 +10:00
Ryan O'Hara-Reid
4c4b6935be
gateio: update FuturesAccount and Position structs; rename gateioTime to Time ( #1532 )
...
* gateio: update FuturesAccount struct
* gateio: update Position struct
* gateio: rm redundant checks and add in actual required checks
* export GateioTime
* linter: fix
* linter: again fix
* issue: fix
* gateio: update fee struct and such
* Update exchanges/gateio/gateio_types.go
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
* Update exchanges/gateio/gateio_convert.go
Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io >
* use Time type acrost file
---------
Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io >
Co-authored-by: Scott <gloriousCode@users.noreply.github.com >
Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io >
2024-06-14 11:54:27 +10:00