pinets 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/pinets.min.browser.es.js +15 -15
- package/dist/pinets.min.browser.es.js.map +1 -1
- package/dist/pinets.min.browser.js +13 -13
- package/dist/pinets.min.browser.js.map +1 -1
- package/dist/pinets.min.cjs +13 -13
- package/dist/pinets.min.cjs.map +1 -1
- package/dist/pinets.min.es.js +13 -13
- package/dist/pinets.min.es.js.map +1 -1
- package/dist/types/marketData/Binance/BinanceProvider.class.d.ts +7 -0
- package/package.json +1 -1
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { IProvider, ISymbolInfo } from '@pinets/marketData/IProvider';
|
|
2
2
|
export declare class BinanceProvider implements IProvider {
|
|
3
3
|
private cacheManager;
|
|
4
|
+
private activeApiUrl;
|
|
4
5
|
constructor();
|
|
6
|
+
/**
|
|
7
|
+
* Resolves the working Binance API endpoint.
|
|
8
|
+
* Tries default first, then falls back to US endpoint.
|
|
9
|
+
* Caches the working endpoint for future calls.
|
|
10
|
+
*/
|
|
11
|
+
private getBaseUrl;
|
|
5
12
|
getMarketDataInterval(tickerId: string, timeframe: string, sDate: number, eDate: number): Promise<any>;
|
|
6
13
|
getMarketData(tickerId: string, timeframe: string, limit?: number, sDate?: number, eDate?: number): Promise<any>;
|
|
7
14
|
/**
|