@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

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