Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kraken position tracking gotchas #263

Closed
goodboy opened this issue Jan 26, 2022 · 1 comment
Closed

kraken position tracking gotchas #263

goodboy opened this issue Jan 26, 2022 · 1 comment
Assignees
Labels
accounting prolly positioning: the accounting of "what/when (is) owned" broker-backend `brokerd`/`datad` related backend tech

Comments

@goodboy
Copy link
Contributor

goodboy commented Jan 26, 2022

As per discussion with @iamzoltan, the kraken api (and frankly their
whole 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:

@goodboy goodboy added question wut dis!? integration external stack and/or lib augmentations research probably just a link dump.. broker-backend `brokerd`/`datad` related backend tech labels Jan 26, 2022
@goodboy goodboy added accounting prolly positioning: the accounting of "what/when (is) owned" and removed question wut dis!? integration external stack and/or lib augmentations research probably just a link dump.. labels Jan 14, 2023
@goodboy goodboy assigned goodboy and unassigned iamzoltan Jan 14, 2023
@goodboy
Copy link
Contributor Author

goodboy commented May 24, 2023

Pertinent content moved to #515

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accounting prolly positioning: the accounting of "what/when (is) owned" broker-backend `brokerd`/`datad` related backend tech
Projects
None yet
Development

No branches or pull requests

2 participants