pikers / piker

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

Backward compat support for `Transaction.sym: Symbol` #477

Closed goodboy closed 1 year ago

goodboy commented 1 year ago

Like it sounds makes #470 still work on existing pps.toml files in the wild 😉

Further this ports the kraken and ib backends to correctly provide the precision info for transaction sizes where possible by pulling the info from the market info available either from ledger or API records.


Additionally, this includes a draft implementation for a .data._source.Symbol replacement: MktPair.

It's not used at all but gives us a guide for how we could majorly simplify the interface and provide a much clearer defined market addressing system especially as it pertains to refining our schema as documented in #467.