vega
vega copied to clipboard
Add filters to the trade API
Request
Currently trades API only allows filtering by market, party, order, and datetime range.
We shoudl add filters for:
- [ ] buyer
- [ ] seller
- [ ] aggressor
- [ ] type
This would allow the Console to find closeout trades by filtering on TYPE_NETWORK_CLOSE_OUT_BAD
and buyer = "network".
I added the other filters because while we're in here it makes sense to add these so we have more options in future.