Skip to main content

Official Absurdia Bindings for Python

PyPI

A Python library for Absurdia's API.

Install

You can install this package by using the pip tool and installing:

$ pip install absurdia

Signing up to Absurdia backtesting

Sign up for Absurdia at https://app.absurdia.markets/signup.

Using the the package

Create a new agent in (your dashboard)[https://app.absurdia.markets/agents] and download the credential file. Use the agent token with the client as in the example blow.

from absurdia import Client

# Create client
client = Client('<Your Agent Token>')

# Get your account
account = client.accounts.current()

Alternatively, use the environment variable ABSURDIA_TOKEN, or put the credential file in the same directory as your Python script.

Import a Freqtrade backtest

Freqtrade backtests are run using its CLI. This Python library also comes with a CLI that can work together with Freqtrade's commands. First, add a token to authenticate your agent:

$ absurdia login --token '<Your Agent Token>'

Once authenicated, simply append absurdia backtest -- to your Freqtrade backtesting command. For example:

$ absurdia backtest --freqtrade backtesting --strategy AwesomeStrategy --timeframe 1m

License

Licensed under the BSD 3 license, see LICENSE.

Metadata

Release files for absurdia 0.0.6

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

Source distribution (sdist)

Source distribution for absurdia 0.0.6
File Size Uploaded Provenance Actions
absurdia-0.0.6.tar.gz 17.7 kB Without provenance Details for absurdia-0.0.6.tar.gz

Built distribution (wheel)

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

Total release size: 40.2 kB

Release files / absurdia-0.0.6.tar.gz

Download URL absurdia-0.0.6.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
54c1be15510a7fdba8106312f05626e9474b37f8da799ea6292574154a4b4dfa
BLAKE2b-256 checksum
How to use checksums
6163ef4121b4620e6003164ee770467703a00392a913ed9e5e4ac279e7f2419c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.5

Release files / absurdia-0.0.6-py3-none-any.whl

Download URL absurdia-0.0.6-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11ac51374ef9e1c34fb6d62a838358082d30b1f5440d8103508dc37dbd2fb5bf
BLAKE2b-256 checksum
How to use checksums
d772aa06ad14fd3602d15f8056e0037c32c4bfe31253987f9cdefc4096a53bcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.5

Security for absurdia 0.0.6

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