#kraken #platform #cli #order #trading #pair

bin+lib kraken-cli-rs

CLI for kraken trading platform

2 releases

0.1.1 Feb 20, 2024
0.1.0 Feb 20, 2024

#13 in #kraken

42 downloads per month

MIT/Apache

23KB
485 lines

kraken-rs

kraken config
kraken status --open --closed
kraken placeorder --pair="xlmeur" --type="market" --buy --volume=10
kraken placeorder --pair="xlmeur" --type="limit" --buy --volume=10 --price=10.4
kraken placeorder --pair="xlmeur" --type="market-limit" --buy --volume=10
kraken cancelorder --id="ABC123"
kraken launch --pair="xlmeur" --strategy="ml"

Config

In the config, we want to set the logging (TBD)

Trades

A list of latest trades and status

Place order

Launch

Launch an strategy: ml based, just take-profit and stop loss, ...

TODO:

  • Create class for unsuccessful response (status 200 but there are errors)
  • Create place of order function
  • place order limit market
  • Make it work in cli
  • do not require private api for get prices
  • Give info when running the executable
  • Add minimal tests
  • Publish it as binary with github actions:
    • CI in place
    • Good README
    • DOCS
    • change executable name?
    • Available in binary for different platforms
  • Display the ticks and orders nicely, polars?
  • ...

Dependencies

~5–20MB
~283K SLoC