Skip to content

Conversation

@0xfMissingNo
Copy link

@0xfMissingNo 0xfMissingNo commented Sep 23, 2021

was going to make TorClient for myself; noticed some TODOs that'd look like would helpful to knock out. lmk and I'll remove the TorClient

In [1]: from dydx3.constants import API_HOST_MAINNET

In [2]: from dydx3 import TorClient as Client

In [3]: public_client = Client(
   ...:     host=API_HOST_MAINNET,
   ...: )

In [4]: public_client.public.get_markets()
Out[4]: 
{'markets': {'FIL-USD': {'market': 'FIL-USD',
   'status': 'ONLINE',
   'baseAsset': 'FIL',
   'quoteAsset': 'USD',
   'stepSize': '0.1',

@0xfMissingNo 0xfMissingNo force-pushed the new-session-for-each-client-instance branch from 803a961 to fd01fc6 Compare September 23, 2021 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant