C# Класс Next.NextClient

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
TestClient NextClient

Private Properties

Свойство Тип Описание
NextClient System
ResetTouchTimer void

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
OnLoggedInChanged ( ) : void

Приватные методы

Метод Описание
NextClient ( ApiInfo apiInfo ) : System
ResetTouchTimer ( ) : void

Описание методов

AccountLedgers() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-account-ledgers
public AccountLedgers ( Account account ) : Task>
account Next.Dtos.Account
Результат Task>

AccountOrders() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Exchange-orders
public AccountOrders ( Account account ) : Task>
account Next.Dtos.Account
Результат Task>

AccountPositions() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-account-positions
public AccountPositions ( Account account ) : Task>
account Next.Dtos.Account
Результат Task>

AccountSummary() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-account-summary
public AccountSummary ( Account account ) : Task
account Next.Dtos.Account
Результат Task

AccountTrades() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Exchange-trades
public AccountTrades ( Account account ) : Task>
account Next.Dtos.Account
Результат Task>

Accounts() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-accounts
public Accounts ( ) : Task>
Результат Task>

ChartData() публичный Метод

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
Результат Task>

Countries() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Derivatives
public Countries ( string derivativeType ) : Task>
derivativeType string
Результат Task>

DeleteOrder() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Order-delete
public DeleteOrder ( string account, string orderId ) : Task
account string
orderId string
Результат Task

Derivatives() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Derivatives
public Derivatives ( string derivativeType ) : Task>
derivativeType string
Результат Task>

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Encrypt() публичный статический Метод

public static Encrypt ( string username, string password, RSAParameters rsaParameters ) : string
username string
password string
rsaParameters System.Security.Cryptography.RSAParameters
Результат string

Indices() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-indices
public Indices ( ) : Task>
Результат Task>

InstrumentSearch() публичный Метод

public InstrumentSearch ( InstrumentDescriptor instrumentItem ) : Task
instrumentItem Next.Dtos.InstrumentDescriptor
Результат Task

InstrumentSearch() публичный Метод

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
Результат Task

InstrumentSearch() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Multiple-instrument-lookup
public InstrumentSearch ( InstrumentDescriptor descriptors ) : Task>
descriptors Next.Dtos.InstrumentDescriptor
Результат Task>

InstrumentSearch() публичный Метод

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
Результат Task>

ListItems() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-list-items
public ListItems ( string listId ) : Task>
listId string
Результат Task>

Lists() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-lists
public Lists ( ) : Task>
Результат Task>

Login() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Login
public Login ( string username, string password ) : Task
username string
password string
Результат Task

Logout() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Logout
public Logout ( ) : Task
Результат Task

Markets() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-markets
public Markets ( ) : Task>
Результат Task>

ModifyOrder() публичный Метод

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
Результат Task

NewsItem() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#News-item
public NewsItem ( string id ) : Task
id string
Результат Task

NewsSources() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#News-sources
public NewsSources ( ) : Task>
Результат Task>

OnLoggedInChanged() защищенный Метод

protected OnLoggedInChanged ( ) : void
Результат void

PlaceOrder() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Order-entry
public PlaceOrder ( OrderBuilder order ) : Task
order Next.Dtos.OrderBuilder
Результат Task

RealtimeAccess() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Realtime-access
public RealtimeAccess ( ) : Task>
Результат Task>

RelatedMarkets() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Related-markets
public RelatedMarkets ( string marketId, string identifier ) : Task>
marketId string
identifier string
Результат Task>

SearchNews() публичный Метод

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.
Результат Task>

ServiceStatus() публичный Метод

public ServiceStatus ( ) : Task
Результат Task

TickSizes() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-ticksize-table
public TickSizes ( string instrumentId ) : Task>
instrumentId string
Результат Task>

Touch() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Touch-session
public Touch ( ) : Task
Результат Task

TradingDays() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Get-valid-trading-days
public TradingDays ( int marketId ) : Task>
marketId int
Результат Task>

Underlyings() публичный Метод

https://api.test.nordnet.se/projects/api/wiki/REST_API_documentation#Derivatives
public Underlyings ( string derivativeType, string country ) : Task>
derivativeType string
country string
Результат Task>

Описание свойств

TestClient публичное статическое свойство

Client using the testserver
public static NextClient,Next TestClient
Результат NextClient