Skip to content

Commit 2a1db82

Browse files
authored
Merge pull request #122 from panditanvita/patch-1
No more default product_id
2 parents 22a28a7 + 7d8568d commit 2a1db82

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ integrate both into your script.
110110
```python
111111
import gdax
112112
auth_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)
117115
auth_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
246244
illustration 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
251249
argument that contains the message of dict type.
252250
- onClose - called once after the websocket has been closed.

0 commit comments

Comments
 (0)