pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
103 stars 17 forks source link

`kraken`: use `userref` field AND `reqid`, utilize `openOrders` sub for most msging #368

Closed goodboy closed 2 years ago

goodboy commented 2 years ago

~Bleh, this is some mucking about~ A proper set of changes to use the userref field instead of reqid in submissions over the ws api.

Turns out you ~can't~ can use both! ~currently though I'm in the process of trying to show their API support why it's that a weird design that should be changed in order to make client implementations less complex...~

This moves fill handling, order edits, and cancellation event relaying to the openOrders sub block since after much discussion with support, this is more or less the big boi sub that indicates the most real-time state of their backend clearing engine.

goodboy commented 2 years ago

hehe also more pydantic removals eh?

🤫