IndertCT


NameIndertCT JSON
Version 0.0.7 PyPI version JSON
download
home_pageNone
SummaryPackage for IndertCT´s Api
upload_time2024-07-23 08:24:03
maintainerNone
docs_urlNone
authorDinis Moreira
requires_pythonNone
licenseNone
keywords python indertct cryptocurrency money market forecast crypto crypto market cryptocurrency market api integration indertct integration
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            


# API Client Package



This package provides a client to interact with the API of your product.



## Installation



Install the package via pip:



```bash

pip install IndertCT

```



## Usage



### Importing the Package



```python

from IndertCT_python import Client

```



### Client Initialization



```python

client = Client(apikey='your_api_key', password='your_password')

```



## Methods



### `pred_on_crypt(crs)`



Predicts on the given cryptos.



- **URL:** `https://indertct.me/api/getPredCrypt`

- **Arguments:**

  - `crs`: A string or list/tuple of crypto symbols.



### `pred_on_hour_and_crypt(**kwargs)`



Predicts based on hours and cryptos.



- **URL:** `https://indertct.me/api/getPredCrHour`

- **Arguments:**

  - `cryptos`: List/tuple of crypto symbols.

  - `times`: List/tuple of times.



### `pred_on_model_name(models)`



Predicts based on model names.



- **URL:** `https://indertct.me/api/postPredNames`

- **Arguments:**

  - `models`: A string or list/tuple of model names.



### `pred_all_models()`



Gets all model names.



- **URL:** `https://indertct.me/api/modelNames`

- **Arguments:** None



### `start_trading(**kwargs)`



Starts trading.



- **URL:** `https://indertct.me/api/StartTrading`

- **Arguments:**

  - `password`: Password for authentication.

  - `ndays`: Number of days to run trading (integer).

  - `test`: Boolean indicating if this is a test.



### `stop_trading(**kwargs)`



Stops trading.



- **URL:** `https://indertct.me/api/StopTrading`

- **Arguments:**

  - `password`: Password for authentication.



### `get_tickers_binance()`



Gets tickers from Binance.



- **URL:** `https://indertct.me/api/getTickersApi`

- **Arguments:** None



### `manual_trading(**kwargs)`



Performs manual trading.



- **URL:** `https://indertct.me/api/manualTrade`

- **Arguments:**

  - `password`: Password for authentication.

  - `symbol`: Symbol for trading (string).

  - `quantity`: Quantity to trade (int/float).

  - `buy`: Boolean indicating buy or sell.



### `historical_data(**kwargs)`



Gets historical data.



- **URL:** `https://indertct.me/api/historicalCr`

- **Arguments:**

  - `password`: Password for authentication.

  - `times`: Dictionary of time ranges.

  - `limit`: Limit of data points (optional, default is a large number).

  - `crs`: A string or list/tuple of cryptos.

  - `custom data`: Custom data (optional, dictionary).



### `handle_privs(**kwargs)`



Handles privileges for models.



- **URL:** `https://indertct.me/api/handlePrivs`

- **Arguments:**

  - `password`: Password for authentication.

  - `method`: Method to handle privileges (string).

  - `models`: A string or list/tuple of model names.



### `handle_fav_pubs(**kwargs)`



Handles favorite public models.



- **URL:** `https://indertct.me/api/handleFavPubs`

- **Arguments:**

  - `password`: Password for authentication.

  - `method`: Method to handle favorite public models (string).

  - `models`: A string or list/tuple of model names.



### `handle_trading_variables(**kwargs)`



Handles trading variables.



- **URL:** `https://indertct.me/api/handleTradingVariables`

- **Arguments:**

  - `password`: Password for authentication.

  - `data`: List of trading variables (list).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "IndertCT",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, IndertCT, cryptocurrency, money, market forecast, crypto, crypto market, cryptocurrency market, API, Integration, IndertCT integration",
    "author": "Dinis Moreira",
    "author_email": "jusupaq@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d1/e0/a8bfca6e78b74b42b9d68792a806f5ff721f849e3cb5ef47456934c614e7/indertct-0.0.7.tar.gz",
    "platform": null,
    "description": "\r\n\r\n\r\n# API Client Package\r\n\r\n\r\n\r\nThis package provides a client to interact with the API of your product.\r\n\r\n\r\n\r\n## Installation\r\n\r\n\r\n\r\nInstall the package via pip:\r\n\r\n\r\n\r\n```bash\r\n\r\npip install IndertCT\r\n\r\n```\r\n\r\n\r\n\r\n## Usage\r\n\r\n\r\n\r\n### Importing the Package\r\n\r\n\r\n\r\n```python\r\n\r\nfrom IndertCT_python import Client\r\n\r\n```\r\n\r\n\r\n\r\n### Client Initialization\r\n\r\n\r\n\r\n```python\r\n\r\nclient = Client(apikey='your_api_key', password='your_password')\r\n\r\n```\r\n\r\n\r\n\r\n## Methods\r\n\r\n\r\n\r\n### `pred_on_crypt(crs)`\r\n\r\n\r\n\r\nPredicts on the given cryptos.\r\n\r\n\r\n\r\n- **URL:** `https://indertct.me/api/getPredCrypt`\r\n\r\n- **Arguments:**\r\n\r\n  - `crs`: A string or list/tuple of crypto symbols.\r\n\r\n\r\n\r\n### `pred_on_hour_and_crypt(**kwargs)`\r\n\r\n\r\n\r\nPredicts based on hours and cryptos.\r\n\r\n\r\n\r\n- **URL:** `https://indertct.me/api/getPredCrHour`\r\n\r\n- **Arguments:**\r\n\r\n  - `cryptos`: List/tuple of crypto symbols.\r\n\r\n  - `times`: List/tuple of times.\r\n\r\n\r\n\r\n### `pred_on_model_name(models)`\r\n\r\n\r\n\r\nPredicts based on model names.\r\n\r\n\r\n\r\n- **URL:** `https://indertct.me/api/postPredNames`\r\n\r\n- **Arguments:**\r\n\r\n  - `models`: A string or list/tuple of model names.\r\n\r\n\r\n\r\n### `pred_all_models()`\r\n\r\n\r\n\r\nGets all model names.\r\n\r\n\r\n\r\n- **URL:** `https://indertct.me/api/modelNames`\r\n\r\n- **Arguments:** None\r\n\r\n\r\n\r\n### `start_trading(**kwargs)`\r\n\r\n\r\n\r\nStarts trading.\r\n\r\n\r\n\r\n- **URL:** `https://indertct.me/api/StartTrading`\r\n\r\n- **Arguments:**\r\n\r\n  - `password`: Password for authentication.\r\n\r\n  - `ndays`: Number of days to run trading (integer).\r\n\r\n  - `test`: Boolean indicating if this is a test.\r\n\r\n\r\n\r\n### `stop_trading(**kwargs)`\r\n\r\n\r\n\r\nStops trading.\r\n\r\n\r\n\r\n- **URL:** `https://indertct.me/api/StopTrading`\r\n\r\n- **Arguments:**\r\n\r\n  - `password`: Password for authentication.\r\n\r\n\r\n\r\n### `get_tickers_binance()`\r\n\r\n\r\n\r\nGets tickers from Binance.\r\n\r\n\r\n\r\n- **URL:** `https://indertct.me/api/getTickersApi`\r\n\r\n- **Arguments:** None\r\n\r\n\r\n\r\n### `manual_trading(**kwargs)`\r\n\r\n\r\n\r\nPerforms manual trading.\r\n\r\n\r\n\r\n- **URL:** `https://indertct.me/api/manualTrade`\r\n\r\n- **Arguments:**\r\n\r\n  - `password`: Password for authentication.\r\n\r\n  - `symbol`: Symbol for trading (string).\r\n\r\n  - `quantity`: Quantity to trade (int/float).\r\n\r\n  - `buy`: Boolean indicating buy or sell.\r\n\r\n\r\n\r\n### `historical_data(**kwargs)`\r\n\r\n\r\n\r\nGets historical data.\r\n\r\n\r\n\r\n- **URL:** `https://indertct.me/api/historicalCr`\r\n\r\n- **Arguments:**\r\n\r\n  - `password`: Password for authentication.\r\n\r\n  - `times`: Dictionary of time ranges.\r\n\r\n  - `limit`: Limit of data points (optional, default is a large number).\r\n\r\n  - `crs`: A string or list/tuple of cryptos.\r\n\r\n  - `custom data`: Custom data (optional, dictionary).\r\n\r\n\r\n\r\n### `handle_privs(**kwargs)`\r\n\r\n\r\n\r\nHandles privileges for models.\r\n\r\n\r\n\r\n- **URL:** `https://indertct.me/api/handlePrivs`\r\n\r\n- **Arguments:**\r\n\r\n  - `password`: Password for authentication.\r\n\r\n  - `method`: Method to handle privileges (string).\r\n\r\n  - `models`: A string or list/tuple of model names.\r\n\r\n\r\n\r\n### `handle_fav_pubs(**kwargs)`\r\n\r\n\r\n\r\nHandles favorite public models.\r\n\r\n\r\n\r\n- **URL:** `https://indertct.me/api/handleFavPubs`\r\n\r\n- **Arguments:**\r\n\r\n  - `password`: Password for authentication.\r\n\r\n  - `method`: Method to handle favorite public models (string).\r\n\r\n  - `models`: A string or list/tuple of model names.\r\n\r\n\r\n\r\n### `handle_trading_variables(**kwargs)`\r\n\r\n\r\n\r\nHandles trading variables.\r\n\r\n\r\n\r\n- **URL:** `https://indertct.me/api/handleTradingVariables`\r\n\r\n- **Arguments:**\r\n\r\n  - `password`: Password for authentication.\r\n\r\n  - `data`: List of trading variables (list).\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Package for IndertCT\u00b4s Api",
    "version": "0.0.7",
    "project_urls": null,
    "split_keywords": [
        "python",
        " indertct",
        " cryptocurrency",
        " money",
        " market forecast",
        " crypto",
        " crypto market",
        " cryptocurrency market",
        " api",
        " integration",
        " indertct integration"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "84af7a58f9137439f9446db821a5f4ddba55226fe1a293cc95204fec710e971a",
                "md5": "020704d768e2a5de5f0f27ff60e7f5b7",
                "sha256": "d1815fb0a3ddc7f981f2481fc9bca07a52ddba7e27dde66fac30239e1c7cbea3"
            },
            "downloads": -1,
            "filename": "IndertCT-0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "020704d768e2a5de5f0f27ff60e7f5b7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5181,
            "upload_time": "2024-07-23T08:24:01",
            "upload_time_iso_8601": "2024-07-23T08:24:01.806707Z",
            "url": "https://files.pythonhosted.org/packages/84/af/7a58f9137439f9446db821a5f4ddba55226fe1a293cc95204fec710e971a/IndertCT-0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1e0a8bfca6e78b74b42b9d68792a806f5ff721f849e3cb5ef47456934c614e7",
                "md5": "eafe73c29af278bea2d33b8aae68166b",
                "sha256": "8d76f6be8e4f5b8c8f81808057fccc18d3ea088a17271f6952996a4dbe3f6d25"
            },
            "downloads": -1,
            "filename": "indertct-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "eafe73c29af278bea2d33b8aae68166b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5048,
            "upload_time": "2024-07-23T08:24:03",
            "upload_time_iso_8601": "2024-07-23T08:24:03.205615Z",
            "url": "https://files.pythonhosted.org/packages/d1/e0/a8bfca6e78b74b42b9d68792a806f5ff721f849e3cb5ef47456934c614e7/indertct-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-23 08:24:03",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "indertct"
}
        
Elapsed time: 1.82423s