Commit Graph

600 Commits

Author SHA1 Message Date
c9s
f29e8bd6d2
service: use reflect to generate insert sql 2022-05-30 18:08:54 +08:00
Zenix
8652b4e043
Merge pull request #633 from zenixls2/fix/ewo_entry
Fix/ewo entry, backtest
2022-05-30 15:47:46 +09:00
zenix
e3a8ef4e69 fix: statistics on entry/exit on signal changes, fix position check 2022-05-30 12:45:52 +09:00
Yo-An Lin
424c235b43
Merge pull request #617 from andycheng123/improve/bollmaker-dynamic-spread
feature: bollmaker dynamic spread
2022-05-27 16:55:20 +08:00
Andy Cheng
98b794f265 strategy: DynamicSpreadSettings struct to make it more clean 2022-05-27 16:24:50 +08:00
なるみ
c99be984d1 rebalance: place limit orders 2022-05-26 17:28:48 +08:00
zenix
e81216e678 fix: TP compare direction in ewo, feature: add trade report fro ewo, fix: db lock on insertion in sqlite3 2022-05-25 16:11:19 +09:00
zenix
99122f44bc fix: backtest kline prev close -> new open, pass exchange as pointer (for Mutex passing), ewo add filter ma34 2022-05-24 23:05:01 +09:00
zenix
dbe0fbcd4c fix: split implementation, fix code comments, add explanation on ewo params 2022-05-24 16:19:00 +09:00
Andy Cheng
944856eb72 strategy: fix typo 2022-05-23 12:58:45 +08:00
Andy Cheng
bb4d6e61b0 strategy: fix typo 2022-05-23 12:06:24 +08:00
Andy Cheng
64b1ec3780 strategy: update calculation of dynamic spread 2022-05-23 11:37:57 +08:00
c9s
13bf5d69a3
use types.Interval instead of string 2022-05-19 10:04:03 +08:00
Andy Cheng
b41cef4bd7 strategy: use scale for dynamic spread 2022-05-18 14:31:59 +08:00
austin362667
bb94d4a1bd pivotshort: clean up strategy 2022-05-17 19:18:21 +08:00
austin362667
62d11181a4 pivotshort: clean up 2022-05-17 19:18:21 +08:00
austin362667
2c4a52ba30 pivot: fix futures & spot clean up
pivot: clean up
2022-05-17 19:18:21 +08:00
austin362667
8ab696deaa pivotshort: rename strategy & fix pivot indicator 2022-05-17 19:18:21 +08:00
austin362667
1a441425b5 strategy: pivot: add shadow TP
strategy: pivot: add shadow TP
2022-05-17 19:18:21 +08:00
austin362667
60a8c1f42b WIP: strategy: pivot: pivot low shorting strategy 2022-05-17 19:18:21 +08:00
Andy Cheng
7d3181f3fd strategy: update dynamic spread after kline being filtered 2022-05-17 19:00:02 +08:00
Andy Cheng
db62352e6e strategy: temp vars for faster calculation 2022-05-17 10:43:18 +08:00
c9s
b4a79479fd
add pkg/strategy/ewoDgtrd/trylock_18.go 2022-05-17 01:33:24 +08:00
c9s
343434685b
rollback to go1.17 and make try lock backward compatible 2022-05-17 01:32:51 +08:00
Zenix
356ec71570
Merge pull request #610 from zenixls2/feature/liveSLTP
feature: SLTP from bookticker. fix: bookTicker typename, depth buffer…
2022-05-16 20:41:15 +09:00
zenix
641d08c3d2 fix: disable book tick log 2022-05-16 20:37:08 +09:00
Andy Cheng
3c094a195b strategy: check min/max spread settings 2022-05-16 12:57:00 +08:00
c9s
d326494d57
set exchange fee to position 2022-05-13 22:30:04 +08:00
zenix
382e6ee0fb fix: error exit on wrong subscription in backtest. NaN issue in stoch indicator. feature: position management in ewo 2022-05-13 22:58:35 +09:00
Andy Cheng
64a760cf32 strategy: dynamic spread for bollmaker 2022-05-13 17:58:46 +08:00
c9s
eac0117e02
add adjustment orders 2022-05-13 13:01:03 +08:00
c9s
e950ee9559
add wall strategy 2022-05-12 22:51:39 +08:00
zenix
2bea47003f feature: add InstanceID for report 2022-05-12 20:02:34 +09:00
zenix
71fe6c2d26 feature: SLTP from bookticker. fix: bookTicker typename, depth buffer error message 2022-05-12 19:43:04 +09:00
zenix
668328dd16 fix: message typo 2022-05-11 21:22:22 +08:00
zenix
51e2343299 fix: add more live logs to ewo 2022-05-11 21:22:22 +08:00
zenix
5fa9e930d3 fix: wrong balance, wrong bottom/peak, feature: stdev 2022-05-11 21:22:22 +08:00
c9s
b11c4c7337
turn off UseTickerPrice when in the back-testing environment 2022-05-09 19:42:39 +08:00
Andy Cheng
c9ba81fcbb strategy: Update bollmaker to support new strategy controller 2022-05-06 16:52:00 +08:00
c9s
82c7c024ce
bbgo: add persistence Sync api 2022-05-05 18:18:38 +08:00
c9s
6635fd749d
xmaker: migrate xmaker persistence 2022-05-05 15:05:38 +08:00
c9s
10a7928580
extract NewProfitStats method 2022-05-05 14:48:50 +08:00
c9s
c3db85443e
bollmaker: add Deprecated note 2022-05-05 14:47:06 +08:00
c9s
3140b7e2ef
bollmaker: remove unnecessary log 2022-05-05 14:41:11 +08:00
c9s
019e6a2a88
improve legacy state handling and move fnv 2022-05-05 14:39:29 +08:00
c9s
21f81dec29
implement reflect-based persistence restore and load 2022-05-05 12:53:48 +08:00
c9s
58e8da914e
bollmaker: migrating state.position to strategy.position 2022-05-05 09:54:50 +08:00
c9s
36c764efa9
refactor balance, asset and remove price cache check 2022-05-04 17:17:09 +08:00
c9s
0e417f6f71
xnav: rename assets to allAssets 2022-05-04 16:21:53 +08:00
c9s
0061a5910b
use the same price time 2022-05-04 16:21:53 +08:00