Go to file
tjs 08884a9fec use latest node version and catch unhandledRejections 2022-03-30 20:22:41 -04:00
src use latest node version and catch unhandledRejections 2022-03-30 20:22:41 -04:00
types improver serum event queue tracking 2021-05-31 13:33:39 +03:00
.gitignore Trade Collector for serum 2021-02-15 13:42:34 +01:00
.prettierrc reformat 2021-07-02 17:56:01 +02:00
LICENSE.txt publish with README & LICENSE 2021-04-07 00:23:26 +02:00
Procfile stability improvements (#5) 2021-09-20 18:17:12 +02:00
README.md Add INTERVAL documentation 2021-06-20 20:48:13 +01:00
jasmine.json Trade Collector for serum 2021-02-15 13:42:34 +01:00
package.json use latest node version and catch unhandledRejections 2022-03-30 20:22:41 -04:00
tsconfig.json implement tradingview endpoints 2021-04-07 00:10:20 +02:00
yarn.lock warmup caches on load 2021-11-03 21:43:28 +00:00

README.md

Serum History

Collects and aggregates trades from serum dex for display in a tradingview chart. This is powering the charts on mango.markets. Feel free to improve and extend for the benefit for the larger solana ecosystem.

** Note: This does not include a functioning trading view to inspect the data.** Check the mango markets gui code for a reference how to use this API to display a TradingView.

Configuration

  • Markets: should be added to the dictionaries in src/index.ts marketsV3 - for wrapped token denominated markets (deprecated) nativeMarketsV3 - for native token denominated markets

  • All other configuration should be handled via environment variables. So far the following variables exist:

REDISCLOUD_URL: redis connection url
REDIS_MAX_CONN: maximum number of concurrent connections used by the redis pool
RPC_ENDPOINT_URL: solana rpc connection url
INTERVAL: time in seconds to wait between event queue polls

Questions / Suggestions?

👋 Reach us on our discord