Skip to main content

Tests Build

Official ELTYER Python Client

The ELTYER python client is a python library that can be used by your investing algorithm. With this client your can connect your algorithm to the ELTYER platform.

Installation

You can install the client directly using pip:

pip install eltyer

Usage

Example usage

from eltyer import Client, OrderStatus

# Create a client and configure it with your algorithm api keys from ELTYER
client = Client()

# ****Configuration options****

# Configuration with dict
client.config.from_dict({"API_KEY": "<YOUR_API_KEY>"})

# Configuration with attribute setter
client.config.API_KEY = "<YOUR_API_KEY>"

# Configuration with environment variable 'ELTYER_API_KEY'
client.config.from_env()

# ****Configuration options****

# ****Available Operations****

# Start the ELTYER client
client.start()

# Get the api key context/environment
client.get_environment()

# Create a limit order
limit_order = client.create_limit_order(
    target_symbol="btc", amount=1, price=5, side="BUY",
)

# Create a market order (only sell market orders are supported)
market_order = client.create_market_order(target_symbol="btc", amount=1)

# Get positions
positions = client.get_positions()
position = client.get_position("btc")

# Get orders
orders = client.get_orders()
orders = client.get_orders(
    target_symbol="btc", status=OrderStatus.PENDING.value
)

# Get the portfolio
portfolio = client.get_portfolio()

# Stop the client
client.stop()

Documentation

You can find the official documentation at our documentation website

Metadata

Release files for eltyer 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eltyer 0.3.3
File Size Uploaded Provenance Actions
eltyer-0.3.3.tar.gz 12.4 kB Without provenance Details for eltyer-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eltyer 0.3.3
File Interpreter ABI Platform Actions
eltyer-0.3.3-py3-none-any.whl Python 3 none any Details for eltyer-0.3.3-py3-none-any.whl

Total release size: 27.1 kB

Release files / eltyer-0.3.3.tar.gz

Download URL eltyer-0.3.3.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1f10d3d5112da7eb985a7651438ce5e627155f96c5dc8dc6449719fab252eaf4
BLAKE2b-256 checksum
How to use checksums
9d873c71dc5172678c1a09a78d787acea983e6b180c1f5a0af9d96065958918e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / eltyer-0.3.3-py3-none-any.whl

Download URL eltyer-0.3.3-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47f260f421875b2243043bec709e43f4ac014264a176aac751ee9c052c780cf8
BLAKE2b-256 checksum
How to use checksums
344ea334ae12498973d51da566e624cccfc51729e5a7f4fc3ffc085994119c32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for eltyer 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page