All URIs are relative to https://api.equibles.com
Method | HTTP request | Description |
---|---|---|
insiders | GET /stocks/transactions/insiders | Lists the insider transactions for a given stock. |
institutional | GET /stocks/transactions/institutional | Lists the institutional transactions for a given stock. |
TransactionsResponse insiders(fullTicker, opts)
Lists the insider transactions for a given stock.
import {EquiblesStocks} from 'equibles_stocks';
let defaultClient = EquiblesStocks.ApiClient.instance;
// Configure API key authorization: Query String
let Query String = defaultClient.authentications['Query String'];
Query String.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Query String.apiKeyPrefix = 'Token';
let apiInstance = new EquiblesStocks.TransactionsApi();
let fullTicker = "fullTicker_example"; // String | The fully qualified ticker of the stock. Example: AAPL.XNAS
let opts = {
'page': 1, // Number | The number of the page to request.
'pageSize': 1000 // Number | The number of elements in each page. Max value: 1000.
};
apiInstance.insiders(fullTicker, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
fullTicker | String | The fully qualified ticker of the stock. Example: AAPL.XNAS | |
page | Number | The number of the page to request. | [optional] [default to 1] |
pageSize | Number | The number of elements in each page. Max value: 1000. | [optional] [default to 1000] |
[Query String](../README.md#Query String)
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
TransactionsResponse institutional(fullTicker, opts)
Lists the institutional transactions for a given stock.
import {EquiblesStocks} from 'equibles_stocks';
let defaultClient = EquiblesStocks.ApiClient.instance;
// Configure API key authorization: Query String
let Query String = defaultClient.authentications['Query String'];
Query String.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Query String.apiKeyPrefix = 'Token';
let apiInstance = new EquiblesStocks.TransactionsApi();
let fullTicker = "fullTicker_example"; // String | The fully qualified ticker of the stock. Example: AAPL.XNAS
let opts = {
'page': 1, // Number | The number of the page to request.
'pageSize': 1000 // Number | The number of elements in each page. Max value: 1000.
};
apiInstance.institutional(fullTicker, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
fullTicker | String | The fully qualified ticker of the stock. Example: AAPL.XNAS | |
page | Number | The number of the page to request. | [optional] [default to 1] |
pageSize | Number | The number of elements in each page. Max value: 1000. | [optional] [default to 1000] |
[Query String](../README.md#Query String)
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json