-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from coinsambacom/feat/pagcripto_otc_all_tickers
Feat: added "getAllTickers" to pagcripto otc
- Loading branch information
Showing
4 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { pagcripto_otc } from "../src/exchanges"; | ||
import { FetcherHandler } from "../src/utils/DTOs"; | ||
import { MyFetcher } from "../test/utils/MyFetcher"; | ||
// import { OrderSide } from "../src/types/common"; | ||
|
||
FetcherHandler.setFetcher(new MyFetcher()); | ||
|
||
const ex = new pagcripto_otc(); | ||
|
||
// ex.getBook("BTC", "BRL").then((book) => console.log("book from", ex.id, book)); | ||
ex.getAllTickers().then((tickers) => | ||
console.log("tickers from ", ex.id, tickers), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@coinsamba/js-exchanges-connector", | ||
"description": "Collection of JavaScript implementations of cryptocurrency exchange APIs", | ||
"version": "2.1.7", | ||
"version": "2.1.8", | ||
"repository": "[email protected]:coinsambacom/js-exchanges-connector.git", | ||
"author": "Gustavo <[email protected]>", | ||
"license": "MIT", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters