Commit Graph

5345 Commits

Author SHA1 Message Date
zenix
2f75dda6ee fix: highest price and lowest price reset, condition gets crossed 2022-08-15 21:05:08 +09:00
zenix
ba532bd98c fix: takeProfitFactor NaN 2022-08-15 21:04:48 +09:00
zenix
e34b0c6c30 fix: drift pnl calculation and graph drawing, filter periods other than s.Interval and 1m 2022-08-15 21:04:31 +09:00
zenix
3f48811dd4 feature: create simpleinteract and remove command in notification 2022-08-15 21:04:15 +09:00
zenix
0cc3c5d485 feature: output config to telegram 2022-08-15 21:04:01 +09:00
zenix
6a4eec71d6 feature: create simpleinteract and remove command in notification 2022-08-15 21:03:48 +09:00
zenix
90e596f463 feature: send photo through telegram, register handler dynamically in strategy, fix canvas rendering 2022-08-15 21:03:14 +09:00
zenix
008814992f fix: date parsing in tradingview, feature: enforce trailingstop in drift, add rebalance prototype 2022-08-15 21:02:59 +09:00
zenix
d11738b6b5 feature: add smart cancel to drift 2022-08-15 21:02:43 +09:00
c9s
5fdbd7bba3 set go module to 1.17 2022-08-15 15:10:25 +08:00
Andy Cheng
f2f9e8c2bf
Merge pull request #876 from andycheng123/fix/risk
Fix: risk.AvailableQuote() should use Net() to get net value
2022-08-13 13:42:13 +08:00
Andy Cheng
3da86556b5 risk: AvailableQuote() should use Net() to get net value 2022-08-13 13:28:45 +08:00
Yo-An Lin
dad562db97
Merge pull request #874 from ankion/fix_binance_futures
Fix binance futures
2022-08-12 01:43:15 +08:00
Andy Cheng
62d450b92d
Merge pull request #872 from andycheng123/fix/trailing-stop
fix: trailing stop properly works on both long and short positions
2022-08-11 17:37:07 +08:00
Andy Cheng
88ca021b3d
Merge pull request #873 from andycheng123/improve/retry-submit-order
improve: generalorderexecutor retries submit/cancel order once
2022-08-11 17:27:29 +08:00
Andy Cheng
8527d4996e trailingstop: add default case 2022-08-11 17:23:42 +08:00
Andy Cheng
8d3dfd17c7 trailingstop: add side both 2022-08-11 16:39:16 +08:00
ankion
69e03c8428 binance: fix futures position 2022-08-11 14:29:28 +08:00
Andy Cheng
6f2eb1688b generalorderexecutor: retry submit/cancel order once 2022-08-11 13:49:16 +08:00
Andy Cheng
df0e527e1e exits/trailingstop: properly works on both long and short positions 2022-08-11 13:36:31 +08:00
ankion
ffd46fd71d binance: fix futures orderTypelimitMaker timeInForce was null 2022-08-11 11:30:00 +08:00
ankion
68a65f1913 binance: fix futures not emit filled event 2022-08-11 10:40:19 +08:00
Yo-An Lin
d31b812471
Merge pull request #871 from c9s/improvements/maxapi
improve: improve maxapi, add v2 order api back
2022-08-11 01:16:37 +08:00
c9s
e735362efd
cmd/kline: show klines from restful api 2022-08-11 00:08:48 +08:00
c9s
ba87ffab43
max: fix order type casting 2022-08-11 00:00:25 +08:00
c9s
e2df05c054
maxapi: add option to disable user agent header 2022-08-10 23:59:55 +08:00
c9s
8f17d6b019
maxapi: rewrite public service with requestgen 2022-08-10 23:59:50 +08:00
c9s
fc73a12689
maxapi: add get klines request 2022-08-10 23:59:43 +08:00
c9s
6f35aa0f20
maxapi: replace client field type with interface 2022-08-10 23:59:38 +08:00
c9s
c5e93dba00
max: replace client field type with interface 2022-08-10 23:59:25 +08:00
c9s
ae3f6001b9
maxapi/v3: add order type alias 2022-08-10 23:59:21 +08:00
c9s
2380ebb285
maxapi/v3: apply order type constant type 2022-08-10 23:59:16 +08:00
c9s
2f8020efd6
max: add v2 order api back 2022-08-10 23:59:10 +08:00
c9s
3bdc6c7f28
bollmaker: remove unused embedded struct 2022-08-10 23:46:24 +08:00
c9s
677b122964
bbgo: use types.KLineWith for roi take profit 2022-08-10 23:45:21 +08:00
c9s
f655881a17
readme: update faq section 2022-08-09 17:11:58 +08:00
c9s
870cb8acfb
github: apply go version from matrix for go1.17 and go1.18 2022-08-09 16:49:34 +08:00
c9s
1df027456a
github: move back to go1.18 2022-08-09 16:48:33 +08:00
c9s
1d9346b02e
github: use go1.17 for testing 2022-08-09 16:47:06 +08:00
Yo-An Lin
a0daddf1a8
Merge pull request #869 from c9s/revert-853-feature/smartcancel_drift
Revert "feature: add smart cancel to drift"
2022-08-09 16:26:08 +08:00
Yo-An Lin
62aff676da
Revert "feature: add smart cancel to drift" 2022-08-09 16:25:36 +08:00
Yo-An Lin
55b4edc595
Merge pull request #853 from zenixls2/feature/smartcancel_drift
feature: add smart cancel to drift
2022-08-09 16:23:33 +08:00
Raphanus Lo
ed975b7ed9
Merge pull request #860 from COLDTURNIP/feature/exchange_order_amount_protection
exchange: order fee-amount protection
2022-08-09 15:01:53 +08:00
c9s
0283f2ad55
bbgo: fix doneTrades lock 2022-08-09 14:52:05 +08:00
c9s
b368a66760
deploy.sh: improve user/home var detection 2022-08-09 14:51:59 +08:00
c9s
1671e494d3
deploy.sh: add UPLOAD_ONLY option 2022-08-09 14:51:55 +08:00
c9s
75e671a96f
deploy.sh: add systemd deployment instruction 2022-08-09 14:51:50 +08:00
c9s
fc411bb214
deploy.sh: add USE_DNUM option 2022-08-09 14:51:44 +08:00
zenix
5be6e822e9 fix: highest price and lowest price reset, condition gets crossed 2022-08-09 13:26:56 +09:00
zenix
2c4e03a102 fix: takeProfitFactor NaN 2022-08-09 13:26:56 +09:00