Package com.seansoper.batil.brokers.etrade.services

Methods used to interact with the E*TRADE API.

Types

Accounts
Link copied to clipboard
class Accounts(session: Session, production: Boolean?, verbose: Boolean?, baseUrl: String?, retryPolicy: RetryPolicy<Any>?) : Service
Alerts
Link copied to clipboard
class Alerts(session: Session, production: Boolean?, verbose: Boolean?, baseUrl: String?, retryPolicy: RetryPolicy<Any>?) : Service
AlertStatus
Link copied to clipboard
enum AlertStatus : Enum<AlertStatus>
BrokerServiceError
Link copied to clipboard
open class BrokerServiceError(code: Int, message: String) : Error
Category
Link copied to clipboard
enum Category : Enum<Category>
EtradeServiceError
Link copied to clipboard
open class EtradeServiceError(code: Int, message: String) : BrokerServiceError
ExpiredTokenError
Link copied to clipboard
class ExpiredTokenError : EtradeServiceError
InvalidTokenError
Link copied to clipboard
class InvalidTokenError : EtradeServiceError
Market
Link copied to clipboard
class Market(session: Session, production: Boolean?, verbose: Boolean?, baseUrl: String?, retryPolicy: RetryPolicy<Any>?) : Service
MarketSession
Link copied to clipboard
enum MarketSession : Enum<MarketSession>
Orders
Link copied to clipboard
class Orders(session: Session, production: Boolean?, verbose: Boolean?, baseUrl: String?, retryPolicy: RetryPolicy<Any>?) : Service
OrderStatus
Link copied to clipboard
enum OrderStatus : Enum<OrderStatus>
OrderTransactionType
Link copied to clipboard
enum OrderTransactionType : Enum<OrderTransactionType>
PortfolioSortBy
Link copied to clipboard
enum PortfolioSortBy : Enum<PortfolioSortBy>
PortfolioView
Link copied to clipboard
enum PortfolioView : Enum<PortfolioView>
PriceType
Link copied to clipboard
enum PriceType : Enum<PriceType>
Service
Link copied to clipboard
open class Service(session: Session, _production: Boolean?, _verbose: Boolean?, _baseUrl: String?, retryPolicy: RetryPolicy<Any>?)
Debating whether to keep this class generic or go full ETRADE specific, current generic implementation would allow me to plug it into mult clients assuming their auth/session scheme isn't too weird.
ServiceUnavailableError
Link copied to clipboard
class ServiceUnavailableError : EtradeServiceError
TransactionSortOrder
Link copied to clipboard
enum TransactionSortOrder : Enum<TransactionSortOrder>