gmtech-xyz / safe-cex

An OpenSource TypeScript library to create rich trading cryptocurrencies interfaces
https://tuleep.trade
81 stars 24 forks source link

Feature: Historical fetchOHLCV #4

Closed lleewwiiss closed 1 year ago

lleewwiiss commented 1 year ago

Added 3 optional parameters which allow these functions to fetch historical data or increase the limit to fetch more data. (Will be required for implementing TV charting_library). I've tested it locally and I believe it works, let me know what changes are required.

iam4x commented 1 year ago

Thanks! I'm merging and will change to accept JS timestamps in ms, it makes more sense to handle the conversion at lib level than user code.