Skip to content

Change default settings #16

@Jabarda

Description

@Jabarda

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions