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.0.2.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

ValeraLib-1.0.2-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file ValeraLib-1.0.2.tar.gz.

File metadata

  • Download URL: ValeraLib-1.0.2.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for ValeraLib-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a30bacdfd7dfb01a428fa3fbacba53e3fcbfca74db3a212d1506e3d2dfda8281
MD5 30da2b73c306ab8d76abfe2255b5f9fe
BLAKE2b-256 d8727303c1259979636ae8d8ed717bc81d19e5bdbdb9843398daa80c97dab228

See more details on using hashes here.

Provenance

File details

Details for the file ValeraLib-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: ValeraLib-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for ValeraLib-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 43c675ca544b4fe9c002d38a4ca843ad7898b22349056e00c590a3d1352676e4
MD5 71a787a3fc36c2664f1ae09e89007c37
BLAKE2b-256 ebfdb231ef9a7c436a44fbecdfdc582d7dd83c52a829098fc9a15a83f8b6866d

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