Yo-An Lin
|
40b376802e
|
Merge pull request #168 from c9s/feature/mark-trade-strategy
|
2021-03-18 10:31:59 +08:00 |
|
c9s
|
85b6cb81a2
|
make local active orderbook json marshallable
|
2021-03-18 01:15:06 +08:00 |
|
Yo-An Lin
|
7ecb17dbe2
|
Merge pull request #163 from c9s/feature/mark-trade-strategy
|
2021-03-16 22:34:09 +08:00 |
|
c9s
|
714d61a829
|
add grid restore behavior
|
2021-03-16 20:04:06 +08:00 |
|
Yo-An Lin
|
f5b65e795e
|
Merge pull request #160 from c9s/feature/grid-options
|
2021-03-16 12:59:14 +08:00 |
|
c9s
|
40fded70b2
|
reformat scale.go
|
2021-03-16 02:14:10 +08:00 |
|
c9s
|
2f7c7d344b
|
move emitStart method call into the stream Connect method
|
2021-03-16 01:32:27 +08:00 |
|
c9s
|
7951c38edc
|
skip connection if there is no subscription
|
2021-03-16 01:31:56 +08:00 |
|
ycdesu
|
c08899f7fb
|
ftx: add ftx to supported exchange
|
2021-03-15 20:40:04 +08:00 |
|
c9s
|
c3996aee2b
|
add Backup method to the local active order book
|
2021-03-15 18:25:36 +08:00 |
|
c9s
|
e311a182fa
|
add onStart callbacks
|
2021-03-15 18:04:03 +08:00 |
|
c9s
|
9f7af3ce82
|
assign SubAccount name to the new exchange session
|
2021-03-15 17:51:17 +08:00 |
|
c9s
|
e8ccc5eabf
|
pass SubAccount field to the factory
|
2021-03-15 10:23:00 +08:00 |
|
c9s
|
2eda012f43
|
add SubAccount field to the exchange session config
|
2021-03-15 10:13:41 +08:00 |
|
c9s
|
4b49fda463
|
refactor sync service
|
2021-03-14 11:18:22 +08:00 |
|
ben
|
40eadfeaca
|
add yaml tag for mapping basic risk control order executor.
|
2021-03-01 13:44:58 +08:00 |
|
Yo-An Lin
|
592a8d87ae
|
Merge pull request #137 from c9s/feature/scale
feature: add exp scale and log scale formula
|
2021-02-28 16:13:38 +08:00 |
|
c9s
|
b71ea867c5
|
ignore sync if sync service is nil
|
2021-02-28 15:05:49 +08:00 |
|
c9s
|
da79920ca9
|
rename scale struct name to PriceVolumeScale
|
2021-02-28 14:51:24 +08:00 |
|
c9s
|
83111c9eb9
|
test exponential scale with reverse range
|
2021-02-28 12:12:03 +08:00 |
|
c9s
|
99f236d2e0
|
integrate quantity scale into support strategy and grid strategy
|
2021-02-28 11:57:25 +08:00 |
|
c9s
|
bf87fbbf55
|
add LinearScale
|
2021-02-28 02:20:47 +08:00 |
|
c9s
|
8572df2cb3
|
add link to TestQuadraticScale
|
2021-02-28 02:07:48 +08:00 |
|
c9s
|
83af52c53b
|
add QuadraticScale
|
2021-02-28 02:06:33 +08:00 |
|
c9s
|
52395fd460
|
add log scale graph link
|
2021-02-28 01:55:35 +08:00 |
|
c9s
|
fbb8837c5c
|
add exp scale and log scale formula
|
2021-02-28 01:53:45 +08:00 |
|
c9s
|
5a7cf05701
|
integrate reward service into the sync service
|
2021-02-23 16:39:48 +08:00 |
|
c9s
|
73cb80ee96
|
improve logging
|
2021-02-22 17:06:43 +08:00 |
|
c9s
|
eaad414706
|
adjust max api call rate limiting
|
2021-02-22 15:01:05 +08:00 |
|
c9s
|
724dad70bb
|
remove trade sync from environ init
|
2021-02-22 14:14:39 +08:00 |
|
c9s
|
84775652fe
|
remove defer wrapper func
|
2021-02-22 13:49:26 +08:00 |
|
c9s
|
63ebbc0e73
|
fix frontend sync status checking
|
2021-02-21 19:36:03 +08:00 |
|
c9s
|
3629a1f5a2
|
pre-save syncing var for return
|
2021-02-21 18:54:48 +08:00 |
|
c9s
|
a8516edb98
|
add Get method to the persistence service facade
|
2021-02-21 16:55:45 +08:00 |
|
c9s
|
21b092037e
|
refactor notification configuration
|
2021-02-21 16:52:47 +08:00 |
|
c9s
|
fa4e813729
|
resolve cyclic imports
|
2021-02-21 01:01:39 +08:00 |
|
c9s
|
6845db6dd3
|
refactor database configure method
|
2021-02-21 00:58:34 +08:00 |
|
c9s
|
12ed5a1efe
|
move persistence service into the service package
|
2021-02-21 00:45:56 +08:00 |
|
c9s
|
be00aae81e
|
move trade configuration to the trader struct method
|
2021-02-20 12:23:31 +08:00 |
|
c9s
|
7684099f01
|
add /api/environment/syncing api
|
2021-02-20 11:54:48 +08:00 |
|
c9s
|
4ce6e85624
|
add sync status to the environment
|
2021-02-20 11:29:33 +08:00 |
|
c9s
|
dd13b9a8bf
|
remove start time query condition for trade sync since starting from trade id = 1 works
|
2021-02-19 14:18:50 +08:00 |
|
c9s
|
44fa74a4c9
|
refactor session sync
|
2021-02-19 10:42:24 +08:00 |
|
c9s
|
390c9b1a4b
|
move Sync method into the sync service
|
2021-02-19 10:26:13 +08:00 |
|
c9s
|
eaa8c647b5
|
refactor session sync
|
2021-02-18 22:40:46 +08:00 |
|
c9s
|
b2bcd3528c
|
use sqlx for testing connection
|
2021-02-17 17:35:54 +08:00 |
|
c9s
|
a1cb3859c3
|
fix db driver setup
|
2021-02-17 14:57:29 +08:00 |
|
c9s
|
3867fdde91
|
add stringer interface to Position
|
2021-02-16 16:40:11 +08:00 |
|
c9s
|
e3d3eacb78
|
fix trade service injection
|
2021-02-16 16:30:01 +08:00 |
|
c9s
|
8ae4cab550
|
inject TradeService field if we found it
|
2021-02-16 16:14:49 +08:00 |
|