Larry850806
|
d22a8e9c63
|
Improve bollgrid strategy's balance check and quote calculation
|
2021-02-10 10:11:32 +08:00 |
|
YC
|
776cd95955
|
Merge pull request #128 from c9s/ftx/balance
|
2021-02-09 19:49:38 +08:00 |
|
Yo-An Lin
|
bb394c8d38
|
Merge pull request #124 from ychi/feat/calculate-asset-with-ticker
feat/calculate asset with ticker
|
2021-02-09 17:49:22 +08:00 |
|
Yo-An Lin
|
5b06c47b2a
|
Merge pull request #125 from c9s/fix/grid
|
2021-02-09 12:02:04 +08:00 |
|
ycchen
|
2b285c0202
|
fix: remove unused
|
2021-02-08 22:43:20 +01:00 |
|
ycchen
|
6655e16889
|
minor tweaks
|
2021-02-08 22:41:44 +01:00 |
|
ycchen
|
61c98432f2
|
feat: tickers for asset calculation
|
2021-02-08 22:41:44 +01:00 |
|
ycdesu
|
ed86e923df
|
ftx: add exchange name
|
2021-02-08 22:33:12 +08:00 |
|
ycdesu
|
0eb0bdefa2
|
ftx: use uppercase in toGlobalCurrency
|
2021-02-08 22:29:50 +08:00 |
|
ycdesu
|
46b0315871
|
ftx: implement ftx balances querying
|
2021-02-08 19:07:18 +08:00 |
|
ycdesu
|
eb00720043
|
ftx: define empty ftx.toGlobalCurrency
|
2021-02-08 19:07:18 +08:00 |
|
ycdesu
|
7c48670c39
|
ftx: define rest client
|
2021-02-08 19:07:18 +08:00 |
|
ycdesu
|
8663704d6e
|
util: create IsJSON/IsHTML type helper
|
2021-02-08 19:07:18 +08:00 |
|
ycdesu
|
565086cc2a
|
util: extract IsError method
|
2021-02-08 19:07:18 +08:00 |
|
ycdesu
|
54ef8d3ca6
|
ftx: define empty exchange
|
2021-02-08 19:04:18 +08:00 |
|
c9s
|
72044a63fd
|
remove query trades default limit 200
|
2021-02-08 13:40:47 +08:00 |
|
c9s
|
ffb6a29d0d
|
fix startPrice value conversion
|
2021-02-08 13:21:22 +08:00 |
|
Yo-An Lin
|
f8ae8ec5b0
|
Merge pull request #108 from ychi/feat/exchange-ticker-api
|
2021-02-08 07:37:50 +08:00 |
|
ycchen
|
7a67083fbe
|
Address review feedbacks
|
2021-02-07 22:58:30 +01:00 |
|
Jui-Nan Lin
|
001f0e8c2f
|
fix(max): use global trade side here, not string
|
2021-02-07 14:58:44 +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 |
|
ycchen
|
288f7257eb
|
fix testcases
|
2021-02-06 19:39:43 +01:00 |
|
ycchen
|
5fed7b81de
|
QueryTicker
|
2021-02-06 18:35:23 +01:00 |
|
ycchen
|
fa20df487e
|
feat: ticker api for types.Exchange
|
2021-02-06 14:05:26 +01:00 |
|
Yo-An Lin
|
a738bffc07
|
Merge pull request #112 from jnlin/fix/pnl-amount
|
2021-02-06 18:26:04 +08:00 |
|
Yo-An Lin
|
b81eb33cad
|
Merge pull request #117 from c9s/wizard/sqlite3
add sqlite3 driver option to the wizard user interface
|
2021-02-06 17:41:45 +08:00 |
|
Jui-Nan Lin
|
b38b65ce83
|
fix(pnl): do not calculate the "self" trade
|
2021-02-06 17:34:13 +08:00 |
|
Jui-Nan Lin
|
30f085fa91
|
fix(max): IsBuyer should check side "buy" and "bid"
|
2021-02-06 17:30:18 +08:00 |
|
Jui-Nan Lin
|
7e1825d991
|
Merge branch 'main' into fix/pnl-amount
|
2021-02-06 17:22:43 +08:00 |
|
c9s
|
d0c967af55
|
use fake asset data for the asset query
|
2021-02-06 16:38:00 +08:00 |
|
c9s
|
8e0778a095
|
fix trading volume query for sqlite3
|
2021-02-06 16:05:21 +08:00 |
|
Yo-An Lin
|
597dd21865
|
Merge pull request #116 from c9s/feature/sqlite3
convert time struct for sqlite driver
|
2021-02-06 15:05:49 +08:00 |
|
c9s
|
62145d02f3
|
move dotenv loading to the root command
|
2021-02-06 15:03:07 +08:00 |
|
c9s
|
855378e098
|
add driver field to the setup db route
|
2021-02-06 14:31:46 +08:00 |
|
c9s
|
26f9e5488d
|
apply datatype.Time to order time fields
|
2021-02-06 14:30:00 +08:00 |
|
c9s
|
20e6e4c299
|
add MarshalJSON and UnmarshalJSON to datatype.Time
|
2021-02-06 14:25:38 +08:00 |
|
c9s
|
3abdb3dd7b
|
convert time struct for sqlite driver
|
2021-02-06 12:32:21 +08:00 |
|
Yo-An Lin
|
5a5e64cc8d
|
Merge pull request #111 from c9s/feature/sqlite3
add sqlite3 migration support
|
2021-02-06 11:52:03 +08:00 |
|
c9s
|
32117af4b0
|
service: remove the ignore keyword to make the sql compatible with sqlite3
|
2021-02-06 11:44:49 +08:00 |
|
c9s
|
0b657d59f9
|
make inBaseAsset as private method
|
2021-02-06 11:34:53 +08:00 |
|
c9s
|
dd9dbee903
|
refactor database configuration with env vars
|
2021-02-06 11:33:49 +08:00 |
|
c9s
|
99b56003eb
|
clean up legacy db connection handling with the new database service
|
2021-02-06 11:22:04 +08:00 |
|
c9s
|
276b6c1e48
|
drop the legacy upgradeDB
|
2021-02-06 11:22:04 +08:00 |
|
c9s
|
c7440a3ea4
|
compile and update migration package
|
2021-02-06 11:22:04 +08:00 |
|
c9s
|
de51eb29e4
|
refactor db stuff with database service
|
2021-02-06 11:22:04 +08:00 |
|
ycdesu
|
06eacf70a2
|
util: test Response struct
|
2021-02-05 22:38:45 +08:00 |
|
ycdesu
|
f44d6a323a
|
http: move response helper to util
|
2021-02-05 22:31:40 +08:00 |
|
Yo-An Lin
|
8c72e2290e
|
Merge pull request #110 from jnlin/options_orderlimit
|
2021-02-05 19:30:41 +08:00 |
|
Jui-Nan Lin
|
c9f3b6fc1a
|
fix(pnl): checking the side of trade, not taker or maker
|
2021-02-05 14:52:38 +08:00 |
|