Commit Graph

3701 Commits

Author SHA1 Message Date
zenix
9f8b8d97d0 fix: drift empty pnl. exit condition 2022-08-16 12:30:29 +09:00
zenix
71d3b926ec fix: go1.7 2022-08-15 21:46:13 +09:00
zenix
c1d9df8cdb feature: export drift1m, remove take profit, add profit report for listing pnl by date 2022-08-15 21:06:46 +09:00
zenix
da28750313 feature: dump parameter to tg, esp series, fix: order tag, position calculation and bp/sp of drift 2022-08-15 21:05:29 +09:00
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
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
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
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
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
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
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
zenix
0e3aecb549 fix: drift pnl calculation and graph drawing, filter periods other than s.Interval and 1m 2022-08-09 13:26:56 +09:00
zenix
9704c09a09 feature: output config to telegram 2022-08-09 13:26:56 +09:00
zenix
45e819ebe7 feature: create simpleinteract and remove command in notification 2022-08-09 13:26:56 +09:00
zenix
4117a83cd1 feature: send photo through telegram, register handler dynamically in strategy, fix canvas rendering 2022-08-09 13:26:56 +09:00
zenix
214e7259ed fix: date parsing in tradingview, feature: enforce trailingstop in drift, add rebalance prototype 2022-08-09 13:26:56 +09:00
zenix
53d4f21c30 feature: add smart cancel to drift 2022-08-09 13:26:56 +09:00
Andy Cheng
ef18791c6a
Merge pull request #865 from andycheng123/fix/protective-stoploss
fix: protectivestoploss not working on long position
2022-08-09 12:15:33 +08:00
Yo-An Lin
072b808a6e
Merge pull request #868 from c9s/fixes
fix: many minor fixes
2022-08-09 12:11:38 +08:00
c9s
9867aa9c68
bbgo: add mutex protection to tradecollector 2022-08-09 11:37:44 +08:00
c9s
2dff1e72da
types: rbtree - add panic check 2022-08-09 11:37:38 +08:00