⚡ Get trading data in a zap
Easily define which trading data to download 🚀
npm i --save-dev tradezap
- Define which trading data you want in
tradezap.config.ts
file (example) - Run
npx tradezap
- Trading data are ready to use 📈
Easily define which trading data to download in tradezap.config.ts
file (example)
// Download ETH-BUSD daily spot trades for 1st and 2nd of January 2021, 2022 and 2023
{
tradingPair: 'ETH-BUSD',
asset: 'spot',
assetType: 'trades',
timeSpans: [
{
period: 'daily',
years: [2021, 2022, 2023],
months: [1],
days: [1, 2],
},
],
},
// Download AVAX-BUSD monthly spot trades for August and September 2023
{
tradingPair: 'AVAX-BUSD',
asset: 'spot',
assetType: 'trades',
timeSpans: [
{
period: 'monthly',
years: [2023],
months: [8, 9],
},
],
},
...
TradeZap CLI tool keeps your trading data up to date.
tradezap [options]
Options:
-c, --config <filename> Config file (default: tradezap.config.ts)
--redownload Download and overwrite data again even if they already exist (default: false)
--verbose Verbose output (default: false)
-h, --help Display help
-v, --version Display version number
Currently supported data providers:
Requirement - Bun v1.1.34+
Easily set up a local development environment!
- clone
bun i
bun run dev
Start coding!
All contributions are welcome!