Commit Graph

24 Commits

Author SHA1 Message Date
c9s
30978ecbd4
pivotshort: check TrendEMA pointer 2022-07-28 11:29:27 +08:00
c9s
d61047cd26
pivotshort: add maxGradient config to trendEMA 2022-07-28 10:27:16 +08:00
c9s
151d907457
use debug log for trendEMA 2022-07-27 19:22:56 +08:00
c9s
c65456e44b
pivotshort: refactor and add trendEMA to resistance short 2022-07-27 19:22:56 +08:00
c9s
2719c86400
pivotshort: drop unused tail function 2022-07-27 19:22:56 +08:00
c9s
5821dd02cb
pivotshort: fix log format 2022-07-27 19:22:56 +08:00
c9s
9b35c789ee
pivotshort: add total quantity to the notification 2022-07-27 19:22:55 +08:00
c9s
b067c02cf0
pivotshort: fix resistance order quantity calculation 2022-07-27 19:22:55 +08:00
c9s
f323e91a56
pivotshort: fix resistance short 2022-07-27 11:30:32 +08:00
c9s
2822e39e7b
pivotshort: remove the legacy preloadPivot 2022-07-26 19:00:09 +08:00
c9s
0d5d92b26d
pivotshort: fix tail function 2022-07-25 15:02:59 +08:00
c9s
0ba529cb45
pivotshort: replace orders if the active orders is empty 2022-07-14 16:34: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
b521a7cf70
pivotshort: fix resistance price update algo 2022-07-12 17:45:47 +08:00
c9s
3a37154737
pivotshort: fix supportTakeProfit binding 2022-07-04 02:20:15 +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
c9s
f940bb8e0a
implement SupportTakeProfit method 2022-07-02 13:21:27 +08:00
c9s
004e6b0e0b
pivotshort: fix findNextResistancePriceAndPlaceOrders 2022-07-02 00:28:41 +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
c9s
09ba2d31c3
pivortshort: run placeResistanceOrders with margin borrow buy 2022-07-01 15:34:21 +08:00
c9s
503d851c9d
pivotshort: move resistance short to a single file 2022-07-01 01:24:34 +08:00