Polygon-forex 0.1.2

Last updated:

0 purchases

Polygon-forex 0.1.2 Image
Polygon-forex 0.1.2 Images
Add to Cart

Description:

Polygonforex 0.1.2

polygon
Data engineering HW1
Install
pip install Polygon_forex
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))

'''

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.