Skip to main content

The library goes brrrrrr

Project description

Example:

from ValeraLib import Binance, DataScience as ds
from ValeraLib.utils.DuckTypes import *

b = Binance()
sk:SymbolsKlines = b.CollectKlinesForSymbols('perp', time.time()-24*60*60, time.time(), '5m')
k:Klines = b.GetKlines('BTCUSDT', time.time()-24*60*60, time.time(), '5m', 'perp')

closes = sk.ToOpensDf()

fig = ds.plotly_closes(closes)
fig.write_image("test_image.png")

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

valeralib-1.4.2.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

valeralib-1.4.2-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file valeralib-1.4.2.tar.gz.

File metadata

  • Download URL: valeralib-1.4.2.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3

File hashes

Hashes for valeralib-1.4.2.tar.gz
Algorithm Hash digest
SHA256 7ed3707ca64c2dadf0007ae37acd8fdc46b9f563e732d5858007a7f9bf3025b8
MD5 a9394424de6daf56aa930055d5e668ce
BLAKE2b-256 ce23948a4bf6a59823116481821ba1612768e590fb963691cffb732c2d3ae416

See more details on using hashes here.

Provenance

File details

Details for the file valeralib-1.4.2-py3-none-any.whl.

File metadata

  • Download URL: valeralib-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3

File hashes

Hashes for valeralib-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc257c81a143c9b756908cc5c093fcc64f48f8aa28429c6ca9864effc01cffff
MD5 b24fcc33910f68b2ea97e6683ac1e194
BLAKE2b-256 3d3f69a618dcc22e7b59ad38408b748964ae7a5e7c07e4d68fc2973a3aafad5a

See more details on using hashes here.

Provenance

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