-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
| def get_positions( |
Now if you simply pass user= to the method, it will be called with the following parameters
{'limit': 100, 'mergeable': False, 'offset': 0, 'redeemable': False, 'sizeThreshold': 1, 'sortBy': 'TOKENS', 'sortDirection': 'DESC', 'user': '0x'}
They will secretly filter positions:
'mergeable': False - If a user has YES + NO to a particular market, they will not return. If user have YES+NO market and one-side market, it is impossible to get positions with one API call.
'sizeThreshold': 1 - I don't see any reason to use this filter by default.
I suggest not to transfer these filters by default.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels