A pinescript-like financial data analysis package
Project description
pinetwig 0.1.6
PineTwig is a pinescript-like financial data analysis and trading package.
Requirements
- Python 3.7 or above on Windows, Linux or macOS
Installation
pip install pinetwig
Examples
Create "main.py" file with one of the following examples:
Scraping data from Binance.
import pinetwig as pt
data = pt.BinanceData("BTCUSDT", "1h", "2 day ago UTC", "now")
df = data.DataFrame
print(df)
Scraping data from TradingView.
import pinetwig as pt
df = pt.GetTradingViewData(symbol="NASDAQ:AAPL", interval="5m", length=5000)
print(df)
List available indicators.
import pinetwig as pt
for i in pt.indicators.__dir__():
print(i)
Learn more
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
pinetwig-0.1.6.tar.gz
(6.9 kB
view details)
File details
Details for the file pinetwig-0.1.6.tar.gz
.
File metadata
- Download URL: pinetwig-0.1.6.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8d6b9e60e1c695f63769b1c8c1840449dd2649e56a1fdc45773f8980b176c57 |
|
MD5 | c7ffb11e97186e94fa3194afdb7fc163 |
|
BLAKE2b-256 | 75bd880166e4a9d217270ede3474dda53dc2ccba6be892cdf79ac052678ff127 |