nickmccullum / algorithmic-trading-python

The repository for freeCodeCamp's YouTube course, Algorithmic Trading in Python
2.35k stars 2.37k forks source link

Incompatibility of Quantitative Momentum Strategy Tutorial with Updated IEX Cloud API #60

Open jason-ezenwa opened 1 year ago

jason-ezenwa commented 1 year ago

The current tutorial for the Quantitative Momentum Strategy project needs to be updated due to the recent changes in the IEX Cloud API. The tutorial assumes the usage of the deprecated IEX cloud sandbox, but since it is no longer available, users are required to create a normal account and access the API for free for a limited time.

However, the problem lies in the fact that the updated documentation, to the best of my knowledge, does not provide a clear method for making batch calls that retrieve both quote values (e.g., 'latestPrice') and stats values (e.g., 'year1ChangePercent'). Batch calls can only be made separately for stats using the '/advanced_stats' endpoint and for quotes using the '/quotes' endpoint. This discrepancy in the API functionality makes it challenging to follow the tutorial as intended.