kraken-cli-rs

Crates.iokraken-cli-rs
lib.rskraken-cli-rs
version0.1.1
sourcesrc
created_at2024-02-20 19:11:33.618881
updated_at2024-02-20 19:51:05.037293
descriptionCLI for kraken trading platform
homepage
repository
max_upload_size
id1146698
size58,131
Pablo CaƱada Pereira (pacanada)

documentation

README

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?
  • ...
Commit count: 0

cargo fmt