goldhand 1.1.4__tar.gz → 1.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of goldhand might be problematic. Click here for more details.
- goldhand-1.1.6/PKG-INFO +92 -0
- goldhand-1.1.6/README.md +79 -0
- goldhand-1.1.6/goldhand.egg-info/PKG-INFO +92 -0
- goldhand-1.1.6/setup.py +24 -0
- goldhand-1.1.4/PKG-INFO +0 -12
- goldhand-1.1.4/README.md +0 -75
- goldhand-1.1.4/goldhand.egg-info/PKG-INFO +0 -12
- goldhand-1.1.4/setup.py +0 -14
- {goldhand-1.1.4 → goldhand-1.1.6}/goldhand/__init__.py +0 -0
- {goldhand-1.1.4 → goldhand-1.1.6}/goldhand/helpers.py +0 -0
- {goldhand-1.1.4 → goldhand-1.1.6}/goldhand/stocks.py +0 -0
- {goldhand-1.1.4 → goldhand-1.1.6}/goldhand/tw.py +0 -0
- {goldhand-1.1.4 → goldhand-1.1.6}/goldhand.egg-info/SOURCES.txt +0 -0
- {goldhand-1.1.4 → goldhand-1.1.6}/goldhand.egg-info/dependency_links.txt +0 -0
- {goldhand-1.1.4 → goldhand-1.1.6}/goldhand.egg-info/requires.txt +0 -0
- {goldhand-1.1.4 → goldhand-1.1.6}/goldhand.egg-info/top_level.txt +0 -0
- {goldhand-1.1.4 → goldhand-1.1.6}/setup.cfg +0 -0
goldhand-1.1.6/PKG-INFO
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: goldhand
|
|
3
|
+
Version: 1.1.6
|
|
4
|
+
Summary: A package working with financial data
|
|
5
|
+
Home-page: https://github.com/misrori/goldhand
|
|
6
|
+
Author: Mihaly
|
|
7
|
+
Author-email: ormraat.pte@gmail.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Platform: UNKNOWN
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
# Goldhand
|
|
13
|
+
The ultimate python package to work with stock and crypto data
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pip install goldhand
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# TradingView
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
```python
|
|
25
|
+
from goldhand import *
|
|
26
|
+
|
|
27
|
+
# tradingView data
|
|
28
|
+
tw = Tw()
|
|
29
|
+
|
|
30
|
+
# data frame of the stocks
|
|
31
|
+
tw.stock
|
|
32
|
+
|
|
33
|
+
# data frame of the top 300 crypto currency
|
|
34
|
+
tw.crypto
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
```python
|
|
38
|
+
# Get a plot of the stock to see the location in the sector
|
|
39
|
+
tw.get_sec_plot('AMD')
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
```python
|
|
46
|
+
# Get a plot of the stock to see the location in the industry
|
|
47
|
+
tw.get_sec_plot('AMD')
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+

|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
# Goldhand class
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
```python
|
|
58
|
+
|
|
59
|
+
# Get a detailed chart of a stock AMD
|
|
60
|
+
ticker = "AMD"
|
|
61
|
+
t = GoldHand(ticker)
|
|
62
|
+
t.df.tail().T
|
|
63
|
+
```
|
|
64
|
+

|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
```python
|
|
68
|
+
|
|
69
|
+
# Get a detailed chart of a stock AMD
|
|
70
|
+
ticker = "AMD"
|
|
71
|
+
t = GoldHand(ticker)
|
|
72
|
+
t.plotly_last_year(tw.get_plotly_title(ticker)).show()
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+

|
|
76
|
+
|
|
77
|
+
```python
|
|
78
|
+
|
|
79
|
+
# Get a detailed chart of a crypto
|
|
80
|
+
ticker = "BTC-USD"
|
|
81
|
+
t = GoldHand(ticker)
|
|
82
|
+
t.plotly_last_year(tw.get_plotly_title(ticker)).show()
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+

|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
goldhand-1.1.6/README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Goldhand
|
|
2
|
+
The ultimate python package to work with stock and crypto data
|
|
3
|
+
|
|
4
|
+
```bash
|
|
5
|
+
pip install goldhand
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# TradingView
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
```python
|
|
14
|
+
from goldhand import *
|
|
15
|
+
|
|
16
|
+
# tradingView data
|
|
17
|
+
tw = Tw()
|
|
18
|
+
|
|
19
|
+
# data frame of the stocks
|
|
20
|
+
tw.stock
|
|
21
|
+
|
|
22
|
+
# data frame of the top 300 crypto currency
|
|
23
|
+
tw.crypto
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
```python
|
|
27
|
+
# Get a plot of the stock to see the location in the sector
|
|
28
|
+
tw.get_sec_plot('AMD')
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+

|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
```python
|
|
35
|
+
# Get a plot of the stock to see the location in the industry
|
|
36
|
+
tw.get_sec_plot('AMD')
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+

|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
# Goldhand class
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
```python
|
|
47
|
+
|
|
48
|
+
# Get a detailed chart of a stock AMD
|
|
49
|
+
ticker = "AMD"
|
|
50
|
+
t = GoldHand(ticker)
|
|
51
|
+
t.df.tail().T
|
|
52
|
+
```
|
|
53
|
+

|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
```python
|
|
57
|
+
|
|
58
|
+
# Get a detailed chart of a stock AMD
|
|
59
|
+
ticker = "AMD"
|
|
60
|
+
t = GoldHand(ticker)
|
|
61
|
+
t.plotly_last_year(tw.get_plotly_title(ticker)).show()
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+

|
|
65
|
+
|
|
66
|
+
```python
|
|
67
|
+
|
|
68
|
+
# Get a detailed chart of a crypto
|
|
69
|
+
ticker = "BTC-USD"
|
|
70
|
+
t = GoldHand(ticker)
|
|
71
|
+
t.plotly_last_year(tw.get_plotly_title(ticker)).show()
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+

|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: goldhand
|
|
3
|
+
Version: 1.1.6
|
|
4
|
+
Summary: A package working with financial data
|
|
5
|
+
Home-page: https://github.com/misrori/goldhand
|
|
6
|
+
Author: Mihaly
|
|
7
|
+
Author-email: ormraat.pte@gmail.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Platform: UNKNOWN
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
# Goldhand
|
|
13
|
+
The ultimate python package to work with stock and crypto data
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pip install goldhand
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# TradingView
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
```python
|
|
25
|
+
from goldhand import *
|
|
26
|
+
|
|
27
|
+
# tradingView data
|
|
28
|
+
tw = Tw()
|
|
29
|
+
|
|
30
|
+
# data frame of the stocks
|
|
31
|
+
tw.stock
|
|
32
|
+
|
|
33
|
+
# data frame of the top 300 crypto currency
|
|
34
|
+
tw.crypto
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
```python
|
|
38
|
+
# Get a plot of the stock to see the location in the sector
|
|
39
|
+
tw.get_sec_plot('AMD')
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
```python
|
|
46
|
+
# Get a plot of the stock to see the location in the industry
|
|
47
|
+
tw.get_sec_plot('AMD')
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+

|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
# Goldhand class
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
```python
|
|
58
|
+
|
|
59
|
+
# Get a detailed chart of a stock AMD
|
|
60
|
+
ticker = "AMD"
|
|
61
|
+
t = GoldHand(ticker)
|
|
62
|
+
t.df.tail().T
|
|
63
|
+
```
|
|
64
|
+

|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
```python
|
|
68
|
+
|
|
69
|
+
# Get a detailed chart of a stock AMD
|
|
70
|
+
ticker = "AMD"
|
|
71
|
+
t = GoldHand(ticker)
|
|
72
|
+
t.plotly_last_year(tw.get_plotly_title(ticker)).show()
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+

|
|
76
|
+
|
|
77
|
+
```python
|
|
78
|
+
|
|
79
|
+
# Get a detailed chart of a crypto
|
|
80
|
+
ticker = "BTC-USD"
|
|
81
|
+
t = GoldHand(ticker)
|
|
82
|
+
t.plotly_last_year(tw.get_plotly_title(ticker)).show()
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+

|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
goldhand-1.1.6/setup.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
|
|
3
|
+
# read the contents of your README file
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
this_directory = Path(__file__).parent
|
|
6
|
+
long_description = (this_directory / "README.md").read_text()
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
setup(
|
|
10
|
+
name="goldhand",
|
|
11
|
+
version="1.1.6",
|
|
12
|
+
author="Mihaly",
|
|
13
|
+
author_email="ormraat.pte@gmail.com",
|
|
14
|
+
description="A package working with financial data",
|
|
15
|
+
url="https://github.com/misrori/goldhand",
|
|
16
|
+
license="MIT",
|
|
17
|
+
install_requires=['pandas_datareader', 'pandas', 'pandas_ta', 'plotly', 'scipy', 'numpy', 'requests', 'cloudscraper'],
|
|
18
|
+
packages=find_packages(),
|
|
19
|
+
# other arguments omitted
|
|
20
|
+
long_description=long_description,
|
|
21
|
+
long_description_content_type='text/markdown'
|
|
22
|
+
|
|
23
|
+
)
|
|
24
|
+
|
goldhand-1.1.4/PKG-INFO
DELETED
goldhand-1.1.4/README.md
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
# Goldhand
|
|
2
|
-
The ultimate python package to work with stock and crypto data
|
|
3
|
-
|
|
4
|
-
```bash
|
|
5
|
-
pip install goldhand
|
|
6
|
-
```
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
# TradingView
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
```python
|
|
14
|
-
from goldhand import *
|
|
15
|
-
|
|
16
|
-
# tradingView data
|
|
17
|
-
tw = Tw()
|
|
18
|
-
|
|
19
|
-
# data frame of the stocks
|
|
20
|
-
tw.stock
|
|
21
|
-
|
|
22
|
-
# data frame of the top 300 crypto currency
|
|
23
|
-
tw.crypto
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
```python
|
|
27
|
-
# Get a plot of the stock to see the location in the sector
|
|
28
|
-
get_sec_plot()
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
```python
|
|
35
|
-
|
|
36
|
-
# the data
|
|
37
|
-
print(tw.stocks.head())
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
```python
|
|
44
|
-
# create a sector location plot
|
|
45
|
-
tw.get_sec_plot('FDS')
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-

|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
```python
|
|
54
|
-
# create an industry location plot
|
|
55
|
-
tw.get_ind_plot('NIO')
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
# Stock data
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
```python
|
|
63
|
-
|
|
64
|
-
# Example usage replace with your desired stock ticker symbol
|
|
65
|
-
ticker = "TSLA"
|
|
66
|
-
|
|
67
|
-
t = GoldHand(ticker)
|
|
68
|
-
t.download_historical_data()
|
|
69
|
-
print(t.df.head())
|
|
70
|
-
|
|
71
|
-
p = t.plotly_last_year(tw.get_plotly_title(ticker))
|
|
72
|
-
p.show()
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
|
goldhand-1.1.4/setup.py
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
from setuptools import setup, find_packages
|
|
2
|
-
|
|
3
|
-
setup(
|
|
4
|
-
name="goldhand",
|
|
5
|
-
version="1.1.4",
|
|
6
|
-
author="Mihaly",
|
|
7
|
-
author_email="ormraat.pte@gmail.com",
|
|
8
|
-
description="A package working with financial data",
|
|
9
|
-
license="MIT",
|
|
10
|
-
install_requires=['pandas_datareader', 'pandas', 'pandas_ta', 'plotly', 'scipy', 'numpy', 'requests', 'cloudscraper'],
|
|
11
|
-
packages=find_packages()
|
|
12
|
-
)
|
|
13
|
-
|
|
14
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|