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")
Metadata
Release files for ValeraLib 1.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| valeralib-1.4.2.tar.gz | 20.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| valeralib-1.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.8 kB
Release files / valeralib-1.4.2.tar.gz
| Download URL | valeralib-1.4.2.tar.gz |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ed3707ca64c2dadf0007ae37acd8fdc46b9f563e732d5858007a7f9bf3025b8
|
|
BLAKE2b-256 checksum How to use checksums |
ce23948a4bf6a59823116481821ba1612768e590fb963691cffb732c2d3ae416
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3
|
Release files / valeralib-1.4.2-py3-none-any.whl
| Download URL | valeralib-1.4.2-py3-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc257c81a143c9b756908cc5c093fcc64f48f8aa28429c6ca9864effc01cffff
|
|
BLAKE2b-256 checksum How to use checksums |
3d3f69a618dcc22e7b59ad38408b748964ae7a5e7c07e4d68fc2973a3aafad5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.3
|