@strong-roots-capital/to-binance-timeframe
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

to-binance-timeframe Build status npm version codecov

Convert a TradingView timeframe to a Binance timeframe

Install

npm install @strong-roots-capital/to-binance-timeframe

Use

import { toBinanceTimeframe } from '@strong-roots-capital/to-binance-timeframe'

toBinanceTimeframe('3')
//=> '3m'

toBinanceTimeframe('12H')
//=> '12h'

toBinanceTimefram('1W')
//=> '1w'

Related

binance-candle

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @strong-roots-capital/to-binance-timeframe

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

5.23 kB

Total Files

4

Last publish

Collaborators

  • amchelle
  • hamroctopus