{"_id":"@alleyway/tardis-machine","_rev":"1-ea457718fe7a06ee564fb0a41a565017","name":"@alleyway/tardis-machine","dist-tags":{"latest":"3.29.1-0.b"},"versions":{"3.29.10":{"name":"@alleyway/tardis-machine","version":"3.29.10","keywords":["cryptocurrency data feed","market data","api client","crypto markets data replay","historical data","real-time cryptocurrency market data feed","historical cryptocurrency prices","cryptocurrency api","real-time normalized WebSocket cryptocurrency markets data","normalized cryptocurrency market data API","order book reconstruction","market data normalization","cryptocurrency api","cryptocurrency","orderbook","exchange","websocket","realtime","bitmex","binance","trading","high granularity order book data","replay service","historical cryptocurrency market data replay API"],"license":"MPL-2.0","_id":"@alleyway/tardis-machine@3.29.10","maintainers":[{"name":"mlake","email":"mlake@alleywayapps.com"}],"homepage":"https://github.com/tardis-dev/tardis-machine","bugs":{"url":"https://github.com/alleyway/tardis-machine/issues"},"bin":{"tardis-machine":"bin/tardis-machine.js"},"dist":{"shasum":"f1d1c2fdcda55f64c7b83243419e8d0541416602","tarball":"https://registry.npmjs.org/@alleyway/tardis-machine/-/tardis-machine-3.29.10.tgz","fileCount":70,"integrity":"sha512-KQp9Nj9NonoevBig7MlwbHU34wUKfIcM8AX89kpRfidPhHskA/8PPNByp02+SfEqsuTwu+LGyrnjHsYkCiRkig==","signatures":[{"sig":"MEUCIQDscA+i/pryqPMXtT4GvjZqbCo15pB1cPu60l09wyz+UQIgURH05QqkXOaUh4ig6zPVdXOnWFCDoJ/Exq39YZjxJzg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":189044},"jest":{"transform":{"\\.(ts|tsx)?$":"ts-jest"},"testEnvironment":"node","moduleNameMapper":{"^tardis-dev$":"@alleyway/tardis-dev"}},"main":"dist/index.js","types":"dist/index.d.ts","source":"src/index.js","engines":{"node":">=16"},"gitHead":"a5c0f91d9f2c8c40c607265c3f9faedd9f4a391c","scripts":{"test":"npm run build && jest --forceExit --runInBand","build":"tsc","format":"prettier --write .","prepare":"npm run build","benchmark":"node ./benchmark.js","precommit":"lint-staged","check-format":"prettier --check ."},"_npmUser":{"name":"mlake","email":"mlake@alleywayapps.com"},"repository":{"url":"git+https://github.com/alleyway/tardis-machine.git","type":"git"},"_npmVersion":"10.8.2","description":"Locally runnable server with built-in data caching, providing both tick-level historical and consolidated real-time cryptocurrency market data via HTTP and WebSocket APIs","directories":{},"lint-staged":{"*.{ts}":["prettier --write","git add"]},"_nodeVersion":"20.14.0","dependencies":{"debug":"^4.3.4","yargs":"^17.5.1","is-docker":"^2.2.1","find-my-way":"^6.3.0","uWebSockets.js":"github:uNetworking/uWebSockets.js#v20.42.0","@alleyway/tardis-dev":"^13.29.14"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.11.0","jest":"^28.1.1","husky":"^8.0.2","split2":"^4.1.0","ts-jest":"^28.0.4","prettier":"^2.8.0","@types/ws":"^8.5.3","cross-var":"^1.1.0","node-fetch":"^2.6.1","typescript":"^4.9.3","@types/jest":"^28.1.1","@types/node":"^18.11.9","lint-staged":"^13.0.3","@types/debug":"^4.1.7","@types/yargs":"^17.0.10","@types/split2":"^3.2.1","@types/node-fetch":"^2.6.2"},"_npmOperationalInternal":{"tmp":"tmp/tardis-machine_3.29.10_1724666510553_0.6258833189066759","host":"s3://npm-registry-packages"}},"3.29.1-0.b":{"name":"@alleyway/tardis-machine","version":"3.29.1-0.b","engines":{"node":">=16"},"description":"Locally runnable server with built-in data caching, providing both tick-level historical and consolidated real-time cryptocurrency market data via HTTP and WebSocket APIs","main":"dist/index.js","source":"src/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/alleyway/tardis-machine.git"},"homepage":"https://github.com/tardis-dev/tardis-machine","scripts":{"build":"tsc","precommit":"lint-staged","test":"npm run build && jest --forceExit --runInBand","prepare":"npm run build","format":"prettier --write .","check-format":"prettier --check .","benchmark":"node ./benchmark.js"},"bin":{"tardis-machine":"bin/tardis-machine.js"},"keywords":["cryptocurrency data feed","market data","api client","crypto markets data replay","historical data","real-time cryptocurrency market data feed","historical cryptocurrency prices","cryptocurrency api","real-time normalized WebSocket cryptocurrency markets data","normalized cryptocurrency market data API","order book reconstruction","market data normalization","cryptocurrency api","cryptocurrency","orderbook","exchange","websocket","realtime","bitmex","binance","trading","high granularity order book data","replay service","historical cryptocurrency market data replay API"],"license":"MPL-2.0","dependencies":{"@alleyway/tardis-dev":"^13.29.14.a","debug":"^4.3.4","find-my-way":"^6.3.0","is-docker":"^2.2.1","module-alias":"^2.2.3","uWebSockets.js":"github:uNetworking/uWebSockets.js#v20.42.0","yargs":"^17.5.1"},"devDependencies":{"@types/debug":"^4.1.7","@types/jest":"^28.1.1","@types/node":"^18.11.9","@types/node-fetch":"^2.6.2","@types/split2":"^3.2.1","@types/ws":"^8.5.3","@types/yargs":"^17.0.10","cross-var":"^1.1.0","husky":"^8.0.2","jest":"^28.1.1","lint-staged":"^13.0.3","node-fetch":"^2.6.1","prettier":"^2.8.0","split2":"^4.1.0","ts-jest":"^28.0.4","typescript":"^4.9.3","ws":"^8.11.0"},"lint-staged":{"*.{ts}":["prettier --write","git add"]},"jest":{"transform":{"\\.(ts|tsx)?$":"ts-jest"},"testEnvironment":"node","moduleNameMapper":{"^tardis-dev$":"@alleyway/tardis-dev"}},"_id":"@alleyway/tardis-machine@3.29.1-0.b","gitHead":"f6d5d906bd3cf28f5f2384d860385db5e9fd1646","bugs":{"url":"https://github.com/alleyway/tardis-machine/issues"},"_nodeVersion":"20.14.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-g4fJLy9ygnOk9XpHMFuOPY+KmU4f9rNWrelWF3HJEY8Uv522rBa6A+nYsuSRuOVAj7MwEUG+rXuJpnNLz+j7IQ==","shasum":"4ef382c3684120a368cd36ae040fa5a0772342b0","tarball":"https://registry.npmjs.org/@alleyway/tardis-machine/-/tardis-machine-3.29.1-0.b.tgz","fileCount":70,"unpackedSize":189342,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDaIoM74RSQMzSCOaObeQwnfCKW6zh5NDHHahbGlwYj8AiBMOJiG566WekJWPamH/qWvIRsgW9oqNJkX1fhTgZ70Ew=="}]},"_npmUser":{"name":"mlake","email":"mlake@alleywayapps.com"},"directories":{},"maintainers":[{"name":"mlake","email":"mlake@alleywayapps.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tardis-machine_3.29.1-0.b_1724698220766_0.19019331565989828"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-26T10:01:50.424Z","modified":"2024-08-26T18:50:21.103Z","3.29.10":"2024-08-26T10:01:50.693Z","3.29.1-0.b":"2024-08-26T18:50:20.922Z"},"bugs":{"url":"https://github.com/alleyway/tardis-machine/issues"},"license":"MPL-2.0","homepage":"https://github.com/tardis-dev/tardis-machine","keywords":["cryptocurrency data feed","market data","api client","crypto markets data replay","historical data","real-time cryptocurrency market data feed","historical cryptocurrency prices","cryptocurrency api","real-time normalized WebSocket cryptocurrency markets data","normalized cryptocurrency market data API","order book reconstruction","market data normalization","cryptocurrency api","cryptocurrency","orderbook","exchange","websocket","realtime","bitmex","binance","trading","high granularity order book data","replay service","historical cryptocurrency market data replay API"],"repository":{"type":"git","url":"git+https://github.com/alleyway/tardis-machine.git"},"description":"Locally runnable server with built-in data caching, providing both tick-level historical and consolidated real-time cryptocurrency market data via HTTP and WebSocket APIs","maintainers":[{"name":"mlake","email":"mlake@alleywayapps.com"}],"readme":"# Tardis Machine Server\n\n[![Version](https://img.shields.io/npm/v/tardis-machine.svg)](https://www.npmjs.org/package/tardis-machine)\n\n[Tardis-machine](https://docs.tardis.dev/api/tardis-machine) is a locally runnable server with built-in data caching that uses [Tardis.dev HTTP API](https://docs.tardis.dev/api/http) under the hood. It provides both **tick-level historical** and **consolidated real-time cryptocurrency market data** via HTTP and WebSocket APIs. Available via [npm](https://docs.tardis.dev/api/tardis-machine#npm) and [Docker](https://docs.tardis.dev/api/tardis-machine#docker).\n<br/>\n<br/>\n![overview](<https://gblobscdn.gitbook.com/assets%2F-LihqQrMLN4ia7KgxAzi%2F-M2YHT2t5D3zrOL7TEyt%2F-M2YHurMxtHTW9ak0V9I%2Fexcalidraw-2020316131859%20(1).png?alt=media&token=11f81814-6b3e-4254-8047-cb03c433bcde>)\n<br/>\n\n## Features\n\n- efficient data replay API endpoints returning historical market data for whole time periods \\(in contrast to [Tardis.dev HTTP API](https://docs.tardis.dev/api/http) where single call returns data for single minute time period\\)\n\n- [exchange-native market data APIs](https://docs.tardis.dev/api/tardis-machine#exchange-native-market-data-apis)\n\n  - tick-by-tick historical market data replay in [exchange-native format](https://docs.tardis.dev/faq/data#what-is-a-difference-between-exchange-native-and-normalized-data-format)\n\n  - [HTTP](https://docs.tardis.dev/api/tardis-machine#http-get-replay-options-options) and [WebSocket](https://docs.tardis.dev/api/tardis-machine#websocket-ws-replay-exchange-exchange-and-from-fromdate-and-to-todate) endpoints\n\n  - [WebSocket API](https://docs.tardis.dev/api/tardis-machine#websocket-ws-replay-exchange-exchange-and-from-fromdate-and-to-todate) providing historical market data replay from any given past point in time with the same data format and 'subscribe' logic as real-time exchanges' APIs - in many cases **existing exchanges' WebSocket clients can be used to connect to this endpoint**\n\n- [normalized market data APIs](https://docs.tardis.dev/api/tardis-machine#normalized-market-data-apis)\n  <br/>\n\n  - consistent format for accessing market data across multiple exchanges\n\n  - [HTTP](https://docs.tardis.dev/api/tardis-machine#http-get-replay-normalized-options-options) and [WebSocket](https://docs.tardis.dev/api/tardis-machine#websocket-ws-replay-normalized-options-options) endpoints\n\n  - synchronized [historical market data replay across multiple exchanges](https://docs.tardis.dev/api/tardis-machine#http-get-replay-normalized-options-options)\n\n  - [consolidated real-time data streaming](https://docs.tardis.dev/api/tardis-machine#websocket-ws-stream-normalized-options-options) connecting directly to exchanges' WebSocket APIs\n\n  - customizable [order book snapshots](https://docs.tardis.dev/api/tardis-machine#book_snapshot_-number_of_levels-_-snapshot_interval-time_unit) and [trade bars](https://docs.tardis.dev/api/tardis-machine#trade_bar_-aggregation_interval-suffix) data types\n  - seamless [switching between real-time data streaming and historical data replay](https://docs.tardis.dev/api/tardis-machine#normalized-market-data-apis)\n    <br/>\n\n- transparent historical local data caching \\(cached data is stored on disk in compressed GZIP format and decompressed\n  on demand when reading the data\\)\n  <br/>\n\n- support for top cryptocurrency exchanges: BitMEX, Deribit, Binance, Binance Futures, FTX, OKEx, Huobi Global, Huobi DM, bitFlyer, Bitstamp, Coinbase Pro, Crypto Facilities, Gemini, Kraken, Bitfinex, Bybit, OKCoin, CoinFLEX and more\n  <br/>\n  <br/>\n  <br/>\n\n## Documentation\n\n### [See official docs](https://docs.tardis.dev/api/tardis-machine).\n\n<br/>\n<br/>\n","readmeFilename":"README.md"}