@tickerall/sdk 0.1.4 → 0.1.5
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/dist/index.d.mts +13 -0
- package/dist/index.d.ts +13 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -114,6 +114,19 @@ interface SymbolSpec {
|
|
|
114
114
|
specSource: 'broker' | 'derived';
|
|
115
115
|
tradeMode?: number;
|
|
116
116
|
tradeModeSource?: 'broker' | 'derived';
|
|
117
|
+
/** Decimal digits in price quotes. */
|
|
118
|
+
digits?: number;
|
|
119
|
+
/** Smallest price unit (= 10^-digits). */
|
|
120
|
+
point?: number;
|
|
121
|
+
/** Smallest price increment — mirror of `point`, named for risk math. */
|
|
122
|
+
tickSize?: number;
|
|
123
|
+
/** Units of base currency per 1.00 lot. */
|
|
124
|
+
contractSize?: number;
|
|
125
|
+
/** Profit-currency value of a one-point move on a 1.00-lot position
|
|
126
|
+
* (= contractSize × point). Compute risk/exposure as
|
|
127
|
+
* `|entry - stop| / tickSize * tickValue * lots`. Undefined when the broker
|
|
128
|
+
* record didn't yield a positive value. */
|
|
129
|
+
tickValue?: number;
|
|
117
130
|
}
|
|
118
131
|
interface SymbolSpecsResponse {
|
|
119
132
|
specs: SymbolSpec[];
|
package/dist/index.d.ts
CHANGED
|
@@ -114,6 +114,19 @@ interface SymbolSpec {
|
|
|
114
114
|
specSource: 'broker' | 'derived';
|
|
115
115
|
tradeMode?: number;
|
|
116
116
|
tradeModeSource?: 'broker' | 'derived';
|
|
117
|
+
/** Decimal digits in price quotes. */
|
|
118
|
+
digits?: number;
|
|
119
|
+
/** Smallest price unit (= 10^-digits). */
|
|
120
|
+
point?: number;
|
|
121
|
+
/** Smallest price increment — mirror of `point`, named for risk math. */
|
|
122
|
+
tickSize?: number;
|
|
123
|
+
/** Units of base currency per 1.00 lot. */
|
|
124
|
+
contractSize?: number;
|
|
125
|
+
/** Profit-currency value of a one-point move on a 1.00-lot position
|
|
126
|
+
* (= contractSize × point). Compute risk/exposure as
|
|
127
|
+
* `|entry - stop| / tickSize * tickValue * lots`. Undefined when the broker
|
|
128
|
+
* record didn't yield a positive value. */
|
|
129
|
+
tickValue?: number;
|
|
117
130
|
}
|
|
118
131
|
interface SymbolSpecsResponse {
|
|
119
132
|
specs: SymbolSpec[];
|