zenix
|
85f8b9510d
|
fix: gofmt
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
4dd4c5823f
|
fix: unlock lock to get latest price
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
2ceb24ad09
|
fix: panic on image drawing, reduce fee by smoothing the drift curve
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
553a55811c
|
fix: buyPrice/sellPrice calculation on one order multiple trades
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
a8fe20ae3a
|
fix: drift exit condition, trade_stats serialization in redis
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
a5039de6aa
|
feature: add omega ratio, print sharpe/omega/interval profit from trade_stats, use stdev for high/low diff for drift to estimate the variance and improve profit, add yaml marshal for dnum fixedpoint
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
b6fb5e958d
|
feature: deduct fee from entry, move StopLoss orders cleanup to the begin of close position function
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
ac5c7f5773
|
feature: add pnl / cummulative pnl graph, add continuous graph
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
62aac8ecc4
|
fix: indicator limits
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
0d65fe1b8a
|
feature: trailing stop, print mean and modify normalization function of output graph
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
c6563aa9bd
|
feature: add stoploss from stopPrice
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
9c73aa4adb
|
fix: fine tune drift config. fix atr updating issue
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
b52208d7b6
|
fix: bug in wrong channel subscription in drift
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
7368069c7a
|
fix: add persistence to drift
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
f2d37650a5
|
fix: drift bias on long entry position condition, make cancel faster
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
e097421b7b
|
feature: export canvas path for drift strategy. fix exit/entry order and fix missing columns from json parsing
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
7310feb0de
|
fix: highest price normalization in drift strategy
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
c51a99400d
|
feature: add plot for series. add autocorrelation. add clone for indicators/series
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
69b45e90e9
|
add drift exit condition
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
6a9e00ebd4
|
fix: update drift strategy
|
2022-07-26 18:00:05 +09:00 |
|
zenix
|
0ae6b6736c
|
feature: use drift indicator to create basic strategy for study
|
2022-07-26 18:00:05 +09:00 |
|
Yo-An Lin
|
9bf48e9de4
|
Merge pull request #822 from c9s/fix/api-upgrade
refactor: ewoDgtrd: upgrade order executor api
|
2022-07-26 14:33:06 +08:00 |
|
c9s
|
8986eeb3a4
|
bollmaker: apply kline filter closure
|
2022-07-26 12:08:47 +08:00 |
|
c9s
|
c252a7dcf9
|
bollmaker: fix log format issue
|
2022-07-26 12:08:47 +08:00 |
|
c9s
|
d26dd2f1da
|
bollmaker: remove status change setter
|
2022-07-26 12:08:47 +08:00 |
|
c9s
|
83c8bc819a
|
all: drop the legacy smart stops
|
2022-07-26 12:08:47 +08:00 |
|
c9s
|
c3b6cb80c3
|
bollmaker: upgrade bollmaker exits methods
|
2022-07-26 12:08:47 +08:00 |
|
c9s
|
6ae0620730
|
bollmaker: integrate exits method to bollmaker
|
2022-07-26 12:08:47 +08:00 |
|
c9s
|
549e28079b
|
autoborrow: call Debt() for repay
|
2022-07-26 11:49:04 +08:00 |
|
Yo-An Lin
|
2e7ed9f583
|
Merge pull request #840 from andycheng123/fix/supertrend-strategy
strategy/supertrend: fix exit methods problem
|
2022-07-25 15:14:22 +08:00 |
|
c9s
|
0d5d92b26d
|
pivotshort: fix tail function
|
2022-07-25 15:02:59 +08:00 |
|
Andy Cheng
|
07959c8862
|
strategy/supertrend: fix exit methods problem
|
2022-07-25 14:11:55 +08:00 |
|
c9s
|
36cfaa924d
|
risk: move leverage quantity calculation to the risk package
|
2022-07-22 11:55:24 +08:00 |
|
c9s
|
54affd2f99
|
pivotshort: quantity calculation -- sub debt
|
2022-07-22 11:47:48 +08:00 |
|
c9s
|
76def2fe9d
|
pull out AccountValueCalculator
|
2022-07-21 19:46:58 +08:00 |
|
c9s
|
15879adf3b
|
pivotshort: fix trade loss ratio
|
2022-07-21 13:17:46 +08:00 |
|
c9s
|
88c0f31e87
|
pivotshort: add trade loss to the quantity calculating
|
2022-07-21 13:05:46 +08:00 |
|
c9s
|
756fcb4807
|
pivotshort: fix min leverage protection
|
2022-07-21 13:04:19 +08:00 |
|
c9s
|
b6d0482517
|
pivotshort: add more logs and check
|
2022-07-21 12:05:05 +08:00 |
|
c9s
|
ea4efccd89
|
schedule: use general order executor and fix notification message format
|
2022-07-19 17:38:32 +08:00 |
|
c9s
|
f72cf9bfff
|
pivotshort: fix quantity check
|
2022-07-19 11:25:27 +08:00 |
|
c9s
|
29fc58cb18
|
autoborrow: fix repay amount
|
2022-07-18 19:14:31 +08:00 |
|
c9s
|
6e4c28ed1b
|
disable marketTrade stop
|
2022-07-17 00:59:35 +08:00 |
|
c9s
|
a370a5e489
|
pivotshort: fix on start handler
|
2022-07-14 18:36:28 +08:00 |
|
c9s
|
89ffd94d98
|
update pivotlow on start
|
2022-07-14 18:35:58 +08:00 |
|
Yo-An Lin
|
191e00adeb
|
Merge pull request #827 from c9s/strategy/pivotshort
strategy/pivotshort: improve quantity calculation for margin and futures
|
2022-07-14 18:16:48 +08:00 |
|
c9s
|
c4332fcac2
|
pivotshort: add leverage settings
|
2022-07-14 17:44:33 +08:00 |
|
c9s
|
adb96cac39
|
pivotshort: check maximum margin leverage
|
2022-07-14 17:38:11 +08:00 |
|
c9s
|
6c91af2392
|
pivotshort: improve useQuantityOrBaseBalance
|
2022-07-14 17:36:03 +08:00 |
|
c9s
|
0ba529cb45
|
pivotshort: replace orders if the active orders is empty
|
2022-07-14 16:34:03 +08:00 |
|