C# 클래스 Next.NextClient

상속: IDisposable
파일 보기 프로젝트 열기: JohanLarsson/Next 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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