@GET("stock/{symbol}/news") abstract suspend fun news(@Path("symbol") symbol: String, @Query("token") token: String = IEX_API_TOKEN): List<News>
Requests News for an IEX share.
symbol
- The symbol of the IEX share.
token
- The IEX API token. Defaults to IEX_API_TOKEN.