Skip to content

blue-factory/statemachine-buda-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Statemaachine buda example

This repo is a simple example of a basic buy-strategy applied over Buda.com exchange.

You only need to setup the following environment variables before running the main file

BUDA_API_KEY= // Buda.con api key
BUDA_API_SECRET= // Buda.com api secret
TARGET_VOLUME= // how much CLP we want to expent
RATE_TO_ACTION= // expected fall price to buy
CURRENCY= // currency to trade {BTC; ETH; LTC; BCH}
SHOULD_RUN=1 // 1 to really run the bot and any other value jus to print the sm

Then you can simply run

go run ./cmd/main.go

The strategy diagram is the following

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published