66[ ![ Discord] ( https://img.shields.io/discord/960156400376483840?color=5865F2&label=discord )] ( https://discord.gg/TGCrUH972E )
77[ ![ Discord] ( https://img.shields.io/badge/donate-patreon-red )] ( https://www.patreon.com/ninjabot_github )
88
9- A fast cryptocurrency trading bot framework implemented in Go. Ninjabot permits users to create and test custom strategies for spot markets.
9+ A fast cryptocurrency trading bot framework implemented in Go. Ninjabot permits users to create and test custom strategies for sport and future markets.
1010
1111Docs: https://rodrigo-brito.github.io/ninjabot/
1212
@@ -49,36 +49,35 @@ go run examples/backtesting/main.go
4949Output:
5050
5151```
52- INFO[2022-10-16 16:34 ] [SETUP] Using paper wallet
53- INFO[2022-10-16 16:34 ] [SETUP] Initial Portfolio = 10000.000000 USDT
54- + ---------+--------+-----+------+--------+--------+-----+----------+-----------+
52+ INFO[2023-03-25 13:54 ] [SETUP] Using paper wallet
53+ INFO[2023-03-25 13:54 ] [SETUP] Initial Portfolio = 10000.000000 USDT
54+ ---------+--------+-----+------+--------+--------+-----+----------+-----------+
5555| PAIR | TRADES | WIN | LOSS | % WIN | PAYOFF | SQN | PROFIT | VOLUME |
5656+---------+--------+-----+------+--------+--------+-----+----------+-----------+
57- | BTCUSDT | 14 | 6 | 8 | 42.9 % | 5.929 | 1.5 | 13511.66 | 448030.04 |
5857| ETHUSDT | 9 | 6 | 3 | 66.7 % | 3.407 | 1.3 | 21748.41 | 407769.64 |
58+ | BTCUSDT | 14 | 6 | 8 | 42.9 % | 5.929 | 1.5 | 13511.66 | 448030.05 |
5959+---------+--------+-----+------+--------+--------+-----+----------+-----------+
6060| TOTAL | 23 | 12 | 11 | 52.2 % | 4.942 | 1.4 | 35260.07 | 855799.68 |
6161+---------+--------+-----+------+--------+--------+-----+----------+-----------+
6262
6363-- FINAL WALLET --
64640.0000 BTC = 0.0000 USDT
65650.0000 ETH = 0.0000 USDT
66- 45260.0734 USDT
66+ 45260.0735 USDT
6767
6868----- RETURNS -----
6969START PORTFOLIO = 10000.00 USDT
7070FINAL PORTFOLIO = 45260.07 USDT
71- GROSS PROFIT = 35260.073380 USDT (352.60%)
71+ GROSS PROFIT = 35260.073493 USDT (352.60%)
7272MARKET CHANGE (B&H) = 407.09%
7373
7474------ RISK -------
7575MAX DRAWDOWN = -11.76 %
7676
7777------ VOLUME -----
78+ BTCUSDT = 448030.05 USDT
7879ETHUSDT = 407769.64 USDT
79- BTCUSDT = 448030.04 USDT
8080TOTAL = 855799.68 USDT
81- COSTS (0.001*V) = 855.80 USDT (ESTIMATION)
8281-------------------
8382Chart available at http://localhost:8080
8483
@@ -90,14 +89,14 @@ Chart available at http://localhost:8080
9089
9190### Features
9291
93- | | Binance Spot | Binance Futures |
94- | -------------------- | -------------- | ---------------- |
95- | Order Market | :ok : | : ok : |
96- | Order Market Quote | :ok : | |
97- | Order Limit | :ok : | : ok : |
98- | Order Stop | :ok : | : ok : |
99- | Order OCO | :ok : | |
100- | Backtesting | :ok : | : construction : |
92+ | | Binance Spot | Binance Futures |
93+ | -------------------- | -------------- | ------------------- |
94+ | Order Market | :ok : | : ok : |
95+ | Order Market Quote | :ok : | |
96+ | Order Limit | :ok : | : ok : |
97+ | Order Stop | :ok : | : ok : |
98+ | Order OCO | :ok : | |
99+ | Backtesting | :ok : | : ok : |
101100
102101- [x] Backtesting
103102 - [x] Paper Wallet (Live Trading with fake wallet)
@@ -115,7 +114,6 @@ Chart available at http://localhost:8080
115114# Roadmap
116115 - [ ] Include Web UI Controller
117116 - [ ] Include more chart indicators - [ Details] ( https://github.com/rodrigo-brito/ninjabot/issues/110 )
118- - [ ] Support future market - [ Details] ( https://github.com/rodrigo-brito/ninjabot/issues/106 )
119117
120118### Exchanges
121119
0 commit comments