alphavantage
Toggle table of contents
1.8.0
java
Target filter
java
Switch theme
Search in API
Skip to content
alphavantage
alphavantage
/
com.crazzyghost.alphavantage.timeseries
/
TimeSeries
/
GlobalQuoteRequestProxy
Global
Quote
Request
Proxy
public
class
GlobalQuoteRequestProxy
extends
TimeSeries.RequestProxy
<
TimeSeries.GlobalQuoteRequestProxy
,
QuoteResponse
>
Proxy for building a
QuoteRequest
.
Members
Functions
data
Type
Link copied to clipboard
public
T
dataType
(
DataType
type
)
Sets the format the API returns the series in.
fetch
Link copied to clipboard
public
void
fetch
(
)
Sets the right builder and makes an async http request using
fetch
.
fetch
Sync
Link copied to clipboard
public
U
fetchSync
(
)
Sets the right builder and makes a synchronous request using
fetch
.
for
Symbol
Link copied to clipboard
public
T
forSymbol
(
String
symbol
)
Sets the ticker symbol the request reports on.
on
Failure
Link copied to clipboard
public
T
onFailure
(
Fetcher.FailureCallback
callback
)
Sets the callback invoked with the cause when an async call fails.
on
Success
Link copied to clipboard
public
T
onSuccess
(
Fetcher.SuccessCallback
<
? extends
Object
>
callback
)
Sets the callback invoked with the parsed response when an async call succeeds.
set
Sync
Response
Link copied to clipboard
public
void
setSyncResponse
(
U
response
)
Sets the response received during a synchronous call.