Commit Graph

7289 Commits

Author SHA1 Message Date
c9s
f35e90a4f1 document marginSideEffect 2021-01-19 23:31:04 +08:00
c9s
5cab37488b move MarginSettings struct to a file 2021-01-19 23:31:04 +08:00
c9s
1c77de031a add extended margin fields to the order struct 2021-01-19 23:31:04 +08:00
c9s
f8a9610222 pass isolated margin symbol 2021-01-19 23:31:04 +08:00
c9s
f505c0e2c6 split go routine for keep alive and ping tickers 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
48083151aa turning margin mode 2021-01-19 23:31:04 +08:00
c9s
54c75d4d6e add skeleton for binance margin example 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
e41f54d57b ignore .mod 2021-01-19 23:31:04 +08:00
c9s
c3db6db590 add margin option 2021-01-19 23:31:04 +08:00
c9s
43133197bb update github.com/adshao/go-binance to 20201124141719-8754a53fcf6a 2021-01-19 23:31:04 +08:00
c9s
1233035780 fix migration script 2021-01-19 23:11:07 +08:00
c9s
0bdfd0f04b check if err is nil 2021-01-18 21:59:02 +08:00
c9s
ddc33f633f check if err is nil 2021-01-18 21:57:57 +08:00
Yo-An Lin
2122bc9b15 Merge pull request #84 from c9s/fix/unique-index
fix unique index for binance self trade
2021-01-18 17:29:19 +08:00
c9s
463a9bf1b7 fix sql syntax 2021-01-18 16:56:01 +08:00
c9s
ad78f81b10 fix unique index for binance self trade 2021-01-18 16:48:47 +08:00
c9s
3db5c26416 improve transfer history layout 2021-01-15 14:24:24 +08:00
c9s
fd6301b780 add rewards commands 2021-01-15 11:10:43 +08:00
Yo-An Lin
4ba510a799 Merge pull request #82 from c9s/improvements/sql-migration
embed sql migration tool
2021-01-15 10:55:23 +08:00
c9s
d96e6e8ccc use environment to configure database 2021-01-15 10:47:49 +08:00
c9s
2a524c0505 remove the migrate command section from readme 2021-01-15 10:35:24 +08:00
c9s
af269da47c simplify the required mysql env vars 2021-01-15 10:34:44 +08:00
c9s
1ce3244c17 drop the legacy migration command 2021-01-15 10:33:23 +08:00
c9s
293d889276 fix built-in migrations 2021-01-15 10:31:37 +08:00
c9s
d04e1e7816 refactory sync command and upgrade db automatically 2021-01-14 15:10:11 +08:00
c9s
ad567dc360 use mysql reformat dsn function to add parseTime parameters 2021-01-14 14:56:13 +08:00
c9s
cd9f2ba0e8 add compile migration files 2021-01-14 00:33:28 +08:00
c9s
6491166459 drop legacy pkg/migration 2021-01-14 00:00:05 +08:00
c9s
2592ae55a2 tidy go modules 2021-01-13 23:59:36 +08:00
c9s
2699c32b38 add rockhopper 2021-01-13 23:53:36 +08:00
c9s
8af89160e3 add pkger 2021-01-13 23:53:23 +08:00
c9s
7a1f77a8d1 fix go module for go-biancne 2021-01-11 14:06:21 +08:00
c9s
7695271c6d optimize go mod 2021-01-11 13:57:55 +08:00
c9s
45a79c5d77 fix heroku install 2021-01-11 13:55:53 +08:00
c9s
50cd6f7d68 change go-binance to github.com/adshao/go-binance/v2 2021-01-11 13:36:49 +08:00
c9s
a71ebdd417 add github.com/adshao/go-binance/v2 2021-01-11 13:33:58 +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
9a64acedc9 fix go mod mark 2021-01-07 18:19:12 +08:00
c9s
cb37409684 avoid using the latest go-binance 2021-01-07 17:57:18 +08:00
c9s
a0e32dd107 fix go module 2021-01-07 17:50:28 +08:00
c9s
eeeecb92b6 add bbgo.sql 2021-01-06 15:13:59 +08:00
c9s
995f9a9ea0 grid: add order amount field 2021-01-06 13:31:17 +08:00
c9s
e99b59100b bump version to v1.6.0 2020-12-31 17:47:45 +08:00