Skip to main content

Python client for the Vega Analytica API

Project description

Vega Analytica Python Client

Python client for the Vega Analytica API.

Installation

pip install vega-analytica

Usage

from vega_analytica import RESTClient

client = RESTClient("YOUR_API_KEY")

result = client.cipher(
    ticker="AAPL",
    region="USA",
    trade_date="2025-01-02",
)

print(result)

Echo example

from vega_analytica import RESTClient

client = RESTClient("YOUR_API_KEY")

result = client.echo(
    ticker="AAPL",
    region="USA",
    payload={
        "strategy": "long_call",
        "strike": 400,
        "expiry": "2027-03-21",
    },
)

print(result)

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

vega_analytica-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vega_analytica-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file vega_analytica-0.1.0.tar.gz.

File metadata

  • Download URL: vega_analytica-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for vega_analytica-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0cb125d7ef56998c4c00b488649d2e4c57bec96a5c974e3e832d52c164311d88
MD5 e0892485bc0eaba1e0719af71cb1905d
BLAKE2b-256 dadf1363a03052221143fdefae2138a728676006e4289bd8063a570d06927d74

See more details on using hashes here.

File details

Details for the file vega_analytica-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vega_analytica-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for vega_analytica-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01f9f8b20141cdc4ec35f1a45eab5b6efcaec122497da81c9e76dd02526b349e
MD5 ade4b210eb2674ae7ee3437d6590ba08
BLAKE2b-256 91905935224ce1e2225423c966ed943ac9039d2afae8d7f237cf44ad28b490be

See more details on using hashes here.

Supported by

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