c9s
|
216c12b49e
|
backup and restore position
|
2021-03-16 20:07:54 +08:00 |
|
c9s
|
a1667010eb
|
fix filled grid map assignment
|
2021-03-16 20:05:03 +08:00 |
|
c9s
|
714d61a829
|
add grid restore behavior
|
2021-03-16 20:04:06 +08:00 |
|
c9s
|
8c08cfebb7
|
rename MarkStrategyID to just Mark
|
2021-03-16 14:07:47 +08:00 |
|
c9s
|
ebcef65b01
|
mark trades with the strategy ID
|
2021-03-16 10:58:51 +08:00 |
|
c9s
|
478bef526d
|
copy the position object and send notification
|
2021-03-16 02:22:00 +08:00 |
|
c9s
|
98995bc75c
|
use debug log for skipping filled grid
|
2021-03-16 02:21:46 +08:00 |
|
c9s
|
f56df038aa
|
fix position and add catchup mode for grid strategy
|
2021-03-16 02:18:17 +08:00 |
|
c9s
|
2bf4a555ec
|
use OnStart instead of OnConnect
this is for avoiding re-connect issue
|
2021-03-15 18:04:55 +08:00 |
|
Larry850806
|
689734567a
|
Remove unused conditions when generating orders
|
2021-03-03 14:55:11 +08:00 |
|
c9s
|
da79920ca9
|
rename scale struct name to PriceVolumeScale
|
2021-02-28 14:51:24 +08:00 |
|
c9s
|
99f236d2e0
|
integrate quantity scale into support strategy and grid strategy
|
2021-02-28 11:57:25 +08:00 |
|
c9s
|
21a4669905
|
adjust max query limiter and sync before running trader
|
2021-02-22 16:54:08 +08:00 |
|
c9s
|
ff5233ba3e
|
support: use Notfiy
|
2021-02-20 10:51:01 +08:00 |
|
c9s
|
e3d3eacb78
|
fix trade service injection
|
2021-02-16 16:30:01 +08:00 |
|
c9s
|
0c9ca851e5
|
improve support strategy
|
2021-02-15 01:26:46 +08:00 |
|
c9s
|
f8378957ee
|
add more checks for bollgrid
related to #93
|
2021-02-13 16:03:31 +08:00 |
|
Yo-An Lin
|
de195b3c17
|
Merge pull request #130 from Larry850806/fix/bollgrid
|
2021-02-11 15:38:50 +08:00 |
|
Larry850806
|
ca31179b40
|
Fix balance calculation
|
2021-02-11 14:48:13 +08:00 |
|
c9s
|
4a0bd45301
|
remove order test code
|
2021-02-11 00:30:37 +08:00 |
|
c9s
|
88411a134b
|
add supportAndTargets strategy
|
2021-02-11 00:21:06 +08:00 |
|
c9s
|
4b66deec3d
|
subscribe RepostInterval as well
might be related to issue #93
|
2021-02-10 22:45:23 +08:00 |
|
c9s
|
061312771c
|
fix float formatting
|
2021-02-10 22:41:42 +08:00 |
|
Larry850806
|
9f6d9028fa
|
Use fixedpoint type to calculate the balance
|
2021-02-10 16:01:11 +08:00 |
|
Larry850806
|
6d399647cf
|
Remove unused functions
|
2021-02-10 11:37:37 +08:00 |
|
Larry850806
|
11a176145e
|
Refactor placeGridOrders into three functions
|
2021-02-10 11:37:33 +08:00 |
|
Larry850806
|
d22a8e9c63
|
Improve bollgrid strategy's balance check and quote calculation
|
2021-02-10 10:11:32 +08:00 |
|
c9s
|
ffb6a29d0d
|
fix startPrice value conversion
|
2021-02-08 13:21:22 +08:00 |
|
c9s
|
173074f5e4
|
improve grid strategy's balance check and quote calculation
|
2021-02-07 11:37:24 +08:00 |
|
c9s
|
367e9fcae1
|
fix price range check
|
2021-02-07 10:58:31 +08:00 |
|
c9s
|
7904c6f4d0
|
add ID() to Strategy interface
|
2021-02-03 09:08:05 +08:00 |
|
c9s
|
8aa96c4546
|
integrate strateg adding api
|
2021-02-03 02:26:41 +08:00 |
|
c9s
|
84b6982033
|
add order store to exchange session
|
2021-01-24 14:14:25 +08:00 |
|
c9s
|
995f9a9ea0
|
grid: add order amount field
|
2021-01-06 13:31:17 +08:00 |
|
c9s
|
208c88cbd5
|
support single exchange trailingstop
|
2020-12-31 17:12:35 +08:00 |
|
c9s
|
87568ede70
|
reformat
|
2020-12-31 14:29:53 +08:00 |
|
c9s
|
395d3f17df
|
grid: add long mode support
|
2020-12-31 13:54:32 +08:00 |
|
c9s
|
45e4d8c558
|
rename movingstop to trailingstop
|
2020-12-31 13:07:39 +08:00 |
|
c9s
|
f485c1ba7f
|
fix grid strategy order placing
|
2020-12-29 18:18:32 +08:00 |
|
c9s
|
3eae58322a
|
add trade update callbacks and order update callbacks to order executor
|
2020-12-21 13:40:23 +08:00 |
|
c9s
|
e282a8a917
|
improve order submit loop
|
2020-12-17 17:54:48 +08:00 |
|
c9s
|
64dea71249
|
grid: use the default active order book order handler
|
2020-12-17 16:29:00 +08:00 |
|
c9s
|
6962582236
|
grid: add orders to the order store
|
2020-12-17 16:22:43 +08:00 |
|
c9s
|
9e1476dcb1
|
grid: improve position management by fixedpoint
|
2020-12-17 15:52:53 +08:00 |
|
c9s
|
572f7a0e12
|
buyandhold: remove kline event debug log
|
2020-12-14 14:59:46 +08:00 |
|
c9s
|
6d15c629a7
|
fix buyandhold strategy
|
2020-12-14 14:40:31 +08:00 |
|
c9s
|
cabd8f8dcb
|
improve buyandhold strategy
|
2020-12-14 14:21:02 +08:00 |
|
c9s
|
846f463cfc
|
print loaded position
|
2020-12-08 16:32:39 +08:00 |
|
c9s
|
03afa060d5
|
add updateInterval for mirrormaker
|
2020-12-08 16:01:46 +08:00 |
|
c9s
|
0222c33330
|
fix kline tail method
|
2020-12-08 10:26:20 +08:00 |
|