C# Class TkApi.TkRestCache

Inheritance: TkRest
Mostra file Open project: M1Sports20/TkApi.NET Class Usage Examples

Public Methods

Method Description
GetAccount_Holdings ( string accountNumber ) : AccountsHoldings
GetAccounts ( ) : Accounts
GetAccounts ( string accountNumber ) : AccountsSingle
GetAccounts_Balances ( ) : AccountsBalance
GetAccounts_Balances ( string accountNumber ) : AccountsBalancesSingle
GetAccounts_History ( string accountNumber, AccountsHistory_Range range, AccountsHistory_Transactions transactions ) : AccountsHistory
GetAccounts_Orders ( string accountNumber ) : Orders
GetMarket_Clock ( ) : MarketClock
GetMarket_ExtQuotes ( string symbol ) : MarketExtQuotes
GetMarket_OptionExpirations ( string symbol ) : MarketOptionsExpirations
GetMarket_OptionStrikes ( string symbol ) : MarketOptionsStrikes
GetMember_Profile ( ) : MemberProfile
GetUtility_Documentation ( ) : UtilityDocumentation
GetUtility_Status ( ) : UtilityStatus
GetUtility_Version ( ) : UtilityVersion
GetWatchlists ( ) : Watchlists
GetWatchlists ( string id ) : WatchlistsItems
TkRestCache ( string consumerKey, string consumerSecret, string accessToken, string accessSecret ) : System
TkRestCache ( string consumerKey, string consumerSecret, string accessToken, string accessSecret, bool allowTrades ) : System

Private Methods

Method Description
RetryFunc ( Func func, uint retries, uint retryTimeout ) : TKBaseType

Method Details

GetAccount_Holdings() public method

public GetAccount_Holdings ( string accountNumber ) : AccountsHoldings
accountNumber string
return AccountsHoldings

GetAccounts() public method

public GetAccounts ( ) : Accounts
return Accounts

GetAccounts() public method

public GetAccounts ( string accountNumber ) : AccountsSingle
accountNumber string
return AccountsSingle

GetAccounts_Balances() public method

public GetAccounts_Balances ( ) : AccountsBalance
return AccountsBalance

GetAccounts_Balances() public method

public GetAccounts_Balances ( string accountNumber ) : AccountsBalancesSingle
accountNumber string
return AccountsBalancesSingle

GetAccounts_History() public method

public GetAccounts_History ( string accountNumber, AccountsHistory_Range range, AccountsHistory_Transactions transactions ) : AccountsHistory
accountNumber string
range AccountsHistory_Range
transactions AccountsHistory_Transactions
return AccountsHistory

GetAccounts_Orders() public method

public GetAccounts_Orders ( string accountNumber ) : Orders
accountNumber string
return Orders

GetMarket_Clock() public method

public GetMarket_Clock ( ) : MarketClock
return MarketClock

GetMarket_ExtQuotes() public method

public GetMarket_ExtQuotes ( string symbol ) : MarketExtQuotes
symbol string
return MarketExtQuotes

GetMarket_OptionExpirations() public method

public GetMarket_OptionExpirations ( string symbol ) : MarketOptionsExpirations
symbol string
return MarketOptionsExpirations

GetMarket_OptionStrikes() public method

public GetMarket_OptionStrikes ( string symbol ) : MarketOptionsStrikes
symbol string
return MarketOptionsStrikes

GetMember_Profile() public method

public GetMember_Profile ( ) : MemberProfile
return MemberProfile

GetUtility_Documentation() public method

public GetUtility_Documentation ( ) : UtilityDocumentation
return UtilityDocumentation

GetUtility_Status() public method

public GetUtility_Status ( ) : UtilityStatus
return UtilityStatus

GetUtility_Version() public method

public GetUtility_Version ( ) : UtilityVersion
return UtilityVersion

GetWatchlists() public method

public GetWatchlists ( ) : Watchlists
return Watchlists

GetWatchlists() public method

public GetWatchlists ( string id ) : WatchlistsItems
id string
return WatchlistsItems

TkRestCache() public method

public TkRestCache ( string consumerKey, string consumerSecret, string accessToken, string accessSecret ) : System
consumerKey string
consumerSecret string
accessToken string
accessSecret string
return System

TkRestCache() public method

public TkRestCache ( string consumerKey, string consumerSecret, string accessToken, string accessSecret, bool allowTrades ) : System
consumerKey string
consumerSecret string
accessToken string
accessSecret string
allowTrades bool
return System