44
55[ sign up in CryptoMarket] ( https://www.cryptomkt.com/account/register ) .
66
7- # Installation
7+ ## Installation
88
99To install Cryptomarket use npm
1010
11- ```
12- npm install cryptomarket@3.2.1
11+ ``` bash
12+ npm install cryptomarket@3.3.0
1313```
1414
15- # Documentation
15+ ## Documentation
1616
1717This sdk makes use of the [ api version 3] ( https://api.exchange.cryptomkt.com ) of cryptomarket.
1818
19- # Quick Start
19+ ## Quick Start
2020
21- ## rest client
21+ ### Rest client
2222
2323``` typescript
2424const { Client } = require (" cryptomarket" );
@@ -60,7 +60,7 @@ const newOrder = await client.createOrder({
6060});
6161```
6262
63- ## websocket client
63+ ### Websocket client
6464
6565There are three websocket clients, the market data client, the spot trading client and the wallet client.
6666The market data client requires no authentication, while the spot trading client and the wallet client do require it.
@@ -70,7 +70,7 @@ All websocket methods return promises. Subscriptions also take in a function of
7070The documentation of a specific subscriptions explains with of this types of
7171notification uses.
7272
73- ### MarketDataClient
73+ #### MarketDataClient
7474
7575Example of use of the market data client
7676
@@ -102,7 +102,7 @@ await marketDataClient.subscribeToPartialOrderBook(
102102
103103```
104104
105- ### SpotTradingClient
105+ #### SpotTradingClient
106106
107107Example of use of the spot trading client
108108
@@ -133,7 +133,7 @@ const report = await tradingClient.createSpotOrder({
133133console .log (report );
134134` ` `
135135
136- ### WalletClient
136+ #### WalletClient
137137
138138Example of use of the wallet client
139139
@@ -157,7 +157,7 @@ await walletClient.subscribeToTransactions((notification, type) => {
157157});
158158` ` `
159159
160- ## error handling
160+ ### Error handling
161161
162162` ` ` typescript
163163
@@ -187,11 +187,11 @@ try {
187187}
188188` ` `
189189
190- # Constants
190+ ## Constants
191191
192192All constants used for calls are in the ` constants ` module.
193193
194- # Checkout our other SDKs
194+ ## Checkout our other SDKs
195195
196196[python sdk](https://github.com/cryptomkt/cryptomkt-python)
197197
0 commit comments