Skip to main content

Package for IndertCT´s Api

Project description

API Client Package

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

Installation

Install the package via pip:

pip install IndertCT

Usage

Importing the Package

from IndertCT_python import Client

Client Initialization

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:

    • 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).

```

Now you can copy and paste the above content into your README.md file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

indertct-0.0.5.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

IndertCT-0.0.5-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file indertct-0.0.5.tar.gz.

File metadata

  • Download URL: indertct-0.0.5.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for indertct-0.0.5.tar.gz
Algorithm Hash digest
SHA256 084a1fe78b5c0bfd1358f077a57e028b51d515cbd3eacaff476ed80bccc6fdf0
MD5 d2fda2bb49a6ca868aa58fe20e7a09bb
BLAKE2b-256 bb404e0819b2c045b0a96f3f5e6ee8e92ca0dfc56e8293f3b96725a5343ba69e

See more details on using hashes here.

File details

Details for the file IndertCT-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: IndertCT-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for IndertCT-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1e93380a489a9a75fdf4ce046050298da556c032a39e23d915d6709ab1eb11fa
MD5 2e8ad80f8bb3ce3a015f79a7cfceb39b
BLAKE2b-256 e0631436ad8a34c2dbd3730886a0d91291d013333fa3fe36ebb89f635d25d2cf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page