pmxtjs 2.51.2 → 2.51.3
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 +14 -5
- package/dist/esm/generated/src/apis/DefaultApi.d.ts +6 -0
- package/dist/esm/generated/src/apis/DefaultApi.js +6 -0
- package/dist/esm/generated/src/models/CreateOrderParams.d.ts +20 -0
- package/dist/esm/generated/src/models/CreateOrderParams.js +11 -0
- package/dist/esm/pmxt/client.d.ts +40 -9
- package/dist/esm/pmxt/client.js +78 -3
- package/dist/esm/pmxt/hosted-typed-data.d.ts +1 -1
- package/dist/esm/pmxt/hosted-typed-data.js +14 -0
- package/dist/esm/pmxt/models.d.ts +17 -0
- package/dist/generated/src/apis/DefaultApi.d.ts +6 -0
- package/dist/generated/src/apis/DefaultApi.js +6 -0
- package/dist/generated/src/models/CreateOrderParams.d.ts +20 -0
- package/dist/generated/src/models/CreateOrderParams.js +12 -1
- package/dist/pmxt/client.d.ts +40 -9
- package/dist/pmxt/client.js +78 -3
- package/dist/pmxt/hosted-typed-data.d.ts +1 -1
- package/dist/pmxt/hosted-typed-data.js +14 -0
- package/dist/pmxt/models.d.ts +17 -0
- package/generated/docs/ArbitrageOpportunity.md +0 -29
- package/generated/docs/Balance.md +0 -25
- package/generated/docs/BaseRequest.md +0 -21
- package/generated/docs/BaseResponse.md +0 -22
- package/generated/docs/BuildOrder200Response.md +0 -23
- package/generated/docs/BuildOrderRequest.md +0 -22
- package/generated/docs/BuiltOrder.md +0 -26
- package/generated/docs/BuiltOrderTx.md +0 -24
- package/generated/docs/CancelOrderRequest.md +0 -22
- package/generated/docs/CloseRequest.md +0 -22
- package/generated/docs/CompareMarketPrices200Response.md +0 -23
- package/generated/docs/CompareMarketPricesRequest.md +0 -22
- package/generated/docs/CreateOrder200Response.md +0 -23
- package/generated/docs/CreateOrderParams.md +2 -30
- package/generated/docs/CreateOrderRequest.md +0 -22
- package/generated/docs/DataFeedsApi.md +0 -329
- package/generated/docs/DefaultApi.md +3 -1438
- package/generated/docs/ErrorDetail.md +0 -25
- package/generated/docs/ErrorResponse.md +0 -22
- package/generated/docs/EventFetchParams.md +0 -35
- package/generated/docs/EventFilterCriteria.md +0 -26
- package/generated/docs/EventFilterCriteriaTotalVolume.md +0 -22
- package/generated/docs/EventMatchResult.md +0 -22
- package/generated/docs/ExchangeCredentials.md +0 -29
- package/generated/docs/ExchangeCredentialsSignatureType.md +0 -20
- package/generated/docs/ExchangeOptions.md +0 -27
- package/generated/docs/ExecutionPriceResult.md +0 -23
- package/generated/docs/FeedFetchHistoricalPrices200Response.md +0 -22
- package/generated/docs/FeedFetchOHLCV200Response.md +0 -22
- package/generated/docs/FeedFetchOracleHistory200Response.md +0 -22
- package/generated/docs/FeedFetchOracleRound200Response.md +0 -22
- package/generated/docs/FeedFetchOrderBook200Response.md +0 -22
- package/generated/docs/FeedFetchOrderBook200ResponseData.md +0 -25
- package/generated/docs/FeedFetchTicker200Response.md +0 -22
- package/generated/docs/FeedFetchTickers200Response.md +0 -22
- package/generated/docs/FeedList200Response.md +0 -22
- package/generated/docs/FeedLoadMarkets200Response.md +0 -22
- package/generated/docs/FeedMarket.md +0 -27
- package/generated/docs/FeedOracleRound.md +0 -28
- package/generated/docs/FeedTicker.md +0 -42
- package/generated/docs/FetchArbitrage200Response.md +0 -23
- package/generated/docs/FetchArbitrageParams.md +0 -24
- package/generated/docs/FetchBalance200Response.md +0 -23
- package/generated/docs/FetchEvent200Response.md +0 -23
- package/generated/docs/FetchEventMatches200Response.md +0 -23
- package/generated/docs/FetchEventMatchesParams.md +0 -29
- package/generated/docs/FetchEvents200Response.md +0 -23
- package/generated/docs/FetchEventsPaginated200Response.md +0 -23
- package/generated/docs/FetchMarket200Response.md +0 -23
- package/generated/docs/FetchMarketMatches200Response.md +0 -23
- package/generated/docs/FetchMarketMatchesParams.md +0 -32
- package/generated/docs/FetchMarkets200Response.md +0 -23
- package/generated/docs/FetchMarketsPaginated200Response.md +0 -23
- package/generated/docs/FetchMatchedMarkets200Response.md +0 -23
- package/generated/docs/FetchMatchedMarketsParams.md +0 -24
- package/generated/docs/FetchMyTrades200Response.md +0 -23
- package/generated/docs/FetchOHLCV200Response.md +0 -23
- package/generated/docs/FetchOpenOrders200Response.md +0 -23
- package/generated/docs/FetchOrderBook200Response.md +0 -23
- package/generated/docs/FetchOrderBookParams.md +0 -24
- package/generated/docs/FetchOrderBooks200Response.md +0 -23
- package/generated/docs/FetchOrderBooksRequest.md +0 -22
- package/generated/docs/FetchPositions200Response.md +0 -23
- package/generated/docs/FetchSeries200Response.md +0 -23
- package/generated/docs/FetchTrades200Response.md +0 -23
- package/generated/docs/FilterEventsRequest.md +0 -22
- package/generated/docs/FilterEventsRequestArgsInner.md +0 -26
- package/generated/docs/FilterMarketsRequest.md +0 -22
- package/generated/docs/FilterMarketsRequestArgsInner.md +0 -31
- package/generated/docs/GetExecutionPrice200Response.md +0 -23
- package/generated/docs/GetExecutionPriceDetailed200Response.md +0 -23
- package/generated/docs/GetExecutionPriceDetailedRequest.md +0 -22
- package/generated/docs/GetExecutionPriceRequest.md +0 -22
- package/generated/docs/GetExecutionPriceRequestArgsInner.md +0 -27
- package/generated/docs/HealthCheck200Response.md +0 -22
- package/generated/docs/HistoryFilterParams.md +0 -24
- package/generated/docs/LoadMarkets200Response.md +0 -23
- package/generated/docs/LoadMarketsRequest.md +0 -22
- package/generated/docs/MarketFilterCriteria.md +0 -31
- package/generated/docs/MarketFilterCriteriaLiquidity.md +0 -22
- package/generated/docs/MarketFilterCriteriaOpenInterest.md +0 -22
- package/generated/docs/MarketFilterCriteriaPrice.md +0 -23
- package/generated/docs/MarketFilterCriteriaResolutionDate.md +0 -22
- package/generated/docs/MarketFilterCriteriaVolume.md +0 -22
- package/generated/docs/MarketFilterCriteriaVolume24h.md +0 -22
- package/generated/docs/MarketFilterParams.md +0 -34
- package/generated/docs/MarketOutcome.md +0 -26
- package/generated/docs/MatchResult.md +0 -27
- package/generated/docs/MatchedMarketPair.md +0 -30
- package/generated/docs/MyTradesParams.md +0 -26
- package/generated/docs/OHLCVParams.md +0 -24
- package/generated/docs/Order.md +0 -37
- package/generated/docs/OrderBook.md +0 -27
- package/generated/docs/OrderHistoryParams.md +0 -25
- package/generated/docs/OrderLevel.md +0 -23
- package/generated/docs/PaginatedEventsResult.md +0 -23
- package/generated/docs/PaginatedMarketsResult.md +0 -23
- package/generated/docs/Position.md +0 -32
- package/generated/docs/PriceCandle.md +0 -26
- package/generated/docs/PriceComparison.md +0 -27
- package/generated/docs/SubmitOrderRequest.md +0 -22
- package/generated/docs/Trade.md +0 -26
- package/generated/docs/TradesParams.md +0 -23
- package/generated/docs/UnifiedEvent.md +0 -33
- package/generated/docs/UnifiedMarket.md +0 -44
- package/generated/docs/UnifiedSeries.md +0 -31
- package/generated/docs/UserTrade.md +0 -32
- package/generated/package.json +1 -1
- package/generated/src/apis/DefaultApi.ts +6 -0
- package/generated/src/models/CreateOrderParams.ts +25 -0
- package/package.json +2 -2
- package/pmxt/client.ts +92 -11
- package/pmxt/hosted-typed-data.ts +17 -1
- package/pmxt/models.ts +20 -0
|
@@ -13,31 +13,6 @@ Name | Type
|
|
|
13
13
|
`exchange` | string
|
|
14
14
|
`detail` | { [key: string]: any; }
|
|
15
15
|
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import type { ErrorDetail } from 'pmxtjs'
|
|
20
|
-
|
|
21
|
-
// TODO: Update the object below with actual values
|
|
22
|
-
const example = {
|
|
23
|
-
"message": null,
|
|
24
|
-
"code": null,
|
|
25
|
-
"retryable": null,
|
|
26
|
-
"exchange": null,
|
|
27
|
-
"detail": null,
|
|
28
|
-
} satisfies ErrorDetail
|
|
29
|
-
|
|
30
|
-
console.log(example)
|
|
31
|
-
|
|
32
|
-
// Convert the instance to a JSON string
|
|
33
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
34
|
-
console.log(exampleJSON)
|
|
35
|
-
|
|
36
|
-
// Parse the JSON string back to an object
|
|
37
|
-
const exampleParsed = JSON.parse(exampleJSON) as ErrorDetail
|
|
38
|
-
console.log(exampleParsed)
|
|
39
|
-
```
|
|
40
|
-
|
|
41
16
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
42
17
|
|
|
43
18
|
|
|
@@ -9,28 +9,6 @@ Name | Type
|
|
|
9
9
|
`success` | boolean
|
|
10
10
|
`error` | [ErrorDetail](ErrorDetail.md)
|
|
11
11
|
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { ErrorResponse } from 'pmxtjs'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"success": false,
|
|
20
|
-
"error": null,
|
|
21
|
-
} satisfies ErrorResponse
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as ErrorResponse
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
12
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
13
|
|
|
36
14
|
|
|
@@ -22,41 +22,6 @@ Name | Type
|
|
|
22
22
|
`sourceExchange` | string
|
|
23
23
|
`exchange` | string
|
|
24
24
|
|
|
25
|
-
## Example
|
|
26
|
-
|
|
27
|
-
```typescript
|
|
28
|
-
import type { EventFetchParams } from 'pmxtjs'
|
|
29
|
-
|
|
30
|
-
// TODO: Update the object below with actual values
|
|
31
|
-
const example = {
|
|
32
|
-
"query": null,
|
|
33
|
-
"limit": null,
|
|
34
|
-
"cursor": null,
|
|
35
|
-
"offset": null,
|
|
36
|
-
"sort": null,
|
|
37
|
-
"status": null,
|
|
38
|
-
"searchIn": null,
|
|
39
|
-
"eventId": null,
|
|
40
|
-
"slug": null,
|
|
41
|
-
"series": null,
|
|
42
|
-
"filter": null,
|
|
43
|
-
"category": null,
|
|
44
|
-
"tags": null,
|
|
45
|
-
"sourceExchange": null,
|
|
46
|
-
"exchange": null,
|
|
47
|
-
} satisfies EventFetchParams
|
|
48
|
-
|
|
49
|
-
console.log(example)
|
|
50
|
-
|
|
51
|
-
// Convert the instance to a JSON string
|
|
52
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
53
|
-
console.log(exampleJSON)
|
|
54
|
-
|
|
55
|
-
// Parse the JSON string back to an object
|
|
56
|
-
const exampleParsed = JSON.parse(exampleJSON) as EventFetchParams
|
|
57
|
-
console.log(exampleParsed)
|
|
58
|
-
```
|
|
59
|
-
|
|
60
25
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
61
26
|
|
|
62
27
|
|
|
@@ -13,32 +13,6 @@ Name | Type
|
|
|
13
13
|
`marketCount` | [MarketFilterCriteriaVolume24h](MarketFilterCriteriaVolume24h.md)
|
|
14
14
|
`totalVolume` | [EventFilterCriteriaTotalVolume](EventFilterCriteriaTotalVolume.md)
|
|
15
15
|
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import type { EventFilterCriteria } from 'pmxtjs'
|
|
20
|
-
|
|
21
|
-
// TODO: Update the object below with actual values
|
|
22
|
-
const example = {
|
|
23
|
-
"text": null,
|
|
24
|
-
"searchIn": null,
|
|
25
|
-
"category": null,
|
|
26
|
-
"tags": null,
|
|
27
|
-
"marketCount": null,
|
|
28
|
-
"totalVolume": null,
|
|
29
|
-
} satisfies EventFilterCriteria
|
|
30
|
-
|
|
31
|
-
console.log(example)
|
|
32
|
-
|
|
33
|
-
// Convert the instance to a JSON string
|
|
34
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
-
console.log(exampleJSON)
|
|
36
|
-
|
|
37
|
-
// Parse the JSON string back to an object
|
|
38
|
-
const exampleParsed = JSON.parse(exampleJSON) as EventFilterCriteria
|
|
39
|
-
console.log(exampleParsed)
|
|
40
|
-
```
|
|
41
|
-
|
|
42
16
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
17
|
|
|
44
18
|
|
|
@@ -10,28 +10,6 @@ Name | Type
|
|
|
10
10
|
`min` | number
|
|
11
11
|
`max` | number
|
|
12
12
|
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import type { EventFilterCriteriaTotalVolume } from 'pmxtjs'
|
|
17
|
-
|
|
18
|
-
// TODO: Update the object below with actual values
|
|
19
|
-
const example = {
|
|
20
|
-
"min": null,
|
|
21
|
-
"max": null,
|
|
22
|
-
} satisfies EventFilterCriteriaTotalVolume
|
|
23
|
-
|
|
24
|
-
console.log(example)
|
|
25
|
-
|
|
26
|
-
// Convert the instance to a JSON string
|
|
27
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
28
|
-
console.log(exampleJSON)
|
|
29
|
-
|
|
30
|
-
// Parse the JSON string back to an object
|
|
31
|
-
const exampleParsed = JSON.parse(exampleJSON) as EventFilterCriteriaTotalVolume
|
|
32
|
-
console.log(exampleParsed)
|
|
33
|
-
```
|
|
34
|
-
|
|
35
13
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
36
14
|
|
|
37
15
|
|
|
@@ -9,28 +9,6 @@ Name | Type
|
|
|
9
9
|
`event` | [UnifiedEvent](UnifiedEvent.md)
|
|
10
10
|
`marketMatches` | [Array<MatchResult>](MatchResult.md)
|
|
11
11
|
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { EventMatchResult } from 'pmxtjs'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"event": null,
|
|
20
|
-
"marketMatches": null,
|
|
21
|
-
} satisfies EventMatchResult
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as EventMatchResult
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
12
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
13
|
|
|
36
14
|
|
|
@@ -17,35 +17,6 @@ Name | Type
|
|
|
17
17
|
`walletAddress` | string
|
|
18
18
|
`baseUrl` | string
|
|
19
19
|
|
|
20
|
-
## Example
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import type { ExchangeCredentials } from 'pmxtjs'
|
|
24
|
-
|
|
25
|
-
// TODO: Update the object below with actual values
|
|
26
|
-
const example = {
|
|
27
|
-
"apiKey": null,
|
|
28
|
-
"apiSecret": null,
|
|
29
|
-
"passphrase": null,
|
|
30
|
-
"apiToken": null,
|
|
31
|
-
"privateKey": null,
|
|
32
|
-
"signatureType": null,
|
|
33
|
-
"funderAddress": null,
|
|
34
|
-
"walletAddress": null,
|
|
35
|
-
"baseUrl": null,
|
|
36
|
-
} satisfies ExchangeCredentials
|
|
37
|
-
|
|
38
|
-
console.log(example)
|
|
39
|
-
|
|
40
|
-
// Convert the instance to a JSON string
|
|
41
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
42
|
-
console.log(exampleJSON)
|
|
43
|
-
|
|
44
|
-
// Parse the JSON string back to an object
|
|
45
|
-
const exampleParsed = JSON.parse(exampleJSON) as ExchangeCredentials
|
|
46
|
-
console.log(exampleParsed)
|
|
47
|
-
```
|
|
48
|
-
|
|
49
20
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
50
21
|
|
|
51
22
|
|
|
@@ -8,26 +8,6 @@
|
|
|
8
8
|
Name | Type
|
|
9
9
|
------------ | -------------
|
|
10
10
|
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { ExchangeCredentialsSignatureType } from 'pmxtjs'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
} satisfies ExchangeCredentialsSignatureType
|
|
19
|
-
|
|
20
|
-
console.log(example)
|
|
21
|
-
|
|
22
|
-
// Convert the instance to a JSON string
|
|
23
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
24
|
-
console.log(exampleJSON)
|
|
25
|
-
|
|
26
|
-
// Parse the JSON string back to an object
|
|
27
|
-
const exampleParsed = JSON.parse(exampleJSON) as ExchangeCredentialsSignatureType
|
|
28
|
-
console.log(exampleParsed)
|
|
29
|
-
```
|
|
30
|
-
|
|
31
11
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
32
12
|
|
|
33
13
|
|
|
@@ -15,33 +15,6 @@ Name | Type
|
|
|
15
15
|
`apiKey` | string
|
|
16
16
|
`autoStartServer` | boolean
|
|
17
17
|
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import type { ExchangeOptions } from 'pmxtjs'
|
|
22
|
-
|
|
23
|
-
// TODO: Update the object below with actual values
|
|
24
|
-
const example = {
|
|
25
|
-
"pmxtApiKey": null,
|
|
26
|
-
"walletAddress": null,
|
|
27
|
-
"signer": null,
|
|
28
|
-
"privateKey": null,
|
|
29
|
-
"baseUrl": null,
|
|
30
|
-
"apiKey": null,
|
|
31
|
-
"autoStartServer": null,
|
|
32
|
-
} satisfies ExchangeOptions
|
|
33
|
-
|
|
34
|
-
console.log(example)
|
|
35
|
-
|
|
36
|
-
// Convert the instance to a JSON string
|
|
37
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
38
|
-
console.log(exampleJSON)
|
|
39
|
-
|
|
40
|
-
// Parse the JSON string back to an object
|
|
41
|
-
const exampleParsed = JSON.parse(exampleJSON) as ExchangeOptions
|
|
42
|
-
console.log(exampleParsed)
|
|
43
|
-
```
|
|
44
|
-
|
|
45
18
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
46
19
|
|
|
47
20
|
|
|
@@ -10,29 +10,6 @@ Name | Type
|
|
|
10
10
|
`filledAmount` | number
|
|
11
11
|
`fullyFilled` | boolean
|
|
12
12
|
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import type { ExecutionPriceResult } from 'pmxtjs'
|
|
17
|
-
|
|
18
|
-
// TODO: Update the object below with actual values
|
|
19
|
-
const example = {
|
|
20
|
-
"price": null,
|
|
21
|
-
"filledAmount": null,
|
|
22
|
-
"fullyFilled": null,
|
|
23
|
-
} satisfies ExecutionPriceResult
|
|
24
|
-
|
|
25
|
-
console.log(example)
|
|
26
|
-
|
|
27
|
-
// Convert the instance to a JSON string
|
|
28
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
-
console.log(exampleJSON)
|
|
30
|
-
|
|
31
|
-
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as ExecutionPriceResult
|
|
33
|
-
console.log(exampleParsed)
|
|
34
|
-
```
|
|
35
|
-
|
|
36
13
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
14
|
|
|
38
15
|
|
|
@@ -9,28 +9,6 @@ Name | Type
|
|
|
9
9
|
`success` | boolean
|
|
10
10
|
`data` | [Array<FeedTicker>](FeedTicker.md)
|
|
11
11
|
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { FeedFetchHistoricalPrices200Response } from 'pmxtjs'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"success": true,
|
|
20
|
-
"data": null,
|
|
21
|
-
} satisfies FeedFetchHistoricalPrices200Response
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as FeedFetchHistoricalPrices200Response
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
12
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
13
|
|
|
36
14
|
|
|
@@ -9,28 +9,6 @@ Name | Type
|
|
|
9
9
|
`success` | boolean
|
|
10
10
|
`data` | Array<Array<number>>
|
|
11
11
|
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { FeedFetchOHLCV200Response } from 'pmxtjs'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"success": true,
|
|
20
|
-
"data": null,
|
|
21
|
-
} satisfies FeedFetchOHLCV200Response
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as FeedFetchOHLCV200Response
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
12
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
13
|
|
|
36
14
|
|
|
@@ -9,28 +9,6 @@ Name | Type
|
|
|
9
9
|
`success` | boolean
|
|
10
10
|
`data` | [Array<FeedOracleRound>](FeedOracleRound.md)
|
|
11
11
|
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { FeedFetchOracleHistory200Response } from 'pmxtjs'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"success": true,
|
|
20
|
-
"data": null,
|
|
21
|
-
} satisfies FeedFetchOracleHistory200Response
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as FeedFetchOracleHistory200Response
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
12
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
13
|
|
|
36
14
|
|
|
@@ -9,28 +9,6 @@ Name | Type
|
|
|
9
9
|
`success` | boolean
|
|
10
10
|
`data` | [FeedOracleRound](FeedOracleRound.md)
|
|
11
11
|
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { FeedFetchOracleRound200Response } from 'pmxtjs'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"success": true,
|
|
20
|
-
"data": null,
|
|
21
|
-
} satisfies FeedFetchOracleRound200Response
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as FeedFetchOracleRound200Response
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
12
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
13
|
|
|
36
14
|
|
|
@@ -9,28 +9,6 @@ Name | Type
|
|
|
9
9
|
`success` | boolean
|
|
10
10
|
`data` | [FeedFetchOrderBook200ResponseData](FeedFetchOrderBook200ResponseData.md)
|
|
11
11
|
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { FeedFetchOrderBook200Response } from 'pmxtjs'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"success": true,
|
|
20
|
-
"data": null,
|
|
21
|
-
} satisfies FeedFetchOrderBook200Response
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as FeedFetchOrderBook200Response
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
12
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
13
|
|
|
36
14
|
|
|
@@ -12,31 +12,6 @@ Name | Type
|
|
|
12
12
|
`datetime` | string
|
|
13
13
|
`symbol` | string
|
|
14
14
|
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import type { FeedFetchOrderBook200ResponseData } from 'pmxtjs'
|
|
19
|
-
|
|
20
|
-
// TODO: Update the object below with actual values
|
|
21
|
-
const example = {
|
|
22
|
-
"asks": null,
|
|
23
|
-
"bids": null,
|
|
24
|
-
"timestamp": null,
|
|
25
|
-
"datetime": null,
|
|
26
|
-
"symbol": null,
|
|
27
|
-
} satisfies FeedFetchOrderBook200ResponseData
|
|
28
|
-
|
|
29
|
-
console.log(example)
|
|
30
|
-
|
|
31
|
-
// Convert the instance to a JSON string
|
|
32
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
-
console.log(exampleJSON)
|
|
34
|
-
|
|
35
|
-
// Parse the JSON string back to an object
|
|
36
|
-
const exampleParsed = JSON.parse(exampleJSON) as FeedFetchOrderBook200ResponseData
|
|
37
|
-
console.log(exampleParsed)
|
|
38
|
-
```
|
|
39
|
-
|
|
40
15
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
16
|
|
|
42
17
|
|
|
@@ -9,28 +9,6 @@ Name | Type
|
|
|
9
9
|
`success` | boolean
|
|
10
10
|
`data` | [FeedTicker](FeedTicker.md)
|
|
11
11
|
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { FeedFetchTicker200Response } from 'pmxtjs'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"success": true,
|
|
20
|
-
"data": null,
|
|
21
|
-
} satisfies FeedFetchTicker200Response
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as FeedFetchTicker200Response
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
12
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
13
|
|
|
36
14
|
|
|
@@ -9,28 +9,6 @@ Name | Type
|
|
|
9
9
|
`success` | boolean
|
|
10
10
|
`data` | [{ [key: string]: FeedTicker; }](FeedTicker.md)
|
|
11
11
|
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { FeedFetchTickers200Response } from 'pmxtjs'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"success": true,
|
|
20
|
-
"data": null,
|
|
21
|
-
} satisfies FeedFetchTickers200Response
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as FeedFetchTickers200Response
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
12
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
13
|
|
|
36
14
|
|
|
@@ -9,28 +9,6 @@ Name | Type
|
|
|
9
9
|
`success` | boolean
|
|
10
10
|
`data` | Array<string>
|
|
11
11
|
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { FeedList200Response } from 'pmxtjs'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"success": true,
|
|
20
|
-
"data": null,
|
|
21
|
-
} satisfies FeedList200Response
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as FeedList200Response
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
12
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
13
|
|
|
36
14
|
|
|
@@ -9,28 +9,6 @@ Name | Type
|
|
|
9
9
|
`success` | boolean
|
|
10
10
|
`data` | [{ [key: string]: FeedMarket; }](FeedMarket.md)
|
|
11
11
|
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { FeedLoadMarkets200Response } from 'pmxtjs'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"success": true,
|
|
20
|
-
"data": null,
|
|
21
|
-
} satisfies FeedLoadMarkets200Response
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as FeedLoadMarkets200Response
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
12
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
13
|
|
|
36
14
|
|
|
@@ -15,33 +15,6 @@ Name | Type
|
|
|
15
15
|
`type` | string
|
|
16
16
|
`info` | any
|
|
17
17
|
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import type { FeedMarket } from 'pmxtjs'
|
|
22
|
-
|
|
23
|
-
// TODO: Update the object below with actual values
|
|
24
|
-
const example = {
|
|
25
|
-
"id": null,
|
|
26
|
-
"symbol": null,
|
|
27
|
-
"base": null,
|
|
28
|
-
"quote": null,
|
|
29
|
-
"active": null,
|
|
30
|
-
"type": null,
|
|
31
|
-
"info": null,
|
|
32
|
-
} satisfies FeedMarket
|
|
33
|
-
|
|
34
|
-
console.log(example)
|
|
35
|
-
|
|
36
|
-
// Convert the instance to a JSON string
|
|
37
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
38
|
-
console.log(exampleJSON)
|
|
39
|
-
|
|
40
|
-
// Parse the JSON string back to an object
|
|
41
|
-
const exampleParsed = JSON.parse(exampleJSON) as FeedMarket
|
|
42
|
-
console.log(exampleParsed)
|
|
43
|
-
```
|
|
44
|
-
|
|
45
18
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
46
19
|
|
|
47
20
|
|