kraken
position tracking gotchas
#263
Labels
accounting
prolly positioning: the accounting of "what/when (is) owned"
broker-backend
`brokerd`/`datad` related backend tech
As per discussion with @iamzoltan, the
kraken
api (and frankly theirwhole web UI system) is kind of a filthy mess that makes little sense
compared with how most trades would expect to track positions in
different "crypto$ assets" to be presented.
Most of the dirty details are in this article:
https://support.kraken.com/hc/en-us/articles/203325683-Differences-between-spot-exchange-and-margin-trading
The main annoyance is that they don't seem to keep track of spot
position "average price" information for your account and instead
require API users to retrieve past trades and compute their own
pp
value.. Why they do offer pp tracking on margin trading positions
but not spot is quite baffling and seems like just poor engineering
(though not surprised, try using their charting platform 😹).
Things that are either confusing af or of note in their api:
https://docs.kraken.com/rest/#operation/getTradeBalance
result
keys are 😂50: https://docs.kraken.com/rest/#operation/getTradeHistory
The text was updated successfully, but these errors were encountered: