snaptrade-typescript-sdk 8.16.0 → 8.17.0
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
CHANGED
package/dist/configuration.js
CHANGED
|
@@ -34,7 +34,7 @@ var Configuration = /** @class */ (function () {
|
|
|
34
34
|
this.accessToken = param.accessToken;
|
|
35
35
|
this.basePath = param.basePath;
|
|
36
36
|
this.baseOptions = (_a = param.baseOptions) !== null && _a !== void 0 ? _a : {};
|
|
37
|
-
this.userAgent = param.userAgent === undefined ? "Konfig/8.
|
|
37
|
+
this.userAgent = param.userAgent === undefined ? "Konfig/8.17.0/typescript" : param.userAgent;
|
|
38
38
|
this.formDataCtor = param.formDataCtor;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
@@ -69,19 +69,19 @@ export interface AccountOrderRecord {
|
|
|
69
69
|
* @type {number}
|
|
70
70
|
* @memberof AccountOrderRecord
|
|
71
71
|
*/
|
|
72
|
-
'open_quantity'?: number;
|
|
72
|
+
'open_quantity'?: number | null;
|
|
73
73
|
/**
|
|
74
74
|
* Trade Units
|
|
75
75
|
* @type {number}
|
|
76
76
|
* @memberof AccountOrderRecord
|
|
77
77
|
*/
|
|
78
|
-
'canceled_quantity'?: number;
|
|
78
|
+
'canceled_quantity'?: number | null;
|
|
79
79
|
/**
|
|
80
80
|
* Trade Units
|
|
81
81
|
* @type {number}
|
|
82
82
|
* @memberof AccountOrderRecord
|
|
83
83
|
*/
|
|
84
|
-
'filled_quantity'?: number;
|
|
84
|
+
'filled_quantity'?: number | null;
|
|
85
85
|
/**
|
|
86
86
|
* Trade Price if limit or stop limit order
|
|
87
87
|
* @type {number}
|
|
@@ -95,7 +95,7 @@ export interface AccountOrderRecord {
|
|
|
95
95
|
*/
|
|
96
96
|
'limit_price'?: number | null;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* Stop Price. If stop loss or stop limit order, the price to trigger the stop
|
|
99
99
|
* @type {number}
|
|
100
100
|
* @memberof AccountOrderRecord
|
|
101
101
|
*/
|