Skip to main content

Simple Homebroker Data API (SHDA)

Overview

Simple Homebroker Data API (SHDA) es una API para conectar cualquier script de python al mercado para recibir información de cotizaciones en tiempo real. Fue desarrollada en conjunto por Marcelo Colom, St1tch y Franco Lamas, ademas utliza parte del codigo de pyhomebroker desarrollada por Diego Degese.

Necesita una cuenta en uno de los Brokers Soportados.

Uso

Inicialización

import SHDA
hb=SHDA.SHDA(broker,dni,user,password)

Datos de mercados

Plazo Parametro
24hs "24hs"
CI "spot"

BYMA removió el plazo histórico de contado normal. Use "24hs" o "spot".

Cotizaciones de Bonos

hb.get_bonds("24hs")

Cotizaciones de Letras

hb.get_short_term_bonds("24hs")

Cotizaciones de Bonos Coporativos

hb.get_corporate_bonds("24hs")

Cotizaciones del Panel MERVAL

hb.get_bluechips("24hs")

Cotizaciones del Panel General

hb.get_galpones("24hs")

Cotizaciones de CEDEAR

hb.get_cedear("24hs")

Profundidad de mercado

Las cotizaciones de panel mantienen su salida tradicional por defecto. Para agregar las columnas bid_depth y ask_depth, use include_depth=True:

hb.get_bluechips("24hs", include_depth=True)

Cotizaciones de los índices

hb.get_MERVAL()

Cotizaciones de opciones

hb.get_options()

Cotizaciones de Favoritos

Esta opcion no necesita parametros.

hb.get_personal_portfolio()

Tenencias

De momento no obtiene el numero de cuenta de manera automatica por lo que hay que pasarlo como parametro.

hb.account(nro comitente)    

Brokers Soportados

Broker Byma Id
Buenos Aires Valores S.A. 12
Proficio Investment S.A. 20
Tomar Inversiones S.A. 81
Bell Investments S.A. 88
RIG Valores S.A. 91
Soluciones Financieras S.A. 94
Maestro y Huerres S.A. 127
Bolsa de Comercio del Chaco 153
Prosecurities S.A. 164
Servente y Cia. S.A. 186
Alfy Inversiones S.A. 201
Invertir en Bolsa S.A. 203
Futuro Bursátil S.A. 209
Sailing S.A. 233
Negocios Financieros y Bursátiles S.A. (Cocos Capital) 265
Veta Capital S.A. 284

Instalacion

Instalación vía pip.

pip install SHDA --upgrade --no-cache-dir

Atribuciones y marcas

Home Broker una marca registrada de Estudio Gallo S.R.L. Agradecemos a Diego Degese por crear y compartir pyhomebroker

To-do List

  • Corregir nombres de columnas de Tenencias.

DISCLAIMER

La información es mostrada “tal cual es”, puede ser incorrecta o contener errores, eso es responsabilidad de cada sitio. No somos responsables por el uso indebido de los Scripts.

Metadata

Release files for SHDA 0.0.4

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

Source distribution (sdist)

Source distribution for SHDA 0.0.4
File Size Uploaded Provenance
shda-0.0.4.tar.gz 20.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for SHDA 0.0.4
File Interpreter ABI Platform
shda-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 37.7 kB

Release files / shda-0.0.4.tar.gz

Download URL shda-0.0.4.tar.gz
Size 20.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bb437ce9994d8abd68efbe304639addb81cda66b05bc708d08543f958794b623
BLAKE2b-256 checksum
How to use checksums
fff89a89e71e6e763843aef244ba02a8466da508b228af996ff6f8aa017195bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release files / shda-0.0.4-py3-none-any.whl

Download URL shda-0.0.4-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8634f33031c4830db16a6868ef3e5ba3119ecbf7ee4b450fa263149492a8608a
BLAKE2b-256 checksum
How to use checksums
bedcb779abfb2801635230d88fc23a2a2129e5bc3b9a6bdb5f5752a55263ca3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Security for SHDA 0.0.4

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for shda-0.0.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

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