-
Notifications
You must be signed in to change notification settings - Fork 793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coinbase: Update exchange implementation #1480
Open
cranktakular
wants to merge
64
commits into
thrasher-corp:master
Choose a base branch
from
cranktakular:coinbase_api_revamp
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 49 commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
a006163
Slight enhance of Coinbase tests
cranktakular 074f367
Merge branch 'master' into coinbase_api_revamp
cranktakular bd9f2dd
Coinbase revamp; CreateReport is still WIP
cranktakular 25fcd2e
More coinbase improvements; onto sandbox testing
cranktakular 5d3fd99
Coinbase revamp continues
cranktakular 3aca36b
Coinbase revamp continues
cranktakular f58b76d
Merge branch 'coinbase_api_revamp' of github.com:cranktakular/gocrypt…
cranktakular eded160
Coinbasepro revamp is ceaseless
cranktakular 5a0ba23
Coinbase revamp, starting on advanced trade API
cranktakular 88e6713
Coinbase Advanced Trade Starts in Ernest
cranktakular aa2efef
Coinbase revamp stage wrapper
cranktakular 3560599
Merge branch 'master' into coinbase_api_revamp
cranktakular 4593828
Coinbase wrapper coherence continues
cranktakular a8cae40
Coinbase wrapper continues writhing
cranktakular 0564e45
Coinbase wrapper & codebase cleanup
cranktakular 4f5ccb5
Coinbase updates & wrap progress
cranktakular 9a6c7e6
More Coinbase wrapper progress
cranktakular 2896b3e
Wrapper is wrapped, kinda
cranktakular ffb43d8
Test & type checking
cranktakular 7dd4589
Coinbase REST revamp finished
cranktakular 6d7ac5f
Merge branch 'master' into coinbase_api_revamp
cranktakular 2881841
Post-merge fix
cranktakular 2166886
WS revamp begins
cranktakular 35eda67
WS Main Revamp Done?
cranktakular 6ac86cd
CB websocket tidying up
cranktakular cfe6e11
Coinbase WS wrapperupperer
cranktakular 2f770d5
Coinbase revamp done??
cranktakular 3e54528
Merge branch 'master' into coinbase_api_revamp
cranktakular 2f05c05
Linter progress
cranktakular 005af4a
Continued lint cleanup
cranktakular 2b5df7c
Further lint cleanup
cranktakular 93d6722
Increased lint coverage
cranktakular 529f7f3
Does this fix all sloppy reassigns & shadowing?
cranktakular 8bb2561
Undoing retry policy change
cranktakular 5f813e3
Documentation regeneration
cranktakular c7d7ac2
Coinbase code improvements
cranktakular 8cdc78a
Providing warning about known issue
cranktakular 19245e3
Merge branch 'master' into coinbase_api_revamp
cranktakular 79ac205
Updating an error to new format
cranktakular e073757
Making gocritic happy
cranktakular a65fc38
Review adherence
cranktakular 254efe7
Merge branch 'master' into coinbase_api_revamp
cranktakular 14ab490
Endpoints moved to V3 & nil pointer fixes
cranktakular bee2878
Removing seemingly superfluous constant
cranktakular 1d51a2e
Glorious improvements
cranktakular 90e20e1
Merge master, resolving conflict
cranktakular 4d1afc2
Removing unused error
cranktakular 55596d8
Partial public endpoint addition
cranktakular 343052b
Slight improvements
cranktakular ea43046
Wrapper improvements; still a few errors left in other packages
cranktakular 6dbb243
A lil Coinbase progress
cranktakular f3fc162
Merge with master + improvements
cranktakular a5a3bad
Json cleaning
cranktakular 742b21e
Lint appeasement
cranktakular 71e0fa5
Config repair
cranktakular 01ccd01
Config fix (real)
cranktakular 228c3ba
Merge master maybe?
cranktakular 91d4b24
Little fix
cranktakular 75425fd
New public endpoint incorporation
cranktakular 44ff400
Merge branch 'master' into coinbase_api_revamp
cranktakular eec8a5d
Additional fixes
cranktakular bbcc27b
Improvements & Appeasements
cranktakular e8a06e8
LineSaver
cranktakular d70d599
Merge branch 'master' into coinbase_api_revamp
cranktakular File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
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
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
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
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you've thought about this already, but worth mentioning in case it hasn't been covered already:
As a design pattern I think it's preferable to find any way to consolidate all information about an exchange onto it's own packages.
Off the top of my head I'm thinking about adding an exported constant using build tags for tests, and then using reflect to check for it.
The things I'm aiming for with that are:
I'm not suggesting you need to do this, especially in light of
blockedCIExchanges
already existing, but wanted to share it in case you want to engage, and for any other work in flight where it's appropriate.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After incorporating public endpoints from an earlier version of the API, I no longer need that blockedExchanges variable to exist so I've removed it.
Moving towards that sort of design for other similar stuff within those standards seems like a good idea, but I think it's a bit out of scope for my current work.