Demo library
Project description
polygon
Data engineering HW1
Install
pip install Polygon
Get started
from Polygon_forex import AUDUSD_return
#Instantiate a object
#avg price = 1
A = AUDUSD_return(tick_time="2022-06-04 10:39:06",avg_price=1)
A.last_price = 10
A.hist_return = 100
A.run_sum = 100.0
A.num = 10
#pop price = 2
#Get avg return
print("The average return of AUDUSD is:")
print(A.get_avg(pop_value=2.0))
'''
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Polygon_forex-0.1.0.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file Polygon_forex-0.1.0.tar.gz
.
File metadata
- Download URL: Polygon_forex-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11d5bd62ffecf7f65f24ef38d9cc37c13858d72633226786502fa97d822cc5f7 |
|
MD5 | fc923ea5758b742850acba155ee514e6 |
|
BLAKE2b-256 | 2011b4d4991d1b648dca2e0603c96a6ba2e7666d2392a2729a6a257331eb8481 |
File details
Details for the file Polygon_forex-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: Polygon_forex-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55f245d0887a4d0a4759890b86faae1b3d4c206c94ee213cac98f597c4c32d15 |
|
MD5 | a3b77922eff528edf77e4afd0a8879d4 |
|
BLAKE2b-256 | 9b6696c95a80ffdf47471675c56a28800818dea608847a0a087a369320839782 |