Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Latest commit

 

History

History
151 lines (118 loc) · 5.22 KB

TransactionsApi.md

File metadata and controls

151 lines (118 loc) · 5.22 KB

Equibles.Stocks.Api.TransactionsApi

All URIs are relative to https://api.equibles.com

Method HTTP request Description
Insiders GET /stocks/transactions/insiders Insider Transactions
Institutional GET /stocks/transactions/institutional Institutional Transactions

Insiders

TransactionsResponse Insiders (string apiKey, string fullTicker, int? page, int? pageSize)

Insider Transactions

Lists the insider transactions for a given stock.

Example

using System;
using System.Diagnostics;
using Equibles.Stocks.Api;
using Equibles.Stocks.Client;
using Equibles.Stocks.Model;

namespace Example
{
    public class InsidersExample
    {
        public void main()
        {
            // Configure API key authorization: Query String
            Configuration.Default.AddApiKey("apiKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.AddApiKeyPrefix("apiKey", "Bearer");

            var apiInstance = new TransactionsApi();
            var apiKey = apiKey_example;  // string | 
            var fullTicker = fullTicker_example;  // string | The fully qualified ticker of the stock. Example: AAPL.XNAS
            var page = 56;  // int? | The number of the page to request. (optional)  (default to 1)
            var pageSize = 56;  // int? | The number of elements in each page. Max value: 1000. (optional)  (default to 1000)

            try
            {
                // Insider Transactions
                TransactionsResponse result = apiInstance.Insiders(apiKey, fullTicker, page, pageSize);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.Insiders: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
apiKey string
fullTicker string The fully qualified ticker of the stock. Example: AAPL.XNAS
page int? The number of the page to request. [optional] [default to 1]
pageSize int? The number of elements in each page. Max value: 1000. [optional] [default to 1000]

Return type

TransactionsResponse

Authorization

[Query String](../README.md#Query String)

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

Institutional

TransactionsResponse Institutional (string apiKey, string fullTicker, int? page, int? pageSize)

Institutional Transactions

Lists the institutional transactions for a given stock.

Example

using System;
using System.Diagnostics;
using Equibles.Stocks.Api;
using Equibles.Stocks.Client;
using Equibles.Stocks.Model;

namespace Example
{
    public class InstitutionalExample
    {
        public void main()
        {
            // Configure API key authorization: Query String
            Configuration.Default.AddApiKey("apiKey", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.AddApiKeyPrefix("apiKey", "Bearer");

            var apiInstance = new TransactionsApi();
            var apiKey = apiKey_example;  // string | 
            var fullTicker = fullTicker_example;  // string | The fully qualified ticker of the stock. Example: AAPL.XNAS
            var page = 56;  // int? | The number of the page to request. (optional)  (default to 1)
            var pageSize = 56;  // int? | The number of elements in each page. Max value: 1000. (optional)  (default to 1000)

            try
            {
                // Institutional Transactions
                TransactionsResponse result = apiInstance.Institutional(apiKey, fullTicker, page, pageSize);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TransactionsApi.Institutional: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
apiKey string
fullTicker string The fully qualified ticker of the stock. Example: AAPL.XNAS
page int? The number of the page to request. [optional] [default to 1]
pageSize int? The number of elements in each page. Max value: 1000. [optional] [default to 1000]

Return type

TransactionsResponse

Authorization

[Query String](../README.md#Query String)

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]