@xoxno/types 1.0.296 → 1.0.298
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PerpAssetExchange, PerpAssetIntervals, PerpAssetSession, PerpAssetTimezone } from '../../enums';
|
|
1
2
|
export declare class ExchangeDto {
|
|
2
3
|
value: string;
|
|
3
4
|
name: string;
|
|
@@ -13,7 +14,7 @@ export declare class DatafeedConfigurationDto {
|
|
|
13
14
|
supports_marks: boolean;
|
|
14
15
|
supports_timescale_marks: boolean;
|
|
15
16
|
supports_time: boolean;
|
|
16
|
-
supported_resolutions:
|
|
17
|
+
supported_resolutions: PerpAssetIntervals[];
|
|
17
18
|
exchanges: ExchangeDto[];
|
|
18
19
|
symbols_types: SymbolTypeDto[];
|
|
19
20
|
}
|
|
@@ -22,13 +23,13 @@ export declare class SymbolInfoDto {
|
|
|
22
23
|
ticker: string;
|
|
23
24
|
description: string;
|
|
24
25
|
type: string;
|
|
25
|
-
session:
|
|
26
|
-
timezone:
|
|
27
|
-
exchange:
|
|
26
|
+
session: PerpAssetSession;
|
|
27
|
+
timezone: PerpAssetTimezone;
|
|
28
|
+
exchange: PerpAssetExchange;
|
|
28
29
|
minmov: number;
|
|
29
30
|
pricescale: number;
|
|
30
31
|
has_intraday: boolean;
|
|
31
|
-
supported_resolutions:
|
|
32
|
+
supported_resolutions: PerpAssetIntervals[];
|
|
32
33
|
volume_precision: number;
|
|
33
34
|
data_status: 'streaming' | 'endofday' | 'pulsed' | 'delayed_streaming';
|
|
34
35
|
}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.BarDto = exports.PeriodParamsDto = exports.SymbolInfoDto = exports.DatafeedConfigurationDto = exports.SymbolTypeDto = exports.ExchangeDto = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const enums_1 = require("../../enums");
|
|
14
15
|
class ExchangeDto {
|
|
15
16
|
}
|
|
16
17
|
exports.ExchangeDto = ExchangeDto;
|
|
@@ -24,7 +24,7 @@ export declare enum PerpCoinTypes {
|
|
|
24
24
|
L2 = "l2",
|
|
25
25
|
MEME = "meme"
|
|
26
26
|
}
|
|
27
|
-
export declare enum
|
|
27
|
+
export declare enum PerpAssetIntervals {
|
|
28
28
|
ONE_MINUTE = "1",
|
|
29
29
|
THREE_MINUTES = "3",
|
|
30
30
|
FIVE_MINUTES = "5",
|
|
@@ -40,3 +40,15 @@ export declare enum PerpChartIntervals {
|
|
|
40
40
|
ONE_WEEK = "1W",
|
|
41
41
|
ONE_MONTH = "1M"
|
|
42
42
|
}
|
|
43
|
+
export declare enum PerpAssetTimezone {
|
|
44
|
+
UTC = "UTC"
|
|
45
|
+
}
|
|
46
|
+
export declare enum PerpAssetType {
|
|
47
|
+
CRYPTO = "crypto"
|
|
48
|
+
}
|
|
49
|
+
export declare enum PerpAssetSession {
|
|
50
|
+
ALWAYS = "24x7"
|
|
51
|
+
}
|
|
52
|
+
export declare enum PerpAssetExchange {
|
|
53
|
+
DEFAULT = "Default"
|
|
54
|
+
}
|
package/dist/enums/perp.enum.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PerpAssetExchange = exports.PerpAssetSession = exports.PerpAssetType = exports.PerpAssetTimezone = exports.PerpAssetIntervals = exports.PerpCoinTypes = exports.PerpTradesSide = exports.PerpEnum = void 0;
|
|
4
4
|
var PerpEnum;
|
|
5
5
|
(function (PerpEnum) {
|
|
6
6
|
PerpEnum["L2BOOK"] = "l2Book";
|
|
@@ -30,20 +30,36 @@ var PerpCoinTypes;
|
|
|
30
30
|
PerpCoinTypes["L2"] = "l2";
|
|
31
31
|
PerpCoinTypes["MEME"] = "meme";
|
|
32
32
|
})(PerpCoinTypes || (exports.PerpCoinTypes = PerpCoinTypes = {}));
|
|
33
|
-
var
|
|
34
|
-
(function (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
})(
|
|
33
|
+
var PerpAssetIntervals;
|
|
34
|
+
(function (PerpAssetIntervals) {
|
|
35
|
+
PerpAssetIntervals["ONE_MINUTE"] = "1";
|
|
36
|
+
PerpAssetIntervals["THREE_MINUTES"] = "3";
|
|
37
|
+
PerpAssetIntervals["FIVE_MINUTES"] = "5";
|
|
38
|
+
PerpAssetIntervals["FIFTEEN_MINUTES"] = "15";
|
|
39
|
+
PerpAssetIntervals["THIRTY_MINUTES"] = "30";
|
|
40
|
+
PerpAssetIntervals["ONE_HOUR"] = "60";
|
|
41
|
+
PerpAssetIntervals["TWO_HOURS"] = "120";
|
|
42
|
+
PerpAssetIntervals["FOUR_HOURS"] = "240";
|
|
43
|
+
PerpAssetIntervals["EIGHT_HOURS"] = "480";
|
|
44
|
+
PerpAssetIntervals["TWELVE_HOURS"] = "720";
|
|
45
|
+
PerpAssetIntervals["ONE_DAY"] = "1D";
|
|
46
|
+
PerpAssetIntervals["THREE_DAYS"] = "3D";
|
|
47
|
+
PerpAssetIntervals["ONE_WEEK"] = "1W";
|
|
48
|
+
PerpAssetIntervals["ONE_MONTH"] = "1M";
|
|
49
|
+
})(PerpAssetIntervals || (exports.PerpAssetIntervals = PerpAssetIntervals = {}));
|
|
50
|
+
var PerpAssetTimezone;
|
|
51
|
+
(function (PerpAssetTimezone) {
|
|
52
|
+
PerpAssetTimezone["UTC"] = "UTC";
|
|
53
|
+
})(PerpAssetTimezone || (exports.PerpAssetTimezone = PerpAssetTimezone = {}));
|
|
54
|
+
var PerpAssetType;
|
|
55
|
+
(function (PerpAssetType) {
|
|
56
|
+
PerpAssetType["CRYPTO"] = "crypto";
|
|
57
|
+
})(PerpAssetType || (exports.PerpAssetType = PerpAssetType = {}));
|
|
58
|
+
var PerpAssetSession;
|
|
59
|
+
(function (PerpAssetSession) {
|
|
60
|
+
PerpAssetSession["ALWAYS"] = "24x7";
|
|
61
|
+
})(PerpAssetSession || (exports.PerpAssetSession = PerpAssetSession = {}));
|
|
62
|
+
var PerpAssetExchange;
|
|
63
|
+
(function (PerpAssetExchange) {
|
|
64
|
+
PerpAssetExchange["DEFAULT"] = "Default";
|
|
65
|
+
})(PerpAssetExchange || (exports.PerpAssetExchange = PerpAssetExchange = {}));
|