Skip to content

Releases: rodrigo-brito/ninjabot

v0.0.16

18 Nov 03:22
5dc99d3

Choose a tag to compare

What's Changed

  • build(deps): bump github.com/adshao/go-binance/v2 from 2.3.2 to 2.3.3 by @dependabot in #60
  • build(deps): bump github.com/evanw/esbuild from 0.13.12 to 0.13.13 by @dependabot in #62
  • build(deps): bump gopkg.in/tucnak/telebot.v2 from 2.4.0 to 2.4.1 by @dependabot in #61
  • fix: preload candles in live environment / dinamic pairs by @rodrigo-brito in #63

Full Changelog: v0.0.15...v0.0.16

v0.0.15

13 Nov 23:41
341f600

Choose a tag to compare

What's Changed

  • build(deps): bump github.com/evanw/esbuild from 0.13.9 to 0.13.12 by @dependabot in #57
  • feat(indicator): include supertrend indicator by @rodrigo-brito in #58

Full Changelog: v0.0.14...v0.0.15

v0.0.14

31 Oct 19:24
2b8ac7a

Choose a tag to compare

New Features

  • Max drawdown displayed in backtest results
  • Equity evolution on backtest chart, with draw down
    image

What's Changed

Full Changelog: v0.0.13...v0.0.14

v0.0.13

26 Oct 02:10
5c47bda

Choose a tag to compare

What's Changed

  • build(deps): bump github.com/tidwall/buntdb from 1.2.6 to 1.2.7 by @dependabot in #51
  • build(deps): bump github.com/evanw/esbuild from 0.13.7 to 0.13.9 by @dependabot in #52
  • fix(backtesting): remove candle buffer limit and improve OCO orders precision by @rodrigo-brito in #54

Full Changelog: v0.0.12...v0.0.13

v0.0.12

19 Oct 02:28
4055ee5

Choose a tag to compare

What's Changed

Breaking Changes

  • NewChart function now returns an error in the initialization.
chart, err := plot.NewChart()
if err != nil {
    log.Fatal(err)
}

New Contributors

Full Changelog: v0.0.11...v0.0.12

v0.0.11

09 Oct 03:55
6296a9c

Choose a tag to compare

Changelog

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

v0.0.10

03 Oct 04:11

Choose a tag to compare

Features

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"),
	))

Changelog

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)

v0.0.9

29 Sep 03:04

Choose a tag to compare

Changelog

aec2bbf doc(readme): update backtesting example
07c2595 fix(backtesting): syncronizing multple csv feeds in backtesting

Breaking change

In backtesting, you should include a new option ninjabot.WithBacktest(wallet)

v0.0.8

18 Sep 11:58
f48bb5c

Choose a tag to compare

Changelog

f48bb5c fix(webscoket): include ws connection with backoff (#19)

v0.0.7

13 Sep 02:00
9be8210

Choose a tag to compare

Breaking changes

  • In backtesting or live trading with a paper wallet, Ninjabot requires an explicit option ninjabot.WithPaperWallet(wallet),
  • Init function removed from strategies

Broker functions remaed

  • OrderMarket -> CreateOrderMarket
  • OrderOCO -> CreateOrderOCO
  • OrderMarketQuote -> CreateOrderMarketQuote
  • OrderLimit -> CreateOrderLimit