coinbase / coinbase-advanced-py

The Advanced API Python SDK is a Python package that makes it easy to interact with the Coinbase Advanced API. The SDK handles authentication, HTTP connections, and provides helpful methods for interacting with the API.
https://docs.cdp.coinbase.com/advanced-trade/docs/welcome/
Apache License 2.0
101 stars 27 forks source link

Advanced Trade Sandbox #31

Closed vinooganesh closed 4 months ago

vinooganesh commented 6 months ago

Hi @urischwartz-cb - I know this isn't an issue on this project, but I've had a really hard time finding information about this. Is there a sandbox in development for the advanced trade API? I know there are some preview methods, but it would be great to have a place to actually play with this (outside of production). Thanks!

github-actions[bot] commented 6 months ago

Thank you for reporting! If this is an SDK specific issue, we will look into it and get back to you soon. If this is an API related request, report it in our Advanced API forum instead.

xiaofeihuang-cb commented 6 months ago

@vinooganesh Currently, we don't have a development sandbox available for the advanced trade API.

vinooganesh commented 6 months ago

Thanks, @xiaofeihuang-cb. Understood. I'm not sure if this is possible or even within the scope of this library, but it would be really cool to have mocked method responses for testing (I come from Java so I've used Mockito before, which seems to have a python lib: https://pypi.org/project/mockito/). The goal would be to be able to proxy messages and responses without having to actually send the orders to Coinbase to observe API behavior. Is that something you'd be willing to build/support? If so, I'd be happy to open a new ticket or even contribute