Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@strong-roots-capital/binance-candle

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@strong-roots-capital/binance-candle

Interface for a Binance candle

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

binance-candle Build status npm version codecov

Interface for a Binance candle

Install

npm install @strong-roots-capital/binance-candle

Use

import { binanceCandle } from '@strong-roots-capital/binance-candle'

/**
 * An atomic unit of time-series data as returned by the Binance
 * exchange API.
 */
export default interface BinanceCandle {
    /**
     * Time of current candle open.
     */
    openTime: number,
    /**
     * Opening value of current Candle.
     */
    open: string,
    /**
     * Highest value observed during current Candle.
     */
    high: string,
    /**
     * Lowest value observed during current Candle.
     */
    low: string,
    /**
     * Closing value of current Candle.
     */
    close: string,
    /**
     * Volume observed during current Candle.
     */
    volume: string,
    /**
     * Time that current candle closes.
     */
    closeTime: number,
    /**
     * Volume in units of tradepair-numerator.
     */
    quoteAssetVolume: string,
    /**
     * Number of trades recorded during current Candle.
     */
    trades?: number,
    /**
     * Volume in units of tradepair-denominator.
     */
    baseAssetVolume: string
}

Keywords

FAQs

Package last updated on 05 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc