Metadata-Version: 2.4
Name: tickcatcher
Version: 1.1.7
Summary: Tickcatcher API
Home-page: https://github.com/yagiziskirik/tickcatcher-sdk
Author: OpenAPI Generator community
Author-email: OpenAPI Generator Community <yagiz@iskirik.com>
License: MIT
Project-URL: Repository, https://github.com/yagiziskirik/tickcatcher-sdk
Keywords: OpenAPI,OpenAPI-Generator,Tickcatcher API
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: urllib3<3.0.0,>=2.1.0
Requires-Dist: python-dateutil>=2.8.2
Requires-Dist: pydantic>=2
Requires-Dist: typing-extensions>=4.7.1
Dynamic: author
Dynamic: home-page

# tickcatcher
The Tickcatcher API provides access to cryptocurrency market data including candlesticks, symbols, and indicators.
All requests require authentication using your RapidAPI key or TickCatcher Direct Key.


This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.1.7
- Package version: 1.1.7
- Generator version: 7.17.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.

Python 3.9+

## Installation & Usage
### pip install

If the python package is hosted on a repository, you can install directly using:

```sh
pip install git+https://github.com/yagiziskirik/tickcatcher-sdk.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/yagiziskirik/tickcatcher-sdk.git`)

Then import the package:
```python
import tickcatcher
```

### Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)

Then import the package:
```python
import tickcatcher
```

### Tests

Execute `pytest` to run the tests.

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python

import tickcatcher
from tickcatcher.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.tickcatcher.com
# See configuration.py for a list of all supported configuration parameters.
configuration = tickcatcher.Configuration(
    host = "https://api.tickcatcher.com"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: directToken
configuration.api_key['directToken'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['directToken'] = 'Bearer'

# Configure API key authorization: rapidapiKey
configuration.api_key['rapidapiKey'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['rapidapiKey'] = 'Bearer'


# Enter a context with an instance of the API client
with tickcatcher.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = tickcatcher.CalendarApi(api_client)
    start_date = 1762194992000 # int | Javascript style epoch time with milliseconds (i.e. 1762194992000). (optional)
    end_date = 1762194992000 # int | Javascript style epoch time with milliseconds (i.e. 1762194992000). (optional)

    try:
        # Get economic calendar within a selected period
        api_response = api_instance.calendar(start_date=start_date, end_date=end_date)
        print("The response of CalendarApi->calendar:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling CalendarApi->calendar: %s\n" % e)

```

## Documentation for API Endpoints

All URIs are relative to *https://api.tickcatcher.com*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*CalendarApi* | [**calendar**](docs/CalendarApi.md#calendar) | **GET** /api/calendar | Get economic calendar within a selected period
*CandlesApi* | [**basic_candles**](docs/CandlesApi.md#basic_candles) | **GET** /api/bcandles | Get candlestick data
*CandlesApi* | [**enterprise_candles**](docs/CandlesApi.md#enterprise_candles) | **GET** /api/ecandles | Get candlestick data
*CandlesApi* | [**mega_candles**](docs/CandlesApi.md#mega_candles) | **GET** /api/mcandles | Get candlestick data
*CandlesApi* | [**pro_candles**](docs/CandlesApi.md#pro_candles) | **GET** /api/pcandles | Get candlestick data
*CandlesApi* | [**ultra_candles**](docs/CandlesApi.md#ultra_candles) | **GET** /api/ucandles | Get candlestick data
*GeneralApi* | [**info**](docs/GeneralApi.md#info) | **GET** /api/info | Get your package information as well as your limitations
*GeneralApi* | [**metadata**](docs/GeneralApi.md#metadata) | **GET** /api/metadata | Get metadata of selected timeframe/symbol pair
*GeneralApi* | [**search**](docs/GeneralApi.md#search) | **GET** /api/search | Search through the list of symbols to use correct one in the query
*IndicatorsApi* | [**adx**](docs/IndicatorsApi.md#adx) | **POST** /api/indicators/adx | Calculate Average Directional Index (ADX)
*IndicatorsApi* | [**atr**](docs/IndicatorsApi.md#atr) | **POST** /api/indicators/atr | Calculate Average True Range (ATR)
*IndicatorsApi* | [**bbands**](docs/IndicatorsApi.md#bbands) | **POST** /api/indicators/bbands | Calculate Bollinger Bands
*IndicatorsApi* | [**cci**](docs/IndicatorsApi.md#cci) | **POST** /api/indicators/cci | Calculate Commodity Channel Index (CCI)
*IndicatorsApi* | [**ema**](docs/IndicatorsApi.md#ema) | **POST** /api/indicators/ema | Calculate Exponential Moving Average (EMA)
*IndicatorsApi* | [**heikenashi**](docs/IndicatorsApi.md#heikenashi) | **POST** /api/indicators/heikenashi | Calculate Heiken Ashi
*IndicatorsApi* | [**ichimoku**](docs/IndicatorsApi.md#ichimoku) | **POST** /api/indicators/ichimoku | Calculate Ichimoku Cloud
*IndicatorsApi* | [**keltner**](docs/IndicatorsApi.md#keltner) | **POST** /api/indicators/keltner | Calculate Keltner Channels
*IndicatorsApi* | [**macd**](docs/IndicatorsApi.md#macd) | **POST** /api/indicators/macd | Calculate MACD
*IndicatorsApi* | [**pivot**](docs/IndicatorsApi.md#pivot) | **POST** /api/indicators/pivot | Calculate Pivot Points
*IndicatorsApi* | [**psar**](docs/IndicatorsApi.md#psar) | **POST** /api/indicators/psar | Calculate Parabolic SAR
*IndicatorsApi* | [**rsi**](docs/IndicatorsApi.md#rsi) | **POST** /api/indicators/rsi | Calculate Relative Strength Index (RSI)
*IndicatorsApi* | [**sma**](docs/IndicatorsApi.md#sma) | **POST** /api/indicators/sma | Calculate Simple Moving Average (SMA)
*IndicatorsApi* | [**stoch**](docs/IndicatorsApi.md#stoch) | **POST** /api/indicators/stoch | Calculate Stochastic Oscillator
*IndicatorsApi* | [**supertrend**](docs/IndicatorsApi.md#supertrend) | **POST** /api/indicators/supertrend | Calculate SuperTrend
*IndicatorsApi* | [**volumema**](docs/IndicatorsApi.md#volumema) | **POST** /api/indicators/volumema | Calculate Volume MA
*IndicatorsApi* | [**vwap**](docs/IndicatorsApi.md#vwap) | **POST** /api/indicators/vwap | Calculate VWAP
*IndicatorsApi* | [**williamsr**](docs/IndicatorsApi.md#williamsr) | **POST** /api/indicators/williamsr | Calculate Williams %R
*IndicatorsApi* | [**zigzag**](docs/IndicatorsApi.md#zigzag) | **POST** /api/indicators/zigzag | Calculate ZigZag Indicator


## Documentation For Models

 - [Adx200ResponseInner](docs/Adx200ResponseInner.md)
 - [AdxRequest](docs/AdxRequest.md)
 - [AtrRequest](docs/AtrRequest.md)
 - [Bbands200ResponseInner](docs/Bbands200ResponseInner.md)
 - [BbandsRequest](docs/BbandsRequest.md)
 - [BbandsRequestParams](docs/BbandsRequestParams.md)
 - [CalendarEvent](docs/CalendarEvent.md)
 - [Candle](docs/Candle.md)
 - [CciRequest](docs/CciRequest.md)
 - [EmaRequest](docs/EmaRequest.md)
 - [EmaRequestParams](docs/EmaRequestParams.md)
 - [HeikenashiRequest](docs/HeikenashiRequest.md)
 - [Ichimoku200ResponseInner](docs/Ichimoku200ResponseInner.md)
 - [IchimokuRequest](docs/IchimokuRequest.md)
 - [IchimokuRequestParams](docs/IchimokuRequestParams.md)
 - [Info](docs/Info.md)
 - [KeltnerRequest](docs/KeltnerRequest.md)
 - [KeltnerRequestParams](docs/KeltnerRequestParams.md)
 - [Macd200ResponseInner](docs/Macd200ResponseInner.md)
 - [MacdRequest](docs/MacdRequest.md)
 - [MacdRequestParams](docs/MacdRequestParams.md)
 - [Metadata](docs/Metadata.md)
 - [Pivot200ResponseInner](docs/Pivot200ResponseInner.md)
 - [PivotRequest](docs/PivotRequest.md)
 - [PsarRequest](docs/PsarRequest.md)
 - [PsarRequestParams](docs/PsarRequestParams.md)
 - [RsiRequest](docs/RsiRequest.md)
 - [SearchResult](docs/SearchResult.md)
 - [SmaRequest](docs/SmaRequest.md)
 - [SmaRequestParams](docs/SmaRequestParams.md)
 - [Stoch200ResponseInner](docs/Stoch200ResponseInner.md)
 - [StochRequest](docs/StochRequest.md)
 - [StochRequestParams](docs/StochRequestParams.md)
 - [Supertrend200ResponseInner](docs/Supertrend200ResponseInner.md)
 - [SupertrendRequest](docs/SupertrendRequest.md)
 - [SupertrendRequestParams](docs/SupertrendRequestParams.md)
 - [VolumemaRequest](docs/VolumemaRequest.md)
 - [VwapRequest](docs/VwapRequest.md)
 - [WilliamsrRequest](docs/WilliamsrRequest.md)
 - [ZigzagRequest](docs/ZigzagRequest.md)
 - [ZigzagRequestParams](docs/ZigzagRequestParams.md)


<a id="documentation-for-authorization"></a>
## Documentation For Authorization


Authentication schemes defined for the API:
<a id="rapidapiKey"></a>
### rapidapiKey

- **Type**: API key
- **API key parameter name**: X-RapidAPI-Key
- **Location**: HTTP header

<a id="directToken"></a>
### directToken

- **Type**: API key
- **API key parameter name**: X-TickCatcher-Key
- **Location**: HTTP header


## Author

yagiz@iskirik.com


