Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.

Trades for orderbook returns all trades (instead of filtering just the ones I want) #318

Closed
irisli opened this issue Jan 8, 2017 · 3 comments
Assignees

Comments

@irisli
Copy link
Contributor Author

irisli commented Jan 8, 2017

The endpoint still returns the data I need (if you sort by descending, you will see a bunch of trades with USD issued by my account GBAMBOOZ). But it just shows all data available which slows things down.

@nullstyle
Copy link
Contributor

I've got a repro and the beginnings of a regression test for this bug... i'll report back with the ETA on a fix.

@nullstyle
Copy link
Contributor

There has been a complication in solving this because of the "Rebind" functionality used in sqlx... it breaks the jsonb operators used by this query.

the appropriate FIXME: https://github.com/jmoiron/sqlx/blob/master/bind.go#L36

I will need to resolve this underlying issue first.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants