c9s
|
814a77ea39
|
xmaker: improve balance checking
|
2021-03-21 12:55:33 +08:00 |
|
c9s
|
2a067e5cb4
|
add more balance check for hedging
|
2021-03-21 12:55:33 +08:00 |
|
c9s
|
4e3f325bb6
|
first commit of xmaker strategy from mobydick
|
2021-03-21 12:55:33 +08:00 |
|
c9s
|
ca27bf100d
|
grid: use instance id for persistence
|
2021-03-20 23:07:04 +08:00 |
|
c9s
|
ef8543db8a
|
show accumulative arbitrage profit in the message
|
2021-03-20 23:05:11 +08:00 |
|
c9s
|
761d51597d
|
add todo fee rate here
|
2021-03-18 17:48:05 +08:00 |
|
c9s
|
4975fb5498
|
track arbitrage orders
|
2021-03-18 17:20:21 +08:00 |
|
c9s
|
0e6918a352
|
grid: add profit field
|
2021-03-18 15:46:14 +08:00 |
|
c9s
|
8d784576cd
|
put state vars into the state struct for persistence
|
2021-03-18 01:14:56 +08:00 |
|
c9s
|
72c1f55b70
|
fix grid price calculation
|
2021-03-18 00:46:25 +08:00 |
|
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 |
|