dblock / iex-ruby-client

IEX Finance API Ruby Client
MIT License
119 stars 60 forks source link

Implement Sector Performance #31

Closed rodolfobandeira closed 6 years ago

rodolfobandeira commented 6 years ago

Reference: https://iextrading.com/developer/docs/#sector-performance

gil27 commented 6 years ago

@rodolfobandeira, Is it gonna be for the current day? By the way, I will work on it :)

rodolfobandeira commented 6 years ago

Hey @gil27

I'm not sure on which frequency it updates this endpoint, but by the time I'm writing this, the lastUpdated timestamp is actually representing October 1, 8pm. So, looks like it at least runs once a day. For your implementation though, you won't need to pass any parameter. That said, this looks to be a great challenge to address since the complexity is low. Please let me know if you have any questions!

Raw response: https://api.iextrading.com/1.0/stock/market/sector-performance

gil27 commented 6 years ago

Awesome, I will put some work on it