c9s
|
1759dcdb73
|
compile and update migration package
|
2022-07-10 15:29:07 +08:00 |
|
c9s
|
cc8821bb66
|
update max order api path
|
2022-07-08 20:47:51 +08:00 |
|
c9s
|
e9faf34b5e
|
max: fix balance field for api
|
2022-07-08 17:28:07 +08:00 |
|
c9s
|
59fcef0b6d
|
supertrend: avoid using embedded struct on DoubleDema
|
2022-07-08 17:13:12 +08:00 |
|
c9s
|
5bd292d0b2
|
bbgo: add notify(profit)
|
2022-07-08 16:43:32 +08:00 |
|
c9s
|
79b70d4a31
|
supertrend: fix interval window for exit methods
|
2022-07-08 16:31:28 +08:00 |
|
c9s
|
46d6ecc663
|
fix types.TradeStats usage
|
2022-07-08 15:44:32 +08:00 |
|
c9s
|
581e4be218
|
supertrend: clean up and update
|
2022-07-08 15:41:28 +08:00 |
|
Andy Cheng
|
f8777752a0
|
Merge branch 'main' into improve/supertrend-strategy
|
2022-07-07 10:33:30 +08:00 |
|
Yo-An Lin
|
e778db1f24
|
Merge pull request #801 from c9s/feature/optimizer-metrics-tsv-format
feature: optimizer: support --tsv option and render tsv output
|
2022-07-07 06:23:49 +08:00 |
|
c9s
|
7b7d0690c7
|
optimizer: support --tsv option and render tsv output
|
2022-07-07 02:11:52 +08:00 |
|
c9s
|
81e05a3f2c
|
add more struct field tests
|
2022-07-06 22:01:35 +08:00 |
|
c9s
|
825022715d
|
dynamic: add IterateFields
|
2022-07-06 21:58:26 +08:00 |
|
c9s
|
b3e04a68da
|
bbgo: fix trailing stop binding
|
2022-07-06 21:50:38 +08:00 |
|
Andy Cheng
|
c43d4e0b24
|
strategy/supertrend: func to get order side
|
2022-07-06 18:11:09 +08:00 |
|
Andy Cheng
|
8aa5b706b6
|
strategy/supertrend: fix double dema missing interval
|
2022-07-06 17:05:38 +08:00 |
|
Andy Cheng
|
6c93c42ef6
|
strategy/supertrend: pull double dema into a single file
|
2022-07-06 16:45:19 +08:00 |
|
Andy Cheng
|
c62e7bbb58
|
strategy/supertrend: refactor to smaller functions
|
2022-07-06 16:26:30 +08:00 |
|
c9s
|
3d9db2786d
|
add trailing stop to the exit method
|
2022-07-06 10:56:10 +08:00 |
|
c9s
|
b49f12300c
|
add long position test for trailing stop
Signed-off-by: c9s <yoanlin93@gmail.com>
|
2022-07-06 10:54:53 +08:00 |
|
c9s
|
03481000cc
|
reset activated flag when stop order is submitted
Signed-off-by: c9s <yoanlin93@gmail.com>
|
2022-07-06 03:09:57 +08:00 |
|
c9s
|
2bc12c0522
|
add trailing stop and it's test cases with gomock
Signed-off-by: c9s <yoanlin93@gmail.com>
|
2022-07-06 03:04:01 +08:00 |
|
c9s
|
d140012fd5
|
fix mockgen command
Signed-off-by: c9s <yoanlin93@gmail.com>
|
2022-07-06 01:32:05 +08:00 |
|
c9s
|
f329af2c6b
|
generate mocks for the exchange interface
Signed-off-by: c9s <yoanlin93@gmail.com>
|
2022-07-06 01:31:12 +08:00 |
|
Andy Cheng
|
2de16ac7d1
|
strategy/supertrend: fix missing Bind() of DEMA
|
2022-07-05 17:11:58 +08:00 |
|
Andy Cheng
|
91077ce61d
|
strategy/supertrend: add ExitMethod
|
2022-07-05 16:55:48 +08:00 |
|
Andy Cheng
|
f0dc9d6147
|
strategy/supertrend: add TradeStats
|
2022-07-05 16:30:13 +08:00 |
|
Andy Cheng
|
5b3ba03042
|
strategy/supertrend: preload indicators
|
2022-07-05 16:25:02 +08:00 |
|
c9s
|
4de5b0bc9b
|
add TrailingStop2
|
2022-07-05 16:10:55 +08:00 |
|
Andy Cheng
|
0a0e5ac4d8
|
strategy/supertrend: config switch for stop by different signals
|
2022-07-05 15:59:35 +08:00 |
|
c9s
|
b643b8ed0d
|
fix LowerShadowTakeProfit kline filter condition
|
2022-07-05 12:15:31 +08:00 |
|
c9s
|
8ac21fa16e
|
fix LowerShadowTakeProfit kline filter condition
|
2022-07-05 12:14:53 +08:00 |
|
c9s
|
193703a9a0
|
all: use tradeStats constructor
|
2022-07-05 11:14:50 +08:00 |
|
Yo-An Lin
|
0b4044bbb6
|
Merge pull request #796 from c9s/strategy/pivotshort
strategy/pivotshort: add supportTakeProfit method
|
2022-07-04 12:26:32 +08:00 |
|
c9s
|
c258d522e6
|
backtest: update backtest.Exchange currentTime
|
2022-07-04 02:38:42 +08:00 |
|
c9s
|
82f9fc139c
|
backtest: refactor exchange field, clean up startTime and endTime deps
|
2022-07-04 02:34:46 +08:00 |
|
c9s
|
8fc17f9c0b
|
backtest: move QueryOrder method
|
2022-07-04 02:29:18 +08:00 |
|
c9s
|
a31f61736a
|
backtest: pull out userDataStream to backtestEx.BindUserData
|
2022-07-04 02:27:29 +08:00 |
|
c9s
|
ecd4df86f9
|
backtest: assign user data stream to backtest.Exchange before we call EmitStart
|
2022-07-04 02:21:14 +08:00 |
|
c9s
|
449b2d8220
|
backtest: fix order update emit binding
|
2022-07-04 02:20:50 +08:00 |
|
c9s
|
3a37154737
|
pivotshort: fix supportTakeProfit binding
|
2022-07-04 02:20:15 +08:00 |
|
Yo-An Lin
|
6fe980a2a3
|
Merge pull request #793 from LarryLuTW/larry/fix-pnl-market
Fix pnl command
|
2022-07-04 01:42:32 +08:00 |
|
Fredrik
|
771f578efd
|
optimizer/fix: prevent from crashing if missing SummaryReport
|
2022-07-03 13:16:41 +02:00 |
|
c9s
|
81f9639c85
|
pivotshort: bind supportTakeProfit method
|
2022-07-03 17:22:29 +08:00 |
|
c9s
|
278fbb7b51
|
pivotshort: fix support take profit method
|
2022-07-03 17:13:01 +08:00 |
|
c9s
|
74cac6e977
|
pivotshort: adjust layer price calculation
|
2022-07-03 15:44:37 +08:00 |
|
c9s
|
a408b20eda
|
fix resistance price calculation
|
2022-07-03 15:26:05 +08:00 |
|
c9s
|
1e8ac0d08a
|
pivotshort: improve price grouping
|
2022-07-02 18:51:17 +08:00 |
|
LarryLuTW
|
a0e8359d23
|
add market for calculator
|
2022-07-02 17:45:24 +08:00 |
|
c9s
|
f940bb8e0a
|
implement SupportTakeProfit method
|
2022-07-02 13:21:27 +08:00 |
|