ethanbond64 / Algotrading_Medium

Simple Algotrading Template
9 stars 6 forks source link

getting a Price not defined issue #1

Open LosPhilly opened 3 years ago

LosPhilly commented 3 years ago

https://github.com/ethanbond64/Algotrading_Medium/blob/a4af64f04f5292d98c706569040524235621d056/AlgoForMedium.py#L79

Orphan-Crippler commented 3 years ago

Change Period to lowercase in this line

historicData = auth_client.get_product_historic_rates(currency, granularity=period)