snaptrade-typescript-sdk 9.0.32 → 9.0.33
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 +3 -1
- package/dist/api/account-information-api-generated.d.ts +4 -4
- package/dist/api/account-information-api-generated.js +4 -4
- package/dist/browser.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/models/account-holdings-account.d.ts +1 -1
- package/dist/models/account-order-record-status.d.ts +1 -1
- package/dist/models/account-order-record.d.ts +5 -4
- package/dist/models/exchange.d.ts +9 -9
- package/dist/models/figi-instrument.d.ts +3 -3
- package/dist/models/index.d.ts +4 -31
- package/dist/models/index.js +4 -31
- package/dist/models/option-brokerage-symbol.d.ts +5 -3
- package/dist/models/options-position-currency.d.ts +1 -1
- package/dist/models/options-position.d.ts +2 -1
- package/dist/models/options-symbol.d.ts +7 -19
- package/dist/models/position-symbol.d.ts +11 -6
- package/dist/models/security-type.d.ts +6 -5
- package/dist/models/symbol-figi-instrument.d.ts +2 -2
- package/dist/models/underlying-symbol-exchange.d.ts +61 -0
- package/dist/models/underlying-symbol-type.d.ts +32 -0
- package/dist/models/underlying-symbol.d.ts +22 -14
- package/dist/models/universal-symbol-currency.d.ts +25 -0
- package/dist/models/universal-symbol-exchange.d.ts +55 -0
- package/dist/models/universal-symbol.d.ts +14 -12
- package/package.json +1 -1
- package/dist/models/brokerage-authorization-type.d.ts +0 -16
- package/dist/models/brokerage-symbol-option-symbol.d.ts +0 -64
- package/dist/models/brokerage-symbol-symbol.d.ts +0 -71
- package/dist/models/brokerage-symbol.d.ts +0 -47
- package/dist/models/calculated-trade.d.ts +0 -21
- package/dist/models/calculated-trade.js +0 -2
- package/dist/models/excluded-asset.d.ts +0 -15
- package/dist/models/excluded-asset.js +0 -2
- package/dist/models/jwt.d.ts +0 -14
- package/dist/models/jwt.js +0 -2
- package/dist/models/model-asset-class-details.d.ts +0 -22
- package/dist/models/model-asset-class-details.js +0 -2
- package/dist/models/model-asset-class-target.d.ts +0 -15
- package/dist/models/model-asset-class-target.js +0 -2
- package/dist/models/model-asset-class.d.ts +0 -20
- package/dist/models/model-asset-class.js +0 -2
- package/dist/models/model-portfolio-asset-class.d.ts +0 -21
- package/dist/models/model-portfolio-asset-class.js +0 -2
- package/dist/models/model-portfolio-details.d.ts +0 -29
- package/dist/models/model-portfolio-details.js +0 -2
- package/dist/models/model-portfolio-security.d.ts +0 -21
- package/dist/models/model-portfolio-security.js +0 -2
- package/dist/models/model-portfolio.d.ts +0 -28
- package/dist/models/model-portfolio.js +0 -2
- package/dist/models/portfolio-group-info.d.ts +0 -82
- package/dist/models/portfolio-group-info.js +0 -2
- package/dist/models/portfolio-group-position.d.ts +0 -27
- package/dist/models/portfolio-group-position.js +0 -2
- package/dist/models/portfolio-group-settings.d.ts +0 -39
- package/dist/models/portfolio-group-settings.js +0 -2
- package/dist/models/portfolio-group.d.ts +0 -20
- package/dist/models/portfolio-group.js +0 -2
- package/dist/models/redirect-tokenand-pin.d.ts +0 -20
- package/dist/models/redirect-tokenand-pin.js +0 -2
- package/dist/models/snap-trade-apidisclaimer-accept-status.d.ts +0 -20
- package/dist/models/snap-trade-apidisclaimer-accept-status.js +0 -2
- package/dist/models/strategy-impact-legs-inner.d.ts +0 -50
- package/dist/models/strategy-impact-legs-inner.js +0 -2
- package/dist/models/strategy-impact.d.ts +0 -75
- package/dist/models/strategy-impact.js +0 -2
- package/dist/models/strategy-order-place-orders-inner-legs-inner.d.ts +0 -50
- package/dist/models/strategy-order-place-orders-inner-legs-inner.js +0 -2
- package/dist/models/strategy-order-place-orders-inner.d.ts +0 -267
- package/dist/models/strategy-order-place-orders-inner.js +0 -2
- package/dist/models/strategy-order-place.d.ts +0 -21
- package/dist/models/strategy-order-place.js +0 -2
- package/dist/models/target-asset.d.ts +0 -47
- package/dist/models/target-asset.js +0 -2
- package/dist/models/trade-execution-status.d.ts +0 -70
- package/dist/models/trade-execution-status.js +0 -2
- package/dist/models/trade-impact.d.ts +0 -40
- package/dist/models/trade-impact.js +0 -2
- package/dist/models/trade.d.ts +0 -61
- package/dist/models/trade.js +0 -2
- package/dist/models/user-error-log.d.ts +0 -44
- package/dist/models/user-error-log.js +0 -2
- package/dist/models/user-settings.d.ts +0 -69
- package/dist/models/user-settings.js +0 -2
- /package/dist/models/{brokerage-authorization-type.js → underlying-symbol-exchange.js} +0 -0
- /package/dist/models/{brokerage-symbol-option-symbol.js → underlying-symbol-type.js} +0 -0
- /package/dist/models/{brokerage-symbol-symbol.js → universal-symbol-currency.js} +0 -0
- /package/dist/models/{brokerage-symbol.js → universal-symbol-exchange.js} +0 -0
|
@@ -1,58 +1,66 @@
|
|
|
1
1
|
import { Currency } from './currency';
|
|
2
|
-
import { SecurityType } from './security-type';
|
|
3
2
|
import { SymbolFigiInstrument } from './symbol-figi-instrument';
|
|
4
|
-
import {
|
|
3
|
+
import { UnderlyingSymbolExchange } from './underlying-symbol-exchange';
|
|
4
|
+
import { UnderlyingSymbolType } from './underlying-symbol-type';
|
|
5
|
+
import { UniversalSymbolCurrency } from './universal-symbol-currency';
|
|
5
6
|
/**
|
|
6
|
-
*
|
|
7
|
+
* Symbol object for the underlying security of an option.
|
|
7
8
|
* @export
|
|
8
9
|
* @interface UnderlyingSymbol
|
|
9
10
|
*/
|
|
10
11
|
export interface UnderlyingSymbol {
|
|
11
12
|
[key: string]: any;
|
|
12
13
|
/**
|
|
13
|
-
*
|
|
14
|
+
* Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
|
|
14
15
|
* @type {string}
|
|
15
16
|
* @memberof UnderlyingSymbol
|
|
16
17
|
*/
|
|
17
18
|
'id'?: string;
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
+
* The security\'s trading ticker symbol. For example \"AAPL\" for Apple Inc. We largely follow the [Yahoo Finance ticker format](https://help.yahoo.com/kb/SLN2310.html)(click on \"Yahoo Finance Market Coverage and Data Delays\"). For example, for securities traded on the Toronto Stock Exchange, the symbol has a \'.TO\' suffix. For securities traded on NASDAQ or NYSE, the symbol does not have a suffix.
|
|
20
21
|
* @type {string}
|
|
21
22
|
* @memberof UnderlyingSymbol
|
|
22
23
|
*/
|
|
23
24
|
'symbol'?: string;
|
|
24
25
|
/**
|
|
25
|
-
*
|
|
26
|
+
* The raw symbol is `symbol` with the exchange suffix removed. For example, if `symbol` is \"VAB.TO\", then `raw_symbol` is \"VAB\".
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UnderlyingSymbol
|
|
29
|
+
*/
|
|
30
|
+
'raw_symbol'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* A human-readable description of the security. This is usually the company name or ETF name.
|
|
26
33
|
* @type {string}
|
|
27
34
|
* @memberof UnderlyingSymbol
|
|
28
35
|
*/
|
|
29
36
|
'description'?: string | null;
|
|
30
37
|
/**
|
|
31
38
|
*
|
|
32
|
-
* @type {
|
|
39
|
+
* @type {UniversalSymbolCurrency}
|
|
33
40
|
* @memberof UnderlyingSymbol
|
|
34
41
|
*/
|
|
35
|
-
'currency'?:
|
|
42
|
+
'currency'?: UniversalSymbolCurrency;
|
|
36
43
|
/**
|
|
37
44
|
*
|
|
38
|
-
* @type {
|
|
45
|
+
* @type {UnderlyingSymbolExchange}
|
|
39
46
|
* @memberof UnderlyingSymbol
|
|
40
47
|
*/
|
|
41
|
-
'exchange'?:
|
|
48
|
+
'exchange'?: UnderlyingSymbolExchange;
|
|
42
49
|
/**
|
|
43
50
|
*
|
|
44
|
-
* @type {
|
|
51
|
+
* @type {UnderlyingSymbolType}
|
|
45
52
|
* @memberof UnderlyingSymbol
|
|
46
53
|
*/
|
|
47
|
-
'type'?:
|
|
54
|
+
'type'?: UnderlyingSymbolType;
|
|
48
55
|
/**
|
|
49
|
-
*
|
|
56
|
+
* This field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
|
|
50
57
|
* @type {Array<Currency>}
|
|
51
58
|
* @memberof UnderlyingSymbol
|
|
59
|
+
* @deprecated
|
|
52
60
|
*/
|
|
53
61
|
'currencies'?: Array<Currency>;
|
|
54
62
|
/**
|
|
55
|
-
*
|
|
63
|
+
* This identifier is unique per security per trading venue. See section 1.4.1 of the [FIGI Standard](https://www.openfigi.com/assets/local/figi-allocation-rules.pdf) for more information. This value should be the same as the `figi_code` in the `figi_instrument` child property.
|
|
56
64
|
* @type {string}
|
|
57
65
|
* @memberof UnderlyingSymbol
|
|
58
66
|
*/
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The currency in which the security is traded.
|
|
3
|
+
* @export
|
|
4
|
+
* @interface UniversalSymbolCurrency
|
|
5
|
+
*/
|
|
6
|
+
export interface UniversalSymbolCurrency {
|
|
7
|
+
/**
|
|
8
|
+
* Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof UniversalSymbolCurrency
|
|
11
|
+
*/
|
|
12
|
+
'id'?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The ISO-4217 currency code for the currency.
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof UniversalSymbolCurrency
|
|
17
|
+
*/
|
|
18
|
+
'code'?: string;
|
|
19
|
+
/**
|
|
20
|
+
* A human-friendly name of the currency.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UniversalSymbolCurrency
|
|
23
|
+
*/
|
|
24
|
+
'name'?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The exchange on which the security is listed and traded.
|
|
3
|
+
* @export
|
|
4
|
+
* @interface UniversalSymbolExchange
|
|
5
|
+
*/
|
|
6
|
+
export interface UniversalSymbolExchange {
|
|
7
|
+
/**
|
|
8
|
+
* Unique ID for the exchange in SnapTrade.
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof UniversalSymbolExchange
|
|
11
|
+
*/
|
|
12
|
+
'id'?: string;
|
|
13
|
+
/**
|
|
14
|
+
* A short name for the exchange. For standardized exchange code, please us the `mic_code` field.
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof UniversalSymbolExchange
|
|
17
|
+
*/
|
|
18
|
+
'code'?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The [Market Identifier Code](https://en.wikipedia.org/wiki/Market_Identifier_Code) (MIC) for the exchange.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UniversalSymbolExchange
|
|
23
|
+
*/
|
|
24
|
+
'mic_code'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The full name of the exchange.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UniversalSymbolExchange
|
|
29
|
+
*/
|
|
30
|
+
'name'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The timezone for the trading hours (`start_time` and `close_time`) of the exchange.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UniversalSymbolExchange
|
|
35
|
+
*/
|
|
36
|
+
'timezone'?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The time when the exchange opens for trading.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof UniversalSymbolExchange
|
|
41
|
+
*/
|
|
42
|
+
'start_time'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The time when the exchange closes for trading.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof UniversalSymbolExchange
|
|
47
|
+
*/
|
|
48
|
+
'close_time'?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The suffix to be appended to the symbol when trading on this exchange. For example, the suffix for the Toronto Stock Exchange is `.TO`. See `UniversalSymbol->symbol` and `UniversalSymbol->raw_symbol` for more detail.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof UniversalSymbolExchange
|
|
53
|
+
*/
|
|
54
|
+
'suffix'?: string | null;
|
|
55
|
+
}
|
|
@@ -1,50 +1,51 @@
|
|
|
1
1
|
import { Currency } from './currency';
|
|
2
|
-
import { Exchange } from './exchange';
|
|
3
2
|
import { SecurityType } from './security-type';
|
|
4
3
|
import { SymbolFigiInstrument } from './symbol-figi-instrument';
|
|
4
|
+
import { UniversalSymbolCurrency } from './universal-symbol-currency';
|
|
5
|
+
import { UniversalSymbolExchange } from './universal-symbol-exchange';
|
|
5
6
|
/**
|
|
6
|
-
*
|
|
7
|
+
* Uniquely describes a single security + exchange combination across all brokerages.
|
|
7
8
|
* @export
|
|
8
9
|
* @interface UniversalSymbol
|
|
9
10
|
*/
|
|
10
11
|
export interface UniversalSymbol {
|
|
11
12
|
[key: string]: any;
|
|
12
13
|
/**
|
|
13
|
-
*
|
|
14
|
+
* Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
|
|
14
15
|
* @type {string}
|
|
15
16
|
* @memberof UniversalSymbol
|
|
16
17
|
*/
|
|
17
18
|
'id': string;
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
+
* The security\'s trading ticker symbol. For example \"AAPL\" for Apple Inc. We largely follow the [Yahoo Finance ticker format](https://help.yahoo.com/kb/SLN2310.html)(click on \"Yahoo Finance Market Coverage and Data Delays\"). For example, for securities traded on the Toronto Stock Exchange, the symbol has a \'.TO\' suffix. For securities traded on NASDAQ or NYSE, the symbol does not have a suffix.
|
|
20
21
|
* @type {string}
|
|
21
22
|
* @memberof UniversalSymbol
|
|
22
23
|
*/
|
|
23
24
|
'symbol': string;
|
|
24
25
|
/**
|
|
25
|
-
*
|
|
26
|
+
* The raw symbol is `symbol` with the exchange suffix removed. For example, if `symbol` is \"VAB.TO\", then `raw_symbol` is \"VAB\".
|
|
26
27
|
* @type {string}
|
|
27
28
|
* @memberof UniversalSymbol
|
|
28
29
|
*/
|
|
29
30
|
'raw_symbol': string;
|
|
30
31
|
/**
|
|
31
|
-
*
|
|
32
|
+
* A human-readable description of the security. This is usually the company name or ETF name.
|
|
32
33
|
* @type {string}
|
|
33
34
|
* @memberof UniversalSymbol
|
|
34
35
|
*/
|
|
35
36
|
'description'?: string | null;
|
|
36
37
|
/**
|
|
37
38
|
*
|
|
38
|
-
* @type {
|
|
39
|
+
* @type {UniversalSymbolCurrency}
|
|
39
40
|
* @memberof UniversalSymbol
|
|
40
41
|
*/
|
|
41
|
-
'currency':
|
|
42
|
+
'currency': UniversalSymbolCurrency;
|
|
42
43
|
/**
|
|
43
44
|
*
|
|
44
|
-
* @type {
|
|
45
|
+
* @type {UniversalSymbolExchange}
|
|
45
46
|
* @memberof UniversalSymbol
|
|
46
47
|
*/
|
|
47
|
-
'exchange'?:
|
|
48
|
+
'exchange'?: UniversalSymbolExchange;
|
|
48
49
|
/**
|
|
49
50
|
*
|
|
50
51
|
* @type {SecurityType}
|
|
@@ -52,13 +53,14 @@ export interface UniversalSymbol {
|
|
|
52
53
|
*/
|
|
53
54
|
'type': SecurityType;
|
|
54
55
|
/**
|
|
55
|
-
*
|
|
56
|
+
* This field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
|
|
56
57
|
* @type {Array<Currency>}
|
|
57
58
|
* @memberof UniversalSymbol
|
|
59
|
+
* @deprecated
|
|
58
60
|
*/
|
|
59
61
|
'currencies': Array<Currency>;
|
|
60
62
|
/**
|
|
61
|
-
*
|
|
63
|
+
* This identifier is unique per security per trading venue. See section 1.4.1 of the [FIGI Standard](https://www.openfigi.com/assets/local/figi-allocation-rules.pdf) for more information. This value should be the same as the `figi_code` in the `figi_instrument` child property.
|
|
62
64
|
* @type {string}
|
|
63
65
|
* @memberof UniversalSymbol
|
|
64
66
|
*/
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @export
|
|
4
|
-
* @interface BrokerageAuthorizationType
|
|
5
|
-
*/
|
|
6
|
-
export interface BrokerageAuthorizationType {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @type {string}
|
|
11
|
-
* @memberof BrokerageAuthorizationType
|
|
12
|
-
*/
|
|
13
|
-
'type'?: BrokerageAuthorizationTypeTypeEnum;
|
|
14
|
-
}
|
|
15
|
-
type BrokerageAuthorizationTypeTypeEnum = 'read' | 'trade';
|
|
16
|
-
export {};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { UnderlyingSymbol } from './underlying-symbol';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @export
|
|
5
|
-
* @interface BrokerageSymbolOptionSymbol
|
|
6
|
-
*/
|
|
7
|
-
export interface BrokerageSymbolOptionSymbol {
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @type {string}
|
|
11
|
-
* @memberof BrokerageSymbolOptionSymbol
|
|
12
|
-
*/
|
|
13
|
-
'id': string;
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @type {string}
|
|
17
|
-
* @memberof BrokerageSymbolOptionSymbol
|
|
18
|
-
*/
|
|
19
|
-
'ticker': string;
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof BrokerageSymbolOptionSymbol
|
|
24
|
-
*/
|
|
25
|
-
'option_type': BrokerageSymbolOptionSymbolOptionTypeEnum;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof BrokerageSymbolOptionSymbol
|
|
30
|
-
*/
|
|
31
|
-
'strike_price': number;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof BrokerageSymbolOptionSymbol
|
|
36
|
-
*/
|
|
37
|
-
'expiration_date': string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {boolean}
|
|
41
|
-
* @memberof BrokerageSymbolOptionSymbol
|
|
42
|
-
*/
|
|
43
|
-
'is_mini_option'?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {UnderlyingSymbol}
|
|
47
|
-
* @memberof BrokerageSymbolOptionSymbol
|
|
48
|
-
*/
|
|
49
|
-
'underlying_symbol': UnderlyingSymbol;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof BrokerageSymbolOptionSymbol
|
|
54
|
-
*/
|
|
55
|
-
'local_id'?: string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof BrokerageSymbolOptionSymbol
|
|
60
|
-
*/
|
|
61
|
-
'exchange_id'?: string;
|
|
62
|
-
}
|
|
63
|
-
type BrokerageSymbolOptionSymbolOptionTypeEnum = 'CALL' | 'PUT';
|
|
64
|
-
export {};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Currency } from './currency';
|
|
2
|
-
import { Exchange } from './exchange';
|
|
3
|
-
import { SecurityType } from './security-type';
|
|
4
|
-
import { SymbolFigiInstrument } from './symbol-figi-instrument';
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* @export
|
|
8
|
-
* @interface BrokerageSymbolSymbol
|
|
9
|
-
*/
|
|
10
|
-
export interface BrokerageSymbolSymbol {
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @type {string}
|
|
14
|
-
* @memberof BrokerageSymbolSymbol
|
|
15
|
-
*/
|
|
16
|
-
'id': string;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @type {string}
|
|
20
|
-
* @memberof BrokerageSymbolSymbol
|
|
21
|
-
*/
|
|
22
|
-
'symbol': string;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof BrokerageSymbolSymbol
|
|
27
|
-
*/
|
|
28
|
-
'raw_symbol': string;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof BrokerageSymbolSymbol
|
|
33
|
-
*/
|
|
34
|
-
'description'?: string | null;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {Currency}
|
|
38
|
-
* @memberof BrokerageSymbolSymbol
|
|
39
|
-
*/
|
|
40
|
-
'currency': Currency;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {Exchange}
|
|
44
|
-
* @memberof BrokerageSymbolSymbol
|
|
45
|
-
*/
|
|
46
|
-
'exchange'?: Exchange;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {SecurityType}
|
|
50
|
-
* @memberof BrokerageSymbolSymbol
|
|
51
|
-
*/
|
|
52
|
-
'type': SecurityType;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {Array<Currency>}
|
|
56
|
-
* @memberof BrokerageSymbolSymbol
|
|
57
|
-
*/
|
|
58
|
-
'currencies': Array<Currency>;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof BrokerageSymbolSymbol
|
|
63
|
-
*/
|
|
64
|
-
'figi_code'?: string | null;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {SymbolFigiInstrument}
|
|
68
|
-
* @memberof BrokerageSymbolSymbol
|
|
69
|
-
*/
|
|
70
|
-
'figi_instrument'?: SymbolFigiInstrument | null;
|
|
71
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { BrokerageAuthorization } from './brokerage-authorization';
|
|
2
|
-
import { BrokerageSymbolOptionSymbol } from './brokerage-symbol-option-symbol';
|
|
3
|
-
import { BrokerageSymbolSymbol } from './brokerage-symbol-symbol';
|
|
4
|
-
/**
|
|
5
|
-
* Brokerage symbol
|
|
6
|
-
* @export
|
|
7
|
-
* @interface BrokerageSymbol
|
|
8
|
-
*/
|
|
9
|
-
export interface BrokerageSymbol {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @type {string}
|
|
14
|
-
* @memberof BrokerageSymbol
|
|
15
|
-
*/
|
|
16
|
-
'id'?: string;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @type {BrokerageSymbolSymbol}
|
|
20
|
-
* @memberof BrokerageSymbol
|
|
21
|
-
*/
|
|
22
|
-
'symbol'?: BrokerageSymbolSymbol | null;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {BrokerageAuthorization}
|
|
26
|
-
* @memberof BrokerageSymbol
|
|
27
|
-
*/
|
|
28
|
-
'brokerage_authorization'?: BrokerageAuthorization;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof BrokerageSymbol
|
|
33
|
-
*/
|
|
34
|
-
'description'?: string;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {boolean}
|
|
38
|
-
* @memberof BrokerageSymbol
|
|
39
|
-
*/
|
|
40
|
-
'allows_fractional_units'?: boolean | null;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {BrokerageSymbolOptionSymbol}
|
|
44
|
-
* @memberof BrokerageSymbol
|
|
45
|
-
*/
|
|
46
|
-
'option_symbol'?: BrokerageSymbolOptionSymbol | null;
|
|
47
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Trade } from './trade';
|
|
2
|
-
/**
|
|
3
|
-
* Array of trades to make to rebalance portfolio
|
|
4
|
-
* @export
|
|
5
|
-
* @interface CalculatedTrade
|
|
6
|
-
*/
|
|
7
|
-
export interface CalculatedTrade {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
/**
|
|
10
|
-
*
|
|
11
|
-
* @type {string}
|
|
12
|
-
* @memberof CalculatedTrade
|
|
13
|
-
*/
|
|
14
|
-
'id'?: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @type {Array<Trade>}
|
|
18
|
-
* @memberof CalculatedTrade
|
|
19
|
-
*/
|
|
20
|
-
'trades'?: Array<Trade>;
|
|
21
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { UniversalSymbol } from './universal-symbol';
|
|
2
|
-
/**
|
|
3
|
-
* An excluded asset in a portfolio group
|
|
4
|
-
* @export
|
|
5
|
-
* @interface ExcludedAsset
|
|
6
|
-
*/
|
|
7
|
-
export interface ExcludedAsset {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
/**
|
|
10
|
-
*
|
|
11
|
-
* @type {UniversalSymbol}
|
|
12
|
-
* @memberof ExcludedAsset
|
|
13
|
-
*/
|
|
14
|
-
'symbol'?: UniversalSymbol;
|
|
15
|
-
}
|
package/dist/models/jwt.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* JWT Token. Used to acess resources in private endpoints available only through the Passiv app
|
|
3
|
-
* @export
|
|
4
|
-
* @interface JWT
|
|
5
|
-
*/
|
|
6
|
-
export interface JWT {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @type {string}
|
|
11
|
-
* @memberof JWT
|
|
12
|
-
*/
|
|
13
|
-
'token'?: string;
|
|
14
|
-
}
|
package/dist/models/jwt.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ModelAssetClass } from './model-asset-class';
|
|
2
|
-
import { ModelAssetClassTarget } from './model-asset-class-target';
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
* @export
|
|
6
|
-
* @interface ModelAssetClassDetails
|
|
7
|
-
*/
|
|
8
|
-
export interface ModelAssetClassDetails {
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* @type {ModelAssetClass}
|
|
13
|
-
* @memberof ModelAssetClassDetails
|
|
14
|
-
*/
|
|
15
|
-
'model_asset_class'?: ModelAssetClass;
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @type {Array<ModelAssetClassTarget>}
|
|
19
|
-
* @memberof ModelAssetClassDetails
|
|
20
|
-
*/
|
|
21
|
-
'model_asset_class_target'?: Array<ModelAssetClassTarget>;
|
|
22
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { UniversalSymbol } from './universal-symbol';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @export
|
|
5
|
-
* @interface ModelAssetClassTarget
|
|
6
|
-
*/
|
|
7
|
-
export interface ModelAssetClassTarget {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
/**
|
|
10
|
-
*
|
|
11
|
-
* @type {UniversalSymbol}
|
|
12
|
-
* @memberof ModelAssetClassTarget
|
|
13
|
-
*/
|
|
14
|
-
'symbol'?: UniversalSymbol;
|
|
15
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* @export
|
|
4
|
-
* @interface ModelAssetClass
|
|
5
|
-
*/
|
|
6
|
-
export interface ModelAssetClass {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @type {string}
|
|
11
|
-
* @memberof ModelAssetClass
|
|
12
|
-
*/
|
|
13
|
-
'id'?: string;
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @type {string}
|
|
17
|
-
* @memberof ModelAssetClass
|
|
18
|
-
*/
|
|
19
|
-
'name'?: string;
|
|
20
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ModelAssetClass } from './model-asset-class';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @export
|
|
5
|
-
* @interface ModelPortfolioAssetClass
|
|
6
|
-
*/
|
|
7
|
-
export interface ModelPortfolioAssetClass {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
/**
|
|
10
|
-
*
|
|
11
|
-
* @type {ModelAssetClass}
|
|
12
|
-
* @memberof ModelPortfolioAssetClass
|
|
13
|
-
*/
|
|
14
|
-
'model_asset_class'?: ModelAssetClass;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @type {number}
|
|
18
|
-
* @memberof ModelPortfolioAssetClass
|
|
19
|
-
*/
|
|
20
|
-
'percent'?: number;
|
|
21
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ModelPortfolio } from './model-portfolio';
|
|
2
|
-
import { ModelPortfolioAssetClass } from './model-portfolio-asset-class';
|
|
3
|
-
import { ModelPortfolioSecurity } from './model-portfolio-security';
|
|
4
|
-
/**
|
|
5
|
-
*
|
|
6
|
-
* @export
|
|
7
|
-
* @interface ModelPortfolioDetails
|
|
8
|
-
*/
|
|
9
|
-
export interface ModelPortfolioDetails {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @type {ModelPortfolio}
|
|
14
|
-
* @memberof ModelPortfolioDetails
|
|
15
|
-
*/
|
|
16
|
-
'model_portfolio'?: ModelPortfolio;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @type {Array<ModelPortfolioSecurity>}
|
|
20
|
-
* @memberof ModelPortfolioDetails
|
|
21
|
-
*/
|
|
22
|
-
'model_portfolio_security'?: Array<ModelPortfolioSecurity>;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {Array<ModelPortfolioAssetClass>}
|
|
26
|
-
* @memberof ModelPortfolioDetails
|
|
27
|
-
*/
|
|
28
|
-
'model_portfolio_asset_class'?: Array<ModelPortfolioAssetClass>;
|
|
29
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { UniversalSymbol } from './universal-symbol';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @export
|
|
5
|
-
* @interface ModelPortfolioSecurity
|
|
6
|
-
*/
|
|
7
|
-
export interface ModelPortfolioSecurity {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
/**
|
|
10
|
-
*
|
|
11
|
-
* @type {UniversalSymbol}
|
|
12
|
-
* @memberof ModelPortfolioSecurity
|
|
13
|
-
*/
|
|
14
|
-
'symbol'?: UniversalSymbol;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @type {number}
|
|
18
|
-
* @memberof ModelPortfolioSecurity
|
|
19
|
-
*/
|
|
20
|
-
'percent'?: number;
|
|
21
|
-
}
|