A fast trading bot platform for cryptocurrency in Go (Binance)
chart, err := plot.NewChart()
if err != nil {
log.Fatal(err)
}
Full Changelog: https://github.com/rodrigo-brito/ninjabot/compare/v0.0.11...v0.0.12
6296a9c refactor(storage): simplify storage operations (#42) c8783de refactor(storage): remove sqlite and fix volume calc (#41) 67e91b0 feat(indicator): include bollinger bands (#39) 2ecb382 feat(test): improving model test coverage (#38) 161cf9a build(deps): bump github.com/adshao/go-binance/v2 from 2.2.1 to 2.3.1 (#36) d8588d2 build(deps): bump gopkg.in/tucnak/telebot.v2 from 2.3.5 to 2.4.0 (#35) 195c99e build(deps): bump github.com/mattn/go-sqlite3 from 1.14.7 to 1.14.8 (#37) a327d35 chore(dependabot): include dependabot settings c438b05 fix(lint): remove long line from indicator 516e750 fix(backtesting): increase buffer size and move indicators
Now, we can define custom indicators for the result chart. Example:
chart := plot.NewChart(plot.WithIndicators(
plot.EMA(9, "red"),
plot.EMA(80, "orange"),
plot.RSI(14, "purple"),
))
0b69e8e feat(plot): include support for indicators 0776d00 refactor(chart): replace chart data with REST api 3a096b6 feat(test): add tests for download module (#32) 4e772ed feat(test): add tests for order feed (#28) aabe274 refactor(storage): remove ent and add sqlx (#29) 25d5efd feat(ci): setup codecov and add coverage badge (#25)
ninjabot.WithPaperWallet(wallet)
,Init
function removed from strategiesOrderMarket
-> CreateOrderMarket
OrderOCO
-> CreateOrderOCO
OrderMarketQuote
-> CreateOrderMarketQuote
OrderLimit
-> CreateOrderLimit