C# Class Next.NextClient

Inheritance: IDisposable
Afficher le fichier Open project: JohanLarsson/Next Class Usage Examples

Méthodes publiques

Свойство Type Description
TestClient NextClient

Private Properties

Свойство Type Description
NextClient System
ResetTouchTimer void

Méthodes publiques

Méthode Description
AccountLedgers ( Account account ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-account-ledgers

AccountOrders ( Account account ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Exchange-orders

AccountPositions ( Account account ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-account-positions

AccountSummary ( Account account ) : Task

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-account-summary

AccountTrades ( Account account ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Exchange-trades

Accounts ( ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-accounts

ChartData ( string identifier, string marketId ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Chart-data

Countries ( string derivativeType ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Derivatives

DeleteOrder ( string account, string orderId ) : Task

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Order-delete

Derivatives ( string derivativeType ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Derivatives

Dispose ( ) : void
Encrypt ( string username, string password, RSAParameters rsaParameters ) : string
Indices ( ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-indices

InstrumentSearch ( InstrumentDescriptor instrumentItem ) : Task
InstrumentSearch ( string identifier, string marketId ) : Task

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Instrument-lookup

InstrumentSearch ( InstrumentDescriptor descriptors ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Multiple-instrument-lookup

InstrumentSearch ( string query = null, string type = null, string country = null ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Instrument-search

ListItems ( string listId ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-list-items

Lists ( ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-lists

Login ( string username, string password ) : Task

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Login

Logout ( ) : Task

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Logout

Markets ( ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-markets

ModifyOrder ( string account, string orderId, decimal newPrice, uint newVolume ) : Task

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Order-modify

NewsItem ( string id ) : Task

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#News-item

NewsSources ( ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#News-sources

PlaceOrder ( OrderBuilder order ) : Task

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Order-entry

RealtimeAccess ( ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Realtime-access

RelatedMarkets ( string marketId, string identifier ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Related-markets

SearchNews ( string query = null, string sourceIds = null, int count = int.MaxValue, System.DateTime after = null ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#News-search

ServiceStatus ( ) : Task
TickSizes ( string instrumentId ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-ticksize-table

Touch ( ) : Task

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Touch-session

TradingDays ( int marketId ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-valid-trading-days

Underlyings ( string derivativeType, string country ) : Task>

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Derivatives

Méthodes protégées

Méthode Description
OnLoggedInChanged ( ) : void

Private Methods

Méthode Description
NextClient ( ApiInfo apiInfo ) : System
ResetTouchTimer ( ) : void

Method Details

AccountLedgers() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-account-ledgers
public AccountLedgers ( Account account ) : Task>
account Next.Dtos.Account
Résultat Task>

AccountOrders() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Exchange-orders
public AccountOrders ( Account account ) : Task>
account Next.Dtos.Account
Résultat Task>

AccountPositions() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-account-positions
public AccountPositions ( Account account ) : Task>
account Next.Dtos.Account
Résultat Task>

AccountSummary() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-account-summary
public AccountSummary ( Account account ) : Task
account Next.Dtos.Account
Résultat Task

AccountTrades() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Exchange-trades
public AccountTrades ( Account account ) : Task>
account Next.Dtos.Account
Résultat Task>

Accounts() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-accounts
public Accounts ( ) : Task>
Résultat Task>

ChartData() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Chart-data
public ChartData ( string identifier, string marketId ) : Task>
identifier string Nordnet instrument identifier, example: 101
marketId string Nordnet market identifier, example: 11
Résultat Task>

Countries() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Derivatives
public Countries ( string derivativeType ) : Task>
derivativeType string
Résultat Task>

DeleteOrder() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Order-delete
public DeleteOrder ( string account, string orderId ) : Task
account string
orderId string
Résultat Task

Derivatives() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Derivatives
public Derivatives ( string derivativeType ) : Task>
derivativeType string
Résultat Task>

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Encrypt() public static méthode

public static Encrypt ( string username, string password, RSAParameters rsaParameters ) : string
username string
password string
rsaParameters System.Security.Cryptography.RSAParameters
Résultat string

Indices() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-indices
public Indices ( ) : Task>
Résultat Task>

InstrumentSearch() public méthode

public InstrumentSearch ( InstrumentDescriptor instrumentItem ) : Task
instrumentItem Next.Dtos.InstrumentDescriptor
Résultat Task

InstrumentSearch() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Instrument-lookup
public InstrumentSearch ( string identifier, string marketId ) : Task
identifier string Nordnet instrument identifier, example: 101
marketId string Nordnet market identifier, example: 11
Résultat Task

InstrumentSearch() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Multiple-instrument-lookup
public InstrumentSearch ( InstrumentDescriptor descriptors ) : Task>
descriptors Next.Dtos.InstrumentDescriptor
Résultat Task>

InstrumentSearch() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Instrument-search
public InstrumentSearch ( string query = null, string type = null, string country = null ) : Task>
query string The search string to use. Example: ERI, VOL
type string The type of the instrument. Example: A, O, WNT, FND, FUT
country string The country to search in. Example: SE, DK, NO, FI, DE, US, CA
Résultat Task>

ListItems() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-list-items
public ListItems ( string listId ) : Task>
listId string
Résultat Task>

Lists() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-lists
public Lists ( ) : Task>
Résultat Task>

Login() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Login
public Login ( string username, string password ) : Task
username string
password string
Résultat Task

Logout() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Logout
public Logout ( ) : Task
Résultat Task

Markets() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-markets
public Markets ( ) : Task>
Résultat Task>

ModifyOrder() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Order-modify
public ModifyOrder ( string account, string orderId, decimal newPrice, uint newVolume ) : Task
account string
orderId string
newPrice decimal
newVolume uint
Résultat Task

NewsItem() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#News-item
public NewsItem ( string id ) : Task
id string
Résultat Task

NewsSources() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#News-sources
public NewsSources ( ) : Task>
Résultat Task>

OnLoggedInChanged() protected méthode

protected OnLoggedInChanged ( ) : void
Résultat void

PlaceOrder() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Order-entry
public PlaceOrder ( OrderBuilder order ) : Task
order Next.Dtos.OrderBuilder
Résultat Task

RealtimeAccess() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Realtime-access
public RealtimeAccess ( ) : Task>
Résultat Task>

RelatedMarkets() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Related-markets
public RelatedMarkets ( string marketId, string identifier ) : Task>
marketId string
identifier string
Résultat Task>

SearchNews() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#News-search
public SearchNews ( string query = null, string sourceIds = null, int count = int.MaxValue, System.DateTime after = null ) : Task>
query string The query string if omitted or empty all news are returned for the time period and sources.
sourceIds string Comma separated list of news sources. If empty or omitted all news sources that the user has the right to see is used
count int Max number of items in the result
after System.DateTime Specify a starting point for the search. If empty only news from today will be included in the search.
Résultat Task>

ServiceStatus() public méthode

public ServiceStatus ( ) : Task
Résultat Task

TickSizes() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-ticksize-table
public TickSizes ( string instrumentId ) : Task>
instrumentId string
Résultat Task>

Touch() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Touch-session
public Touch ( ) : Task
Résultat Task

TradingDays() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-valid-trading-days
public TradingDays ( int marketId ) : Task>
marketId int
Résultat Task>

Underlyings() public méthode

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Derivatives
public Underlyings ( string derivativeType, string country ) : Task>
derivativeType string
country string
Résultat Task>

Property Details

TestClient public_oe static_oe property

Client using the testserver
public static NextClient,Next TestClient
Résultat NextClient