tjs
08884a9fec
use latest node version and catch unhandledRejections
2022-03-30 20:22:41 -04:00
Maximilian Schneider
19f9a72e5d
limit to 7 days
2021-11-03 22:05:55 +00:00
Maximilian Schneider
c9f1123338
limit candles to last 15 days
2021-11-03 21:59:45 +00:00
Maximilian Schneider
f6de4f853e
warmup caches on load
2021-11-03 21:43:28 +00:00
Maximilian Schneider
467740b401
use one connection per market
2021-11-03 20:16:54 +00:00
Maximilian Schneider
a75a006cad
add more decimals for RAY,FTT,COPE,ADA
2021-11-02 11:48:19 +00:00
Maximilian Schneider
83265c9800
upgrade to 3.2.4
2021-11-01 19:42:26 +00:00
Maximilian Schneider
87a169ed41
upgrade to 3.0.22
2021-09-20 19:07:35 +02:00
Maximilian Schneider
26a4966e2a
upgrade to 3.0.20
2021-09-20 18:42:38 +02:00
Maximilian Schneider
d24bd4decc
upgrade to 3.0.19
2021-09-20 18:20:15 +02:00
Maximilian Schneider
6a62db975c
stability improvements ( #5 )
...
* add notify to discord hook
* split into worker & web roles
* dont log 404s
* use the correct connection url for perp market collection
* try to handle rate limit better
* change fetch interval to never double submit
* add extra try catch around collect market
* try with express api server using one redis connection
* just use a single Tedis instance
* fix error in tracking perp trades
* add LRU cache to reduce load on redis
Co-authored-by: Tyler Shipe <tjshipe@gmail.com>
2021-09-20 18:17:12 +02:00
Maximilian Schneider
89e97de28a
Merge pull request #4 from blockworks-foundation/max/perp
...
implement perp market collection
2021-08-30 18:46:21 +02:00
Tyler Shipe
8b6d119249
use latest mango-client and mainnet group
2021-08-25 13:10:01 -04:00
Maximilian Schneider
22e71a1765
update mango client to 3.0.10
2021-08-25 16:42:07 +02:00
Maximilian Schneider
acf0d144b2
adapt price scales in trading view per market
2021-08-20 17:01:45 +02:00
Maximilian Schneider
319bdc4b12
correctly fetch recent trades for perp markets
2021-08-20 04:46:48 +02:00
Maximilian Schneider
a8e50b494b
correctly format timestamp
2021-08-20 04:18:12 +02:00
Maximilian Schneider
b1a3fa6a81
implement perp market collection
2021-08-20 03:55:11 +02:00
Maximilian Schneider
81141a47bf
add more market pairs
2021-08-19 15:52:32 +02:00
Tyler Shipe
f6fec87160
add usdt/usdc market
2021-08-18 18:15:58 -04:00
Tyler Shipe
615ac910d6
add mngo to serum history
2021-08-11 20:38:55 -04:00
Tyler Shipe
bcbebd6549
add back console error format
2021-07-02 16:02:24 -04:00
Maximilian Schneider
a40cf75edd
Revert "recreate redis connection continuosly when feeding data"
...
This reverts commit 65a2263378
.
2021-07-02 15:40:52 -04:00
Maximilian Schneider
6302b7f45a
configure per response caching
2021-07-02 20:10:33 +02:00
Maximilian Schneider
09172be087
disable all caching
2021-07-02 20:03:24 +02:00
Maximilian Schneider
65a2263378
recreate redis connection continuosly when feeding data
2021-07-02 17:58:12 +02:00
Maximilian Schneider
c0a3b9b805
reformat
2021-07-02 17:56:01 +02:00
Riordan Panayides
c6c3240cbf
Add INTERVAL documentation
2021-06-20 20:48:13 +01:00
Riordan Panayides
67cfb18715
Merge pull request #2 from blockworks-foundation/add-interval-env
...
Add environment variable to control refresh interval
2021-06-20 20:14:25 +01:00
Riordan Panayides
adf9166610
Add environment variable to control refresh interval
2021-06-20 20:08:04 +01:00
Tyler
0e7046785e
Merge pull request #1 from blockworks-foundation/fix-newevents
...
Limit new events length to prevent overflow
2021-06-20 12:06:31 -04:00
Riordan Panayides
740b36f260
Limit new events length to prevent overflow
2021-06-20 17:03:45 +01:00
Maximilian Schneider
342cadfe87
improver serum event queue tracking
2021-05-31 13:33:39 +03:00
Maximilian Schneider
0a3b9b2523
stop recording wrapped v3 markets
2021-05-21 12:14:46 +03:00
Maximilian Schneider
2df5ad805e
add documentation for env variables to README
2021-05-04 16:22:29 +03:00
Maximilian Schneider
d2a7e3d09a
make RPC endpoint configurable from env
2021-05-04 15:24:34 +03:00
Maximilian Schneider
9450215b8c
increase redis connection limit through env
2021-05-04 13:36:37 +03:00
Tyler Shipe
20e8a4a110
move markets to nativeV3 object
2021-04-27 09:27:38 -04:00
Tyler Shipe
db7b2d5ab1
remove v2 markets and add v3 markets
2021-04-26 23:32:30 -04:00
Maximilian Schneider
881944d0f3
add more timeranges to history
2021-04-23 22:41:26 +03:00
Maximilian Schneider
9761a88264
add 🧢 history
2021-04-07 23:44:21 +02:00
Maximilian Schneider
8ee25e6a33
publish with README & LICENSE
2021-04-07 00:23:26 +02:00
Maximilian Schneider
0eb97ecc52
implement tradingview endpoints
...
* snap candles to period boundaries
* reverse order of trade history
* fetch from serum v3 & v2
* integrate native & wrapped tether markets
2021-04-07 00:10:20 +02:00
Maximilian Schneider
3c7c56b371
Trade Collector for serum
...
* collects from spot_markets defined in @mango/client IDS
* fetches loadFills endpoint every 5 seconds
* stores trades as base64 encoded blobs in redis lists per symbol&day
2021-02-15 13:42:34 +01:00