Class AlpacaEndpoint
java.lang.Object
net.jacobpeterson.alpaca.rest.endpoint.AlpacaEndpoint
- Direct Known Subclasses:
AccountActivitiesEndpoint
,AccountConfigurationEndpoint
,AccountEndpoint
,AssetsEndpoint
,CalendarEndpoint
,ClockEndpoint
,CryptoMarketDataEndpoint
,OrdersEndpoint
,PortfolioHistoryEndpoint
,PositionsEndpoint
,StockMarketDataEndpoint
,WatchlistEndpoint
public abstract class AlpacaEndpoint extends Object
AlpacaEndpoint
is an abstract class representing a RestAPI endpoint.-
Field Summary
Fields Modifier and Type Field Description protected AlpacaClient
alpacaClient
protected String
endpointPathSegment
-
Constructor Summary
Constructors Constructor Description AlpacaEndpoint(AlpacaClient alpacaClient, String endpointPathSegment)
Instantiates a newAlpacaEndpoint
. -
Method Summary
-
Field Details
-
Constructor Details
-
AlpacaEndpoint
Instantiates a newAlpacaEndpoint
.- Parameters:
alpacaClient
- theAlpacaClient
endpointPathSegment
- the endpoint path segment relative toAlpacaClient.getBaseURL()
-