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

Uploaded Source

Built Distribution

valeralib-1.3.1-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: valeralib-1.3.1.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for valeralib-1.3.1.tar.gz
Algorithm Hash digest
SHA256 a9962b38372f9bbcd0ac527c62345e9a625624d9d515914990d2572cdadd9ca3
MD5 799f85d25b2757941ee2fbc29c30ab40
BLAKE2b-256 4cd5b92106ffb054a539215fa5b008db801c30a1e68668d154ec8439bea66e94

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: valeralib-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for valeralib-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb6ead0cc3cbafba952d9171dcb9933b6c07d271bca1e89fe568b6f2d72d576f
MD5 8f970e2070fcf54475625786671c4d5e
BLAKE2b-256 43c64d8057fe2aefac9653cb0fab2b1342ff43643e1d2efcbf95c41a5dd8a278

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