Commit Graph

1381 Commits

Author SHA1 Message Date
c9s
5f1fc804df pkger: update bundled static files 2021-02-04 20:59:07 +08:00
c9s
c968f3d778 improve token Visibility 2021-02-04 20:58:05 +08:00
c9s
b90cc2a8c9 Makefile: frce build bbgo-desktop 2021-02-04 20:36:34 +08:00
c9s
ce097f3747 pkger: update bundled static files 2021-02-04 20:35:42 +08:00
c9s
8b142c96ee Makefile: improve commit message for pkger 2021-02-04 20:34:51 +08:00
c9s
dbfc1caa53 if dotenv file does not exist, do not load it 2021-02-04 20:34:31 +08:00
c9s
bd895149ad if dotenv file does not exist, do not load it 2021-02-04 20:34:31 +08:00
c9s
39fa0ef810 load dotenv file 2021-02-04 20:34:31 +08:00
c9s
2365ccb5d8 improve Makefile targets 2021-02-04 20:34:31 +08:00
c9s
715c717dfd clearInterval 2021-02-04 20:34:31 +08:00
c9s
237c621182 support ping and redirect 2021-02-04 20:34:31 +08:00
c9s
621321f5db add basic desktop app 2021-02-04 20:34:31 +08:00
c9s
0cb2a3c452 split files to make routes smaller 2021-02-04 16:59:00 +08:00
c9s
5f84c847c1 move setupRestart 2021-02-04 16:54:24 +08:00
c9s
e1b4ff3450 move setup handlers to setup.go 2021-02-04 16:51:53 +08:00
c9s
c12161ff1c pull out listSessionSymbols 2021-02-04 16:49:47 +08:00
c9s
3dfc75591a Add RunWithListener method to server 2021-02-04 16:47:53 +08:00
c9s
c1b2114dd2 refactor server routes 2021-02-04 16:44:14 +08:00
c9s
d5b1472560 rename 2021-02-04 15:38:06 +08:00
c9s
0d2cad74a5 add darwin builder 2021-02-04 15:37:39 +08:00
c9s
bd35e7b2d5 redirect to /setup if sessions is empty 2021-02-04 15:32:47 +08:00
c9s
2791da3ec4 fix empty session issue 2021-02-04 15:19:40 +08:00
c9s
d8d1249293 fix env var prefix by using os.Getenv directly 2021-02-04 15:14:54 +08:00
c9s
e6b0a0c595 implement server shutdown goroutine 2021-02-04 14:44:48 +08:00
c9s
e257f6e8f6 pull out pingUntil function 2021-02-04 14:29:15 +08:00
c9s
f2686d02b0 refactor ping handler 2021-02-04 14:00:41 +08:00
c9s
42e5c88a2f refactor more setup route handlers 2021-02-04 13:59:26 +08:00
c9s
f74ebd48e2 refactor setup routes 2021-02-04 13:56:36 +08:00
c9s
7c6fce076f use ping try the api server 2021-02-04 13:48:21 +08:00
c9s
63b837dbd0 set auto complete to off for key, secret fields 2021-02-04 13:46:31 +08:00
c9s
6db1924f87 add setup struct for setup mode options 2021-02-04 13:29:43 +08:00
c9s
7b7bcf56c9 add PUT and DELETE methods 2021-02-04 13:23:05 +08:00
c9s
f21b7f06d7 update static files and fix page routes 2021-02-03 18:54:35 +08:00
c9s
f3c0ec27e6 update pkged static files 2021-02-03 18:54:34 +08:00
c9s
b3aa7e7511 add darwin os check 2021-02-03 18:54:34 +08:00
c9s
22a6f0c173 update pkged static files 2021-02-03 18:54:34 +08:00
YC
d821d2ef95 Merge pull request #103 from ycdesu/minor/order/tests 2021-02-03 18:52:11 +08:00
YC
cc146faae2 Merge pull request #101 from ycdesu/minor/trade/tests
minor: extract SQL generator function of trades table
2021-02-03 18:32:25 +08:00
ycdesu
72b1877e4a order: extract query order sql generator 2021-02-03 18:31:32 +08:00
c9s
c73e5f00f3 refactor server routes 2021-02-03 18:09:33 +08:00
c9s
bf8508d4fb update description 2021-02-03 17:41:48 +08:00
c9s
4e31c7f68a change default config path to just bbgo.yaml 2021-02-03 17:39:53 +08:00
c9s
6245b83524 add description 2021-02-03 17:30:02 +08:00
c9s
9096b6425e move instructions sequence 2021-02-03 17:29:51 +08:00
c9s
c35cef5b09 implement config saving api 2021-02-03 17:27:18 +08:00
ycdesu
220da92f48 trade: extract sql generator function and test it 2021-02-03 16:51:02 +08:00
c9s
2486204b2f add SaveConfigAndRestart panel 2021-02-03 15:59:06 +08:00
ycdesu
1522c3d7a6 trade: create a separate sql gen function 2021-02-03 15:44:02 +08:00
c9s
f7a4f7d415 add strategies endpoint and strategy review page 2021-02-03 15:00:01 +08:00
c9s
705edc38c0 implement config yaml dummper 2021-02-03 09:58:31 +08:00