Yo-An Lin
|
ae4a3d81fb
|
Merge pull request #489 from zenixls2/feature/market_trade
feature: add market trade subscription in binance
|
2022-03-22 20:18:39 +08:00 |
|
zenix
|
efec21ca4b
|
feature: add market trade subscription in binance
|
2022-03-18 18:30:39 +09:00 |
|
c9s
|
f85db9be61
|
improve asset summary layout and format
|
2022-03-18 17:13:37 +08:00 |
|
zenix
|
8648528435
|
fix go fmt, fix convert.go (the legacy fixedpoint implementation) in all tests
|
2022-02-15 14:55:19 +09:00 |
|
zenix
|
fad85d0992
|
fix binance test, outptu for support and xgap strategies
|
2022-02-15 12:01:39 +09:00 |
|
zenix
|
105b085786
|
fix bollgrid, emstop, flashcrash, funding, grid, pricealert, pricedrop, rebalance, schedule, swing, xbalance, xgap, xmaker and speedup fixedpoint
|
2022-02-15 12:01:39 +09:00 |
|
zenix
|
d9450e823e
|
fix all the fixedpoint use other than strategy
|
2022-02-15 12:01:39 +09:00 |
|
zenix
|
e221f54397
|
add dnum as the fixedpoint implementation. change types float64 to fixedpoint.Value
change pnl report to use fixedpoint
fix: migrate kline to use fixedpoint
|
2022-02-15 12:00:39 +09:00 |
|
c9s
|
0667c138ab
|
backtest: fix duplicate trade emit issue
|
2022-01-30 03:05:19 +08:00 |
|
c9s
|
547f4c400a
|
cmd: call BindSync when running strategy
|
2022-01-27 18:19:25 +08:00 |
|
austin362667
|
91d2312c5c
|
cache: refactor moving from bbgo to pkg/cache
|
2022-01-15 08:28:02 +08:00 |
|
c9s
|
6ee831e678
|
add trade logger
|
2022-01-12 11:19:41 +08:00 |
|
c9s
|
e5b4af53e6
|
all: clean up SubmitOrder fields
|
2022-01-11 01:36:19 +08:00 |
|
c9s
|
1116fc1de1
|
session: print klines only when debug-kline is enabled
|
2021-12-31 15:13:26 +08:00 |
|
c9s
|
31070c3950
|
pull out connection status binder
|
2021-12-30 17:25:47 +08:00 |
|
c9s
|
26ff576727
|
fix connection status callbacks
|
2021-12-30 17:23:27 +08:00 |
|
c9s
|
cfc66dc13e
|
bbgo: add session connection notification
|
2021-12-30 17:18:04 +08:00 |
|
c9s
|
090d60b44e
|
fix session connection status metrics
|
2021-12-28 01:58:36 +08:00 |
|
c9s
|
a0e41650be
|
add metricsLastUpdateTimeBalance metrics
|
2021-12-28 01:39:17 +08:00 |
|
c9s
|
bb9ef72028
|
update metricsConnectionStatus metrics
|
2021-12-28 00:49:56 +08:00 |
|
c9s
|
bb7b33e532
|
bbgo: bind and update balance metrics updater
|
2021-12-27 17:27:16 +08:00 |
|
c9s
|
7b629c9d30
|
bbgo: update balances metrics and trade metrics
|
2021-12-27 17:16:30 +08:00 |
|
c9s
|
0f24eec715
|
bbgo: fix: filter trades by symbol
|
2021-12-27 16:32:30 +08:00 |
|
c9s
|
a31e2743ee
|
fix kline log space
|
2021-12-27 00:54:10 +08:00 |
|
c9s
|
05a0745d08
|
fix InitExchange for publicOnly session
|
2021-12-26 15:29:42 +08:00 |
|
c9s
|
ba8ebfe3a7
|
refactor and add doc comment for InitExchangeSession
|
2021-12-25 23:42:29 +08:00 |
|
c9s
|
307d0b8e1f
|
bbgo: add passphrase field to session struct
|
2021-12-25 23:28:00 +08:00 |
|
c9s
|
57bc65a729
|
avoid calling EmitConnect and EmitStart outside of the kline feeding goroutine
this causes 2 goroutine running in the same time hence cause the
concurrent map read / write
should fix #399, #401
|
2021-12-25 21:05:50 +08:00 |
|
c9s
|
49e516b80e
|
backtest: allocate public exchange (with empty key secret) for backtesting
|
2021-12-24 00:24:19 +08:00 |
|
c9s
|
a3e3e1d177
|
bbgo: do not sync trades when running backtest
|
2021-12-23 23:20:35 +08:00 |
|
austin362667
|
f9cf71cef3
|
indicator: add kline close volatility
indicator: add kline close volatility
|
2021-12-19 14:20:09 +08:00 |
|
TonyQ
|
c0b9cc0f0b
|
exchange: make ftx kline event more reliable
|
2021-12-15 11:23:07 +08:00 |
|
TonyQ
|
51e23b6a0c
|
Merge branch 'main' of github.com:c9s/bbgo into feature/302-record-assets-review
|
2021-12-14 10:39:51 +08:00 |
|
TonyQ
|
4eb5a099ae
|
account: add nav_history_details and account_service for #302
|
2021-12-14 08:09:18 +08:00 |
|
austin362667
|
36c6d39612
|
bbgo: add session Futures & types: add FuturesExchange
|
2021-12-13 23:16:58 +08:00 |
|
austin362667
|
1703fff8b2
|
types: refactor Position and related files
|
2021-12-11 19:16:16 +08:00 |
|
c9s
|
d52edce40b
|
fix markets info cache
|
2021-12-08 17:26:43 +08:00 |
|
c9s
|
ca3f438288
|
show symbol name in the error message
|
2021-12-07 14:35:00 +08:00 |
|
c9s
|
0472b7f21e
|
avoid recording trades in backtest by default
introducing a RecordTrades option
|
2021-12-06 01:42:53 +08:00 |
|
c9s
|
513a799ced
|
fix ewma calculation
|
2021-11-22 02:14:44 +08:00 |
|
c9s
|
d763a3c415
|
bbgo: add debug ewma and sma
|
2021-10-18 17:26:03 +08:00 |
|
c9s
|
30b82390b7
|
bbgo: add EMA and SMA debug var
|
2021-10-18 15:23:22 +08:00 |
|
c9s
|
30c7c34826
|
bbgo: fix kline backward query for backtest
|
2021-10-16 13:49:00 +08:00 |
|
c9s
|
47e4847034
|
fix kline query endtime
|
2021-10-14 14:21:38 +08:00 |
|
c9s
|
44a0b10240
|
bbgo: load last price from 1m interval kline only
|
2021-10-14 00:37:40 +08:00 |
|
c9s
|
e23c459697
|
bbgo: move orderbook to the session level so that we can access it eaiser
|
2021-06-16 13:04:23 +08:00 |
|
c9s
|
2614b25de3
|
types: move fiat currency list to types
|
2021-06-16 13:04:23 +08:00 |
|
c9s
|
c84d59734c
|
clear all trades before running backtests
|
2021-05-30 15:25:00 +08:00 |
|
c9s
|
38fd5422ab
|
xmaker: use uncovered position
|
2021-05-30 14:46:48 +08:00 |
|
c9s
|
7d62a7634b
|
set market data stream to public
|
2021-05-27 15:11:44 +08:00 |
|