n8n-nodes-siftingio 0.1.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/LICENSE.md +21 -0
- package/README.md +108 -0
- package/dist/credentials/SiftingIoApi.credentials.d.ts +9 -0
- package/dist/credentials/SiftingIoApi.credentials.js +44 -0
- package/dist/credentials/SiftingIoApi.credentials.js.map +1 -0
- package/dist/nodes/SiftingIo/SiftingIo.node.d.ts +4 -0
- package/dist/nodes/SiftingIo/SiftingIo.node.js +85 -0
- package/dist/nodes/SiftingIo/SiftingIo.node.js.map +1 -0
- package/dist/nodes/SiftingIo/SiftingIo.node.json +18 -0
- package/dist/nodes/SiftingIo/descriptions/ConvertDescription.d.ts +3 -0
- package/dist/nodes/SiftingIo/descriptions/ConvertDescription.js +59 -0
- package/dist/nodes/SiftingIo/descriptions/ConvertDescription.js.map +1 -0
- package/dist/nodes/SiftingIo/descriptions/DexWalletDescription.d.ts +3 -0
- package/dist/nodes/SiftingIo/descriptions/DexWalletDescription.js +55 -0
- package/dist/nodes/SiftingIo/descriptions/DexWalletDescription.js.map +1 -0
- package/dist/nodes/SiftingIo/descriptions/DiscoveryDescription.d.ts +3 -0
- package/dist/nodes/SiftingIo/descriptions/DiscoveryDescription.js +60 -0
- package/dist/nodes/SiftingIo/descriptions/DiscoveryDescription.js.map +1 -0
- package/dist/nodes/SiftingIo/descriptions/EconomicCalendarDescription.d.ts +3 -0
- package/dist/nodes/SiftingIo/descriptions/EconomicCalendarDescription.js +108 -0
- package/dist/nodes/SiftingIo/descriptions/EconomicCalendarDescription.js.map +1 -0
- package/dist/nodes/SiftingIo/descriptions/FilingDescription.d.ts +3 -0
- package/dist/nodes/SiftingIo/descriptions/FilingDescription.js +134 -0
- package/dist/nodes/SiftingIo/descriptions/FilingDescription.js.map +1 -0
- package/dist/nodes/SiftingIo/descriptions/FilingTextDescription.d.ts +3 -0
- package/dist/nodes/SiftingIo/descriptions/FilingTextDescription.js +91 -0
- package/dist/nodes/SiftingIo/descriptions/FilingTextDescription.js.map +1 -0
- package/dist/nodes/SiftingIo/descriptions/FinancialsDescription.d.ts +3 -0
- package/dist/nodes/SiftingIo/descriptions/FinancialsDescription.js +123 -0
- package/dist/nodes/SiftingIo/descriptions/FinancialsDescription.js.map +1 -0
- package/dist/nodes/SiftingIo/descriptions/HistoricalDescription.d.ts +3 -0
- package/dist/nodes/SiftingIo/descriptions/HistoricalDescription.js +142 -0
- package/dist/nodes/SiftingIo/descriptions/HistoricalDescription.js.map +1 -0
- package/dist/nodes/SiftingIo/descriptions/HoldingsDescription.d.ts +3 -0
- package/dist/nodes/SiftingIo/descriptions/HoldingsDescription.js +66 -0
- package/dist/nodes/SiftingIo/descriptions/HoldingsDescription.js.map +1 -0
- package/dist/nodes/SiftingIo/descriptions/LiveDescription.d.ts +3 -0
- package/dist/nodes/SiftingIo/descriptions/LiveDescription.js +141 -0
- package/dist/nodes/SiftingIo/descriptions/LiveDescription.js.map +1 -0
- package/dist/nodes/SiftingIo/descriptions/MarketDescription.d.ts +3 -0
- package/dist/nodes/SiftingIo/descriptions/MarketDescription.js +116 -0
- package/dist/nodes/SiftingIo/descriptions/MarketDescription.js.map +1 -0
- package/dist/nodes/SiftingIo/shared.d.ts +6 -0
- package/dist/nodes/SiftingIo/shared.js +68 -0
- package/dist/nodes/SiftingIo/shared.js.map +1 -0
- package/dist/nodes/SiftingIo/siftingio.svg +38 -0
- package/dist/package.json +65 -0
- package/index.js +3 -0
- package/package.json +65 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.filingFields = exports.filingOperations = void 0;
|
|
4
|
+
const shared_1 = require("../shared");
|
|
5
|
+
const cursorListRouting = (url) => ({
|
|
6
|
+
request: { method: 'GET', url },
|
|
7
|
+
send: { paginate: '={{ $parameter.returnAll }}' },
|
|
8
|
+
operations: shared_1.cursorPagination,
|
|
9
|
+
output: (0, shared_1.splitArray)('data'),
|
|
10
|
+
});
|
|
11
|
+
exports.filingOperations = [
|
|
12
|
+
{
|
|
13
|
+
displayName: 'Operation',
|
|
14
|
+
name: 'operation',
|
|
15
|
+
type: 'options',
|
|
16
|
+
noDataExpression: true,
|
|
17
|
+
displayOptions: { show: { resource: ['filing'] } },
|
|
18
|
+
options: [
|
|
19
|
+
{
|
|
20
|
+
name: 'List Filings',
|
|
21
|
+
value: 'list',
|
|
22
|
+
action: 'List recent SEC filings',
|
|
23
|
+
description: 'Up to 1000 most recent filings across all form types for a company',
|
|
24
|
+
routing: cursorListRouting('=/v1/fnd/stocks/{{$parameter.ticker}}/filings'),
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
name: 'Get Filing',
|
|
28
|
+
value: 'get',
|
|
29
|
+
action: 'Get a single filing',
|
|
30
|
+
description: "One filing's metadata plus its EDGAR archive file manifest",
|
|
31
|
+
routing: {
|
|
32
|
+
request: {
|
|
33
|
+
method: 'GET',
|
|
34
|
+
url: '=/v1/fnd/stocks/{{$parameter.ticker}}/filings/{{$parameter.accession}}',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'Get Material Events (8-K)',
|
|
40
|
+
value: 'getEvents',
|
|
41
|
+
action: 'Get 8-K material events',
|
|
42
|
+
description: '8-K filings for material corporate events, optionally filtered by item code',
|
|
43
|
+
routing: cursorListRouting('=/v1/fnd/stocks/{{$parameter.ticker}}/events'),
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'Get Ownership (13D/G)',
|
|
47
|
+
value: 'getOwnership',
|
|
48
|
+
action: 'Get beneficial ownership filings',
|
|
49
|
+
description: 'Schedule 13D/13G beneficial-ownership filings and amendments',
|
|
50
|
+
routing: cursorListRouting('=/v1/fnd/stocks/{{$parameter.ticker}}/ownership'),
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: 'Get Proxy Statements (DEF 14A)',
|
|
54
|
+
value: 'getProxy',
|
|
55
|
+
action: 'Get DEF 14A proxy statements',
|
|
56
|
+
description: 'DEF 14A proxy statements including amendments and additional material',
|
|
57
|
+
routing: cursorListRouting('=/v1/fnd/stocks/{{$parameter.ticker}}/compensation'),
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: 'Get Earnings History',
|
|
61
|
+
value: 'getEarnings',
|
|
62
|
+
action: 'Get earnings release history',
|
|
63
|
+
description: 'Every 8-K filed with item 2.02 (results of operations) for this company',
|
|
64
|
+
routing: cursorListRouting('=/v1/fnd/stocks/{{$parameter.ticker}}/earnings'),
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
default: 'list',
|
|
68
|
+
},
|
|
69
|
+
];
|
|
70
|
+
exports.filingFields = [
|
|
71
|
+
{
|
|
72
|
+
displayName: 'Ticker',
|
|
73
|
+
name: 'ticker',
|
|
74
|
+
type: 'string',
|
|
75
|
+
required: true,
|
|
76
|
+
default: '',
|
|
77
|
+
placeholder: 'AAPL',
|
|
78
|
+
description: 'Ticker symbol (case-insensitive)',
|
|
79
|
+
displayOptions: { show: { resource: ['filing'] } },
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
displayName: 'Accession',
|
|
83
|
+
name: 'accession',
|
|
84
|
+
type: 'string',
|
|
85
|
+
required: true,
|
|
86
|
+
default: '',
|
|
87
|
+
placeholder: '0000320193-26-000013',
|
|
88
|
+
description: 'Accession number, dashed or undashed',
|
|
89
|
+
displayOptions: { show: { resource: ['filing'], operation: ['get'] } },
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
displayName: 'Form Types',
|
|
93
|
+
name: 'form',
|
|
94
|
+
type: 'string',
|
|
95
|
+
default: '',
|
|
96
|
+
placeholder: '10-K,10-Q',
|
|
97
|
+
description: 'Comma-separated exact form types to filter by, e.g. 10-K,10-Q,8-K',
|
|
98
|
+
displayOptions: { show: { resource: ['filing'], operation: ['list'] } },
|
|
99
|
+
routing: { send: { type: 'query', property: 'form' } },
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
displayName: 'Filed From',
|
|
103
|
+
name: 'from',
|
|
104
|
+
type: 'string',
|
|
105
|
+
default: '',
|
|
106
|
+
placeholder: '2025-01-01',
|
|
107
|
+
description: 'Inclusive lower bound on the filing date (YYYY-MM-DD)',
|
|
108
|
+
displayOptions: { show: { resource: ['filing'], operation: ['list'] } },
|
|
109
|
+
routing: { send: { type: 'query', property: 'from' } },
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
displayName: 'Filed To',
|
|
113
|
+
name: 'to',
|
|
114
|
+
type: 'string',
|
|
115
|
+
default: '',
|
|
116
|
+
placeholder: '2025-12-31',
|
|
117
|
+
description: 'Inclusive upper bound on the filing date (YYYY-MM-DD)',
|
|
118
|
+
displayOptions: { show: { resource: ['filing'], operation: ['list'] } },
|
|
119
|
+
routing: { send: { type: 'query', property: 'to' } },
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
displayName: 'Item Code',
|
|
123
|
+
name: 'item',
|
|
124
|
+
type: 'string',
|
|
125
|
+
default: '',
|
|
126
|
+
placeholder: '2.02',
|
|
127
|
+
description: 'Substring match against the 8-K item codes (e.g. 2.02 for earnings releases)',
|
|
128
|
+
displayOptions: { show: { resource: ['filing'], operation: ['getEvents'] } },
|
|
129
|
+
routing: { send: { type: 'query', property: 'item' } },
|
|
130
|
+
},
|
|
131
|
+
(0, shared_1.returnAllField)('filing', ['list', 'getEvents', 'getOwnership', 'getProxy', 'getEarnings']),
|
|
132
|
+
(0, shared_1.limitField)('filing', ['list', 'getEvents', 'getOwnership', 'getProxy', 'getEarnings'], 200, 50),
|
|
133
|
+
];
|
|
134
|
+
//# sourceMappingURL=FilingDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilingDescription.js","sourceRoot":"","sources":["../../../../nodes/SiftingIo/descriptions/FilingDescription.ts"],"names":[],"mappings":";;;AACA,sCAAqF;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EAAE;KACtD;IACD,IAAA,uBAAc,EAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;IAC1F,IAAA,mBAAU,EAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,UAAU,EAAE,aAAa,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC;CAC/F,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.filingTextFields = exports.filingTextOperations = void 0;
|
|
4
|
+
exports.filingTextOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: { show: { resource: ['filingText'] } },
|
|
11
|
+
options: [
|
|
12
|
+
{
|
|
13
|
+
name: 'Get All Sections',
|
|
14
|
+
value: 'getAllSections',
|
|
15
|
+
action: 'Extract every section',
|
|
16
|
+
description: 'Every standard 10-K / 10-Q item extracted from the filing as clean text',
|
|
17
|
+
routing: {
|
|
18
|
+
request: {
|
|
19
|
+
method: 'GET',
|
|
20
|
+
url: '=/v1/fnd/stocks/{{$parameter.ticker}}/filings/{{$parameter.accession}}/sections',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'Get One Section',
|
|
26
|
+
value: 'getSection',
|
|
27
|
+
action: 'Extract one section',
|
|
28
|
+
description: 'A single extracted section (smaller payload for a single LLM prompt)',
|
|
29
|
+
routing: {
|
|
30
|
+
request: {
|
|
31
|
+
method: 'GET',
|
|
32
|
+
url: '=/v1/fnd/stocks/{{$parameter.ticker}}/filings/{{$parameter.accession}}/sections/{{$parameter.section}}',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'Get Risk Factors Diff',
|
|
38
|
+
value: 'getRiskDiff',
|
|
39
|
+
action: 'Diff risk factors year over year',
|
|
40
|
+
description: "Paragraph-level diff of the latest 10-K's Risk Factors against the prior year",
|
|
41
|
+
routing: {
|
|
42
|
+
request: {
|
|
43
|
+
method: 'GET',
|
|
44
|
+
url: '=/v1/fnd/stocks/{{$parameter.ticker}}/risk-factors-diff',
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
default: 'getAllSections',
|
|
50
|
+
},
|
|
51
|
+
];
|
|
52
|
+
exports.filingTextFields = [
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Ticker',
|
|
55
|
+
name: 'ticker',
|
|
56
|
+
type: 'string',
|
|
57
|
+
required: true,
|
|
58
|
+
default: '',
|
|
59
|
+
placeholder: 'AAPL',
|
|
60
|
+
description: 'Ticker symbol (case-insensitive)',
|
|
61
|
+
displayOptions: { show: { resource: ['filingText'] } },
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
displayName: 'Accession',
|
|
65
|
+
name: 'accession',
|
|
66
|
+
type: 'string',
|
|
67
|
+
required: true,
|
|
68
|
+
default: '',
|
|
69
|
+
placeholder: '0000320193-25-000079',
|
|
70
|
+
description: 'Accession number, dashed or undashed',
|
|
71
|
+
displayOptions: {
|
|
72
|
+
show: { resource: ['filingText'], operation: ['getAllSections', 'getSection'] },
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
displayName: 'Section',
|
|
77
|
+
name: 'section',
|
|
78
|
+
type: 'options',
|
|
79
|
+
default: 'risk-factors',
|
|
80
|
+
description: 'Which 10-K / 10-Q section to extract',
|
|
81
|
+
displayOptions: { show: { resource: ['filingText'], operation: ['getSection'] } },
|
|
82
|
+
options: [
|
|
83
|
+
{ name: 'Business (Item 1)', value: 'business' },
|
|
84
|
+
{ name: 'Legal Proceedings (Item 3)', value: 'legal-proceedings' },
|
|
85
|
+
{ name: "Management's Discussion & Analysis", value: 'mda' },
|
|
86
|
+
{ name: 'Market Risk (Item 7A)', value: 'market-risk' },
|
|
87
|
+
{ name: 'Risk Factors (Item 1A)', value: 'risk-factors' },
|
|
88
|
+
],
|
|
89
|
+
},
|
|
90
|
+
];
|
|
91
|
+
//# sourceMappingURL=FilingTextDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilingTextDescription.js","sourceRoot":"","sources":["../../../../nodes/SiftingIo/descriptions/FilingTextDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAsB;IACtD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE;QACtD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,kBAAkB;gBACxB,KAAK,EAAE,gBAAgB;gBACvB,MAAM,EAAE,uBAAuB;gBAC/B,WAAW,EAAE,yEAAyE;gBACtF,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,iFAAiF;qBACtF;iBACD;aACD;YACD;gBACC,IAAI,EAAE,iBAAiB;gBACvB,KAAK,EAAE,YAAY;gBACnB,MAAM,EAAE,qBAAqB;gBAC7B,WAAW,EAAE,sEAAsE;gBACnF,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,wGAAwG;qBAC7G;iBACD;aACD;YACD;gBACC,IAAI,EAAE,uBAAuB;gBAC7B,KAAK,EAAE,aAAa;gBACpB,MAAM,EAAE,kCAAkC;gBAC1C,WAAW,EACV,+EAA+E;gBAChF,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,yDA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EAAE,KAAK,EAAE,cAAc,EAAE;SACzD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.financialsFields = exports.financialsOperations = void 0;
|
|
4
|
+
const shared_1 = require("../shared");
|
|
5
|
+
exports.financialsOperations = [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Operation',
|
|
8
|
+
name: 'operation',
|
|
9
|
+
type: 'options',
|
|
10
|
+
noDataExpression: true,
|
|
11
|
+
displayOptions: { show: { resource: ['financials'] } },
|
|
12
|
+
options: [
|
|
13
|
+
{
|
|
14
|
+
name: 'Get Full Bundle',
|
|
15
|
+
value: 'getBundle',
|
|
16
|
+
action: 'Get the full XBRL bundle',
|
|
17
|
+
description: 'Every reported XBRL concept for a company across every period (large payload)',
|
|
18
|
+
routing: {
|
|
19
|
+
request: { method: 'GET', url: '=/v1/fnd/stocks/{{$parameter.ticker}}/financials' },
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: 'Get Concept',
|
|
24
|
+
value: 'getConcept',
|
|
25
|
+
action: 'Get a single concept',
|
|
26
|
+
description: 'One XBRL concept across every reported period for a company',
|
|
27
|
+
routing: {
|
|
28
|
+
request: {
|
|
29
|
+
method: 'GET',
|
|
30
|
+
url: '=/v1/fnd/stocks/{{$parameter.ticker}}/financials/{{$parameter.concept}}',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Screener',
|
|
36
|
+
value: 'screener',
|
|
37
|
+
action: 'Screen one concept across all filers',
|
|
38
|
+
description: "Every filer's reported value for one concept in one period",
|
|
39
|
+
routing: {
|
|
40
|
+
request: {
|
|
41
|
+
method: 'GET',
|
|
42
|
+
url: '=/v1/fnd/stocks/screener/{{$parameter.concept}}/{{$parameter.period}}',
|
|
43
|
+
},
|
|
44
|
+
send: { paginate: '={{ $parameter.returnAll }}' },
|
|
45
|
+
operations: shared_1.cursorPagination,
|
|
46
|
+
output: (0, shared_1.splitArray)('rows'),
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: 'Get Ratios',
|
|
51
|
+
value: 'getRatios',
|
|
52
|
+
action: 'Get fundamental ratios',
|
|
53
|
+
description: 'Standard fundamental ratios computed from XBRL data across every period',
|
|
54
|
+
routing: {
|
|
55
|
+
request: { method: 'GET', url: '=/v1/fnd/stocks/{{$parameter.ticker}}/ratios' },
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
default: 'getBundle',
|
|
60
|
+
},
|
|
61
|
+
];
|
|
62
|
+
exports.financialsFields = [
|
|
63
|
+
{
|
|
64
|
+
displayName: 'Ticker',
|
|
65
|
+
name: 'ticker',
|
|
66
|
+
type: 'string',
|
|
67
|
+
required: true,
|
|
68
|
+
default: '',
|
|
69
|
+
placeholder: 'AAPL',
|
|
70
|
+
description: 'Ticker symbol (case-insensitive)',
|
|
71
|
+
displayOptions: {
|
|
72
|
+
show: { resource: ['financials'], operation: ['getBundle', 'getConcept', 'getRatios'] },
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
displayName: 'Concept',
|
|
77
|
+
name: 'concept',
|
|
78
|
+
type: 'string',
|
|
79
|
+
required: true,
|
|
80
|
+
default: '',
|
|
81
|
+
placeholder: 'Revenues',
|
|
82
|
+
description: 'XBRL tag in CamelCase, e.g. Revenues, EarningsPerShareBasic, Assets',
|
|
83
|
+
displayOptions: { show: { resource: ['financials'], operation: ['getConcept', 'screener'] } },
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
displayName: 'Period',
|
|
87
|
+
name: 'period',
|
|
88
|
+
type: 'string',
|
|
89
|
+
required: true,
|
|
90
|
+
default: '',
|
|
91
|
+
placeholder: 'CY2024Q1',
|
|
92
|
+
description: 'SEC calendar period code: CY2024Q1 (duration), CY2024Q1I (instant), CY2024 (full year)',
|
|
93
|
+
displayOptions: { show: { resource: ['financials'], operation: ['screener'] } },
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
displayName: 'Taxonomy',
|
|
97
|
+
name: 'taxonomy',
|
|
98
|
+
type: 'options',
|
|
99
|
+
default: 'us-gaap',
|
|
100
|
+
description: 'XBRL taxonomy to query',
|
|
101
|
+
displayOptions: { show: { resource: ['financials'], operation: ['getConcept', 'screener'] } },
|
|
102
|
+
options: [
|
|
103
|
+
{ name: 'US GAAP', value: 'us-gaap' },
|
|
104
|
+
{ name: 'DEI', value: 'dei' },
|
|
105
|
+
{ name: 'IFRS Full', value: 'ifrs-full' },
|
|
106
|
+
{ name: 'SRT', value: 'srt' },
|
|
107
|
+
],
|
|
108
|
+
routing: { send: { type: 'query', property: 'taxonomy' } },
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
displayName: 'Unit',
|
|
112
|
+
name: 'unit',
|
|
113
|
+
type: 'string',
|
|
114
|
+
default: 'USD',
|
|
115
|
+
placeholder: 'USD',
|
|
116
|
+
description: 'Unit filter, e.g. USD, shares, USD/shares, pure',
|
|
117
|
+
displayOptions: { show: { resource: ['financials'], operation: ['screener'] } },
|
|
118
|
+
routing: { send: { type: 'query', property: 'unit' } },
|
|
119
|
+
},
|
|
120
|
+
(0, shared_1.returnAllField)('financials', 'screener'),
|
|
121
|
+
(0, shared_1.limitField)('financials', 'screener', 200, 50),
|
|
122
|
+
];
|
|
123
|
+
//# sourceMappingURL=FinancialsDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FinancialsDescription.js","sourceRoot":"","sources":["../../../../nodes/SiftingIo/descriptions/FinancialsDescription.ts"],"names":[],"mappings":";;;AACA,sCAAqF;AAExE,QAAA,oBAAoB,GAAsB;IACtD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI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EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;YAC7B,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;YACzC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;SAC7B;QACD,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE;KAC1D;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,KAAK;QAClB,WAAW,EAAE,iDAAiD;QAC9D,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,YAAY,CAAC,EAAE,SAAS,EAAE,CAAC,UAAU,CAAC,EAAE,EAAE;QAC/E,OAAO,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE;KACtD;IACD,IAAA,uBAAc,EAAC,YAAY,EAAE,UAAU,CAAC;IACxC,IAAA,mBAAU,EAAC,YAAY,EAAE,UAAU,EAAE,GAAG,EAAE,EAAE,CAAC;CAC7C,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.historicalFields = exports.historicalOperations = void 0;
|
|
4
|
+
const shared_1 = require("../shared");
|
|
5
|
+
const barsRouting = (url) => ({
|
|
6
|
+
request: { method: 'GET', url },
|
|
7
|
+
send: { paginate: '={{ $parameter.returnAll }}' },
|
|
8
|
+
operations: shared_1.cursorPagination,
|
|
9
|
+
output: (0, shared_1.splitArray)('data'),
|
|
10
|
+
});
|
|
11
|
+
const intradayIntervals = [
|
|
12
|
+
{ name: '1 Minute', value: '1m' },
|
|
13
|
+
{ name: '5 Minutes', value: '5m' },
|
|
14
|
+
{ name: '15 Minutes', value: '15m' },
|
|
15
|
+
{ name: '30 Minutes', value: '30m' },
|
|
16
|
+
{ name: '1 Hour', value: '1h' },
|
|
17
|
+
];
|
|
18
|
+
exports.historicalOperations = [
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Operation',
|
|
21
|
+
name: 'operation',
|
|
22
|
+
type: 'options',
|
|
23
|
+
noDataExpression: true,
|
|
24
|
+
displayOptions: { show: { resource: ['historical'] } },
|
|
25
|
+
options: [
|
|
26
|
+
{
|
|
27
|
+
name: 'Get Stock Bars',
|
|
28
|
+
value: 'getStockBars',
|
|
29
|
+
action: 'Get historical stock bars',
|
|
30
|
+
description: 'Time-bucketed OHLCV bars for a US stock',
|
|
31
|
+
routing: barsRouting('=/v1/hist/stocks/{{$parameter.ticker}}/bars'),
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'Get Forex Bars',
|
|
35
|
+
value: 'getForexBars',
|
|
36
|
+
action: 'Get historical forex bars',
|
|
37
|
+
description: 'Time-bucketed OHLCV bars for a forex pair (mid prices)',
|
|
38
|
+
routing: barsRouting('=/v1/hist/forex/{{$parameter.pair}}/bars'),
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Get Crypto Bars',
|
|
42
|
+
value: 'getCryptoBars',
|
|
43
|
+
action: 'Get historical crypto bars',
|
|
44
|
+
description: 'Time-bucketed OHLCV bars for a USD-quoted crypto symbol',
|
|
45
|
+
routing: barsRouting('=/v1/hist/crypto/{{$parameter.symbol}}/bars'),
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'Get DEX Bars',
|
|
49
|
+
value: 'getDexBars',
|
|
50
|
+
action: 'Get historical DEX bars',
|
|
51
|
+
description: 'Time-bucketed OHLCV bars derived from on-chain DEX swaps',
|
|
52
|
+
routing: barsRouting('=/v1/hist/dex/{{$parameter.symbol}}/bars'),
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'Get Commodities Bars',
|
|
56
|
+
value: 'getCommoditiesBars',
|
|
57
|
+
action: 'Get historical commodities bars',
|
|
58
|
+
description: 'Time-bucketed OHLCV bars for precious-metals commodities',
|
|
59
|
+
routing: barsRouting('=/v1/hist/commodities/{{$parameter.symbol}}/bars'),
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
default: 'getStockBars',
|
|
63
|
+
},
|
|
64
|
+
];
|
|
65
|
+
exports.historicalFields = [
|
|
66
|
+
{
|
|
67
|
+
displayName: 'Ticker',
|
|
68
|
+
name: 'ticker',
|
|
69
|
+
type: 'string',
|
|
70
|
+
required: true,
|
|
71
|
+
default: '',
|
|
72
|
+
placeholder: 'AAPL',
|
|
73
|
+
description: 'Ticker symbol (case-insensitive)',
|
|
74
|
+
displayOptions: { show: { resource: ['historical'], operation: ['getStockBars'] } },
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
displayName: 'Pair',
|
|
78
|
+
name: 'pair',
|
|
79
|
+
type: 'string',
|
|
80
|
+
required: true,
|
|
81
|
+
default: '',
|
|
82
|
+
placeholder: 'EURUSD',
|
|
83
|
+
description: 'Six-character forex pair, e.g. EURUSD, USDJPY, GBPUSD',
|
|
84
|
+
displayOptions: { show: { resource: ['historical'], operation: ['getForexBars'] } },
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
displayName: 'Symbol',
|
|
88
|
+
name: 'symbol',
|
|
89
|
+
type: 'string',
|
|
90
|
+
required: true,
|
|
91
|
+
default: '',
|
|
92
|
+
placeholder: 'BTCUSD',
|
|
93
|
+
description: 'Instrument symbol, e.g. BTCUSD (crypto), ETHUSD (DEX), XAUUSD (commodities)',
|
|
94
|
+
displayOptions: {
|
|
95
|
+
show: {
|
|
96
|
+
resource: ['historical'],
|
|
97
|
+
operation: ['getCryptoBars', 'getDexBars', 'getCommoditiesBars'],
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
displayName: 'Start',
|
|
103
|
+
name: 'start',
|
|
104
|
+
type: 'string',
|
|
105
|
+
required: true,
|
|
106
|
+
default: '',
|
|
107
|
+
placeholder: '2025-01-01',
|
|
108
|
+
description: 'Start of the window (YYYY-MM-DD or RFC3339)',
|
|
109
|
+
displayOptions: { show: { resource: ['historical'] } },
|
|
110
|
+
routing: { send: { type: 'query', property: 'start' } },
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
displayName: 'End',
|
|
114
|
+
name: 'end',
|
|
115
|
+
type: 'string',
|
|
116
|
+
default: '',
|
|
117
|
+
placeholder: '2025-12-31',
|
|
118
|
+
description: 'End of the window (YYYY-MM-DD or RFC3339). Defaults to now.',
|
|
119
|
+
displayOptions: { show: { resource: ['historical'] } },
|
|
120
|
+
routing: { send: { type: 'query', property: 'end' } },
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
displayName: 'Interval',
|
|
124
|
+
name: 'interval',
|
|
125
|
+
type: 'options',
|
|
126
|
+
default: '1h',
|
|
127
|
+
description: 'Bar bucket size. All markets support 1m, 5m, 15m, 30m and 1h.',
|
|
128
|
+
displayOptions: { show: { resource: ['historical'] } },
|
|
129
|
+
options: intradayIntervals,
|
|
130
|
+
routing: { send: { type: 'query', property: 'interval' } },
|
|
131
|
+
},
|
|
132
|
+
(0, shared_1.returnAllField)('historical', [
|
|
133
|
+
'getStockBars',
|
|
134
|
+
'getForexBars',
|
|
135
|
+
'getCryptoBars',
|
|
136
|
+
'getDexBars',
|
|
137
|
+
'getCommoditiesBars',
|
|
138
|
+
]),
|
|
139
|
+
(0, shared_1.limitField)('historical', ['getStockBars', 'getForexBars', 'getCommoditiesBars'], 2000, 100),
|
|
140
|
+
(0, shared_1.limitField)('historical', ['getCryptoBars', 'getDexBars'], 5000, 100),
|
|
141
|
+
];
|
|
142
|
+
//# sourceMappingURL=HistoricalDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HistoricalDescription.js","sourceRoot":"","sources":["../../../../n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,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE;KAC1D;IACD,IAAA,uBAAc,EAAC,YAAY,EAAE;QAC5B,cAAc;QACd,cAAc;QACd,eAAe;QACf,YAAY;QACZ,oBAAoB;KACpB,CAAC;IACF,IAAA,mBAAU,EAAC,YAAY,EAAE,CAAC,cAAc,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC;IAC3F,IAAA,mBAAU,EAAC,YAAY,EAAE,CAAC,eAAe,EAAE,YAAY,CAAC,EAAE,IAAI,EAAE,GAAG,CAAC;CACpE,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.holdingsFields = exports.holdingsOperations = void 0;
|
|
4
|
+
const shared_1 = require("../shared");
|
|
5
|
+
exports.holdingsOperations = [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Operation',
|
|
8
|
+
name: 'operation',
|
|
9
|
+
type: 'options',
|
|
10
|
+
noDataExpression: true,
|
|
11
|
+
displayOptions: { show: { resource: ['holdings'] } },
|
|
12
|
+
options: [
|
|
13
|
+
{
|
|
14
|
+
name: 'Get Insider Transactions',
|
|
15
|
+
value: 'getInsiders',
|
|
16
|
+
action: 'Get insider transactions',
|
|
17
|
+
description: 'Form 3/4/5 insider filings parsed into a row-per-transaction view',
|
|
18
|
+
routing: {
|
|
19
|
+
request: { method: 'GET', url: '=/v1/fnd/stocks/{{$parameter.ticker}}/insiders' },
|
|
20
|
+
send: { paginate: '={{ $parameter.returnAll }}' },
|
|
21
|
+
operations: shared_1.cursorPagination,
|
|
22
|
+
output: (0, shared_1.splitArray)('data'),
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: 'Get 13F Holdings',
|
|
27
|
+
value: 'get13F',
|
|
28
|
+
action: 'Get 13F institutional holdings',
|
|
29
|
+
description: 'Latest 13F-HR positions for an institutional manager',
|
|
30
|
+
routing: {
|
|
31
|
+
request: { method: 'GET', url: '=/v1/fnd/filers/{{$parameter.filer}}/holdings' },
|
|
32
|
+
send: { paginate: '={{ $parameter.returnAll }}' },
|
|
33
|
+
operations: shared_1.cursorPagination,
|
|
34
|
+
output: (0, shared_1.splitArray)('positions'),
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
default: 'getInsiders',
|
|
39
|
+
},
|
|
40
|
+
];
|
|
41
|
+
exports.holdingsFields = [
|
|
42
|
+
{
|
|
43
|
+
displayName: 'Ticker',
|
|
44
|
+
name: 'ticker',
|
|
45
|
+
type: 'string',
|
|
46
|
+
required: true,
|
|
47
|
+
default: '',
|
|
48
|
+
placeholder: 'AAPL',
|
|
49
|
+
description: 'Ticker symbol (case-insensitive)',
|
|
50
|
+
displayOptions: { show: { resource: ['holdings'], operation: ['getInsiders'] } },
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
displayName: 'Filer',
|
|
54
|
+
name: 'filer',
|
|
55
|
+
type: 'string',
|
|
56
|
+
required: true,
|
|
57
|
+
default: '',
|
|
58
|
+
placeholder: 'BRK-B',
|
|
59
|
+
description: 'Ticker (e.g. BRK-B) or CIK (e.g. 1037389) of the institutional manager.',
|
|
60
|
+
displayOptions: { show: { resource: ['holdings'], operation: ['get13F'] } },
|
|
61
|
+
},
|
|
62
|
+
(0, shared_1.returnAllField)('holdings', ['getInsiders', 'get13F']),
|
|
63
|
+
(0, shared_1.limitField)('holdings', 'getInsiders', 25, 10),
|
|
64
|
+
(0, shared_1.limitField)('holdings', 'get13F', 200, 50),
|
|
65
|
+
];
|
|
66
|
+
//# sourceMappingURL=HoldingsDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HoldingsDescription.js","sourceRoot":"","sources":["../../../../nodes/SiftingIo/descriptions/HoldingsDescription.ts"],"names":[],"mappings":";;;AAC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