@GET("stock/{symbol}/quote") abstract suspend fun quote(@Path("symbol") symbol: String, @Query("token") token: String = IEX_API_TOKEN): IEXQuote
Requests an IEXQuote for an IEX share.
symbol
- The symbol of the IEX share.
token
- The IEX API token. Defaults to IEX_API_TOKEN.
Return
The requested IEXQuote