drift-labs / driftpy

python sdk to interact with drift v2
https://drift-2.gitbook.io/driftpy-for-dummies/
56 stars 36 forks source link

Example has error? #92

Closed wkshare closed 4 months ago

wkshare commented 5 months ago

error info:

AttributeError: type object 'DriftClient' has no attribute 'from_config'
wkshare commented 5 months ago

error2 info:

    raise KeyError(f"No sub account id {sub_account_id} found")
KeyError: 'No sub account id 0 found'
0xbigz commented 4 months ago

i would check this for example code, looks like doc needs an update:

https://github.com/drift-labs/driftpy/tree/master/examples