Giter Site home page Giter Site logo

tradezap's Introduction

TradeZap

npm version npm downloads CI TypeScript

⚡ Get trading data in a zap

Easily define which trading data to download 🚀

Usage

  • 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 📈

Grab Trading Data 🚀

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.

Options Available

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

Data Providers

Currently supported data providers:

Development

Requirement - Bun v1.0.30+

Easily set up a local development environment!

  • clone
  • bun i
  • bun run dev

Start coding!

Contributing

All contributions are welcome!

tradezap's People

Contributors

mkosir avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.