Commit Graph

27 Commits

Author SHA1 Message Date
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
f72cf9bfff
pivotshort: fix quantity check 2022-07-19 11:25:27 +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
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
8fb216ce52
pivotshort: when resistance order is filled, reset the current resistance price 2022-07-14 16:28:30 +08:00
c9s
ee163eb441
pivotshort: add trendEMA protection 2022-07-13 11:09:57 +08:00
c9s
f5f6fabe07
pivotshort: add trendEMA and add stopEMA subscribe 2022-07-13 10:49:52 +08:00
c9s
6ce9f6a2b7
fix FilterSimpleArgs 2022-07-12 17:55:15 +08:00
c9s
b521a7cf70
pivotshort: fix resistance price update algo 2022-07-12 17:45:47 +08:00
c9s
da4b35bd31
pivotshort: add 1m subscribe 2022-07-12 17:45:47 +08:00
c9s
3a37154737
pivotshort: fix supportTakeProfit binding 2022-07-04 02:20:15 +08:00
c9s
1e8ac0d08a
pivotshort: improve price grouping 2022-07-02 18:51:17 +08:00
c9s
f940bb8e0a
implement SupportTakeProfit method 2022-07-02 13:21:27 +08:00
c9s
f1867b02c3
pivotshort: fix message 2022-07-01 18:10:39 +08:00
c9s
9a11fd59ed
pivotshort: fix open close price compare 2022-07-01 17:43:51 +08:00
c9s
04df515aea
pivotshort: clean up and force kline direction 2022-07-01 17:26:45 +08:00
c9s
9374125712
pivotshort: pull out break low logics
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-07-01 17:22:09 +08:00