c9s
|
42b66d6898
|
add OrderStore accessor on ExchangeSession
|
2021-01-24 19:08:12 +08:00 |
|
c9s
|
447057086c
|
add Orders method on OrderStore
|
2021-01-24 19:07:32 +08:00 |
|
c9s
|
eccc2c6e0f
|
implement session config api and server
|
2021-01-24 18:42:36 +08:00 |
|
c9s
|
51e5deee47
|
add frontend files
|
2021-01-24 14:14:25 +08:00 |
|
c9s
|
1892d03326
|
make session trades map thread safe
|
2021-01-24 14:14:25 +08:00 |
|
c9s
|
1c80d30ce2
|
add TradeSlice with sync
|
2021-01-24 14:14:25 +08:00 |
|
c9s
|
84b6982033
|
add order store to exchange session
|
2021-01-24 14:14:25 +08:00 |
|
c9s
|
d0fc161ae7
|
fix define build config checking
|
2021-01-23 01:06:56 +08:00 |
|
c9s
|
2da5fa2e92
|
pre-define build config
|
2021-01-23 01:03:56 +08:00 |
|
c9s
|
5eaa8f0778
|
add IsWrapperBinary flag and fix persistence error
|
2021-01-21 12:27:21 +08:00 |
|
c9s
|
45876968d9
|
let build config and legacy imports co-exists
|
2021-01-21 12:08:06 +08:00 |
|
c9s
|
5329ef8f25
|
refactor build config
|
2021-01-21 12:06:03 +08:00 |
|
c9s
|
ad4f339b27
|
fix test case name
|
2021-01-21 00:54:59 +08:00 |
|
c9s
|
38bac10050
|
consider fee calculation
|
2021-01-21 00:49:01 +08:00 |
|
c9s
|
bfc8e511d0
|
simplify average cost calculation
|
2021-01-20 23:46:22 +08:00 |
|
c9s
|
16aa070120
|
assign base/quote currency to the position struct
|
2021-01-20 23:08:57 +08:00 |
|
c9s
|
8a08c406c3
|
check symbol for the position update
|
2021-01-20 17:37:23 +08:00 |
|
c9s
|
48dd697ce3
|
handling short-to-long and long-to-short position
|
2021-01-20 17:35:58 +08:00 |
|
c9s
|
c2a27b031e
|
init position with loaded symbols
|
2021-01-20 16:30:44 +08:00 |
|
c9s
|
0051dbc78a
|
add Position accessor
|
2021-01-20 16:29:15 +08:00 |
|
c9s
|
079fcf08e3
|
initialize position map
|
2021-01-20 16:28:27 +08:00 |
|
c9s
|
09d712416f
|
add json struct tags
|
2021-01-20 16:15:34 +08:00 |
|
c9s
|
617f5119fd
|
test trade profit calculation
|
2021-01-20 16:14:02 +08:00 |
|
c9s
|
169af63846
|
add more position tests
|
2021-01-20 16:10:20 +08:00 |
|
c9s
|
34148948ab
|
add position and its tests
|
2021-01-20 16:08:14 +08:00 |
|
c9s
|
d3f6841a27
|
improve sync command for margin trades and orders
|
2021-01-20 01:46:17 +08:00 |
|
c9s
|
f8a9610222
|
pass isolated margin symbol
|
2021-01-19 23:31:04 +08:00 |
|
c9s
|
d4774f5f0e
|
add IsolatedMargin option
|
2021-01-19 23:31:04 +08:00 |
|
c9s
|
310943d010
|
add isolated margin symbol option
|
2021-01-19 23:31:04 +08:00 |
|
c9s
|
e8fec434b5
|
cast exchange instance to margin exchange interface
|
2021-01-19 23:31:04 +08:00 |
|
c9s
|
3199c63d62
|
add margin mode
|
2021-01-19 23:31:04 +08:00 |
|
c9s
|
4002ec80d6
|
add public only field to the session config struct
|
2021-01-19 23:31:04 +08:00 |
|
c9s
|
d04e1e7816
|
refactory sync command and upgrade db automatically
|
2021-01-14 15:10:11 +08:00 |
|
c9s
|
2699c32b38
|
add rockhopper
|
2021-01-13 23:53:36 +08:00 |
|
c9s
|
653eba73c5
|
improve session error message
|
2021-01-09 19:47:21 +08:00 |
|
c9s
|
4a1af6f362
|
add check for PersistenceServiceFacade
|
2021-01-09 19:44:45 +08:00 |
|
c9s
|
93d71b5300
|
bbgo: session log error
|
2021-01-09 19:40:31 +08:00 |
|
c9s
|
92ab7e125a
|
improve RegisterStrategy method to register strategy between cross and single
|
2020-12-31 17:14:47 +08:00 |
|
c9s
|
25eab8e95f
|
adjust log
|
2020-12-29 18:32:51 +08:00 |
|
c9s
|
f485c1ba7f
|
fix grid strategy order placing
|
2020-12-29 18:18:32 +08:00 |
|
c9s
|
275aa9494a
|
support canceling orders on max
|
2020-12-29 16:00:03 +08:00 |
|
c9s
|
9223b2ba47
|
move FormatOrder to ExchangeSession since it depends on Market
|
2020-12-21 13:47:40 +08:00 |
|
c9s
|
3eae58322a
|
add trade update callbacks and order update callbacks to order executor
|
2020-12-21 13:40:23 +08:00 |
|
c9s
|
728bf5fc81
|
bbgo: move some logs to debug level
|
2020-12-15 14:14:44 +08:00 |
|
c9s
|
0222c33330
|
fix kline tail method
|
2020-12-08 10:26:20 +08:00 |
|
c9s
|
9eaf69388c
|
add fixedpoint json marshaling
|
2020-12-07 23:03:06 +08:00 |
|
c9s
|
4addf65f64
|
support memory persistence
|
2020-12-07 12:03:56 +08:00 |
|
c9s
|
2d98336fb6
|
implement Persistent API for strategy
|
2020-12-07 11:44:41 +08:00 |
|
c9s
|
341f735bc3
|
configure ConfigurePersistence if it's defined
|
2020-12-07 11:44:41 +08:00 |
|
c9s
|
a01f83ab15
|
add persistence config and tests
|
2020-12-07 11:44:41 +08:00 |
|