File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -110,9 +110,7 @@ integrate both into your script.
110110``` python
111111import gdax
112112auth_client = gdax.AuthenticatedClient(key, b64secret, passphrase)
113- # Set a default product
114- auth_client = gdax.AuthenticatedClient(key, b64secret, passphrase,
115- product_id = " ETH-USD" )
113+
116114# Use the sandbox API (requires a different set of API access credentials)
117115auth_client = gdax.AuthenticatedClient(key, b64secret, passphrase,
118116 api_url = " https://api-public.sandbox.gdax.com" )
@@ -246,7 +244,7 @@ can react to the data streaming in. The current client is a template used for
246244illustration purposes only.
247245
248246- onOpen - called once, * immediately before* the socket connection is made, this
249- is where you want to add inital parameters.
247+ is where you want to add initial parameters.
250248- onMessage - called once for every message that arrives and accepts one
251249argument that contains the message of dict type.
252250- onClose - called once after the websocket has been closed.
You can’t perform that action at this time.
0 commit comments