Commit Graph

19 Commits

Author SHA1 Message Date
Lou-Kamades f74cec5d13
refactor: remove scraper and use existing db schema 2023-06-14 02:19:27 -05:00
dboures 67b3583ba6
refactor: worker uses a transactions table 2023-06-08 02:47:05 -05:00
dboures dc1726af43
refactor: replace id with signature in fills table 2023-06-08 01:13:41 -05:00
dboures fd4eebc034
refactor: backfilling uses a transactions table 2023-06-07 23:03:54 -05:00
dboures e0d677c241
refactor: remove candles queue 2023-06-03 12:22:10 -05:00
Riordan Panayides 4d81f6c7f6 Add log levels, remove unused db pings 2023-05-31 14:32:34 +01:00
dboures 6e16ef8e04
lint: cargo clippy 2023-05-19 19:16:37 -05:00
dboures 7ae8339ebb
feat: split backfills into trades and candles 2023-05-19 19:15:13 -05:00
dboures 0e821cc3c1
feat: fill events include block time (fixes backfill issues) 2023-05-19 14:50:56 -05:00
Riordan Panayides 5b61f3d949 wip: many changes for deployment
- split out postgres config and read from env
- make ssl optional
- revert to separate dockerfiles
- give tokio enough workers
- allow custom server bind address
- fix warnings
- cargo fmt
2023-05-17 17:11:17 +01:00
dboures cead78381d
refactor: worker uses tokio-postgres instead of sqlx 2023-05-14 02:15:10 -05:00
dboures f509df05d5
fix: candle batching works with 0 fills 2023-03-27 14:01:48 -05:00
dboures bbf73b164b
fix: fix connection timeouts 2023-03-27 12:11:58 -05:00
dboures 8ccfcbde04
refactor: simplify writing fills to db 2023-03-14 01:21:15 -05:00
dboures c5d3a1f4ab
feat: markets in batcher spawn own threads 2023-03-14 00:31:00 -05:00
dboures c01e53b41c
feat: add traders base volume endpoint 2023-03-13 11:51:30 -05:00
dboures 6e8ddd1ef5
refactor: create structs folder 2023-03-13 00:03:58 -05:00
dboures f4e1e5c3bb
refactor: update candle db schema to support market names 2023-03-12 20:03:39 -05:00
dboures 379ba2c9c6
refactor: reorg file structure 2023-03-12 19:48:53 -05:00