C# Class Next.FeedCommands.FeedCommand

https://api.test.nordnet.se/projects/api/wiki/Feed_API_documentation#Subgroup-Subscribe-request
Show file Open project: JohanLarsson/Next

Public Methods

Method Description
Login ( string service, string sessionKey ) : FeedCommand
SubscribeAll ( InstrumentDescriptor instrument ) : FeedCommand[]

Returns an array of commands to subscribe everything for instrument https://api.test.nordnet.se/projects/api/wiki/Feed_API_documentation#The-public-trade-and-price-feed

SubscribeDepth ( InstrumentDescriptor instrument ) : FeedCommand
SubscribeIndex ( InstrumentDescriptor instrument ) : FeedCommand
SubscribeNews ( NewsSource newsSource, bool delay = false ) : FeedCommand
SubscribePrice ( InstrumentDescriptor instrument ) : FeedCommand
SubscribeTrade ( InstrumentDescriptor instrument ) : FeedCommand
SubscribeTradingStatus ( InstrumentDescriptor instrument ) : FeedCommand
UnSubscribeAll ( InstrumentDescriptor instrument ) : FeedCommand[]

Returns an array of commands to subscribe everything for instrument https://api.test.nordnet.se/projects/api/wiki/Feed_API_documentation#The-public-trade-and-price-feed

UnSubscribeDepth ( InstrumentDescriptor instrument ) : FeedCommand
UnSubscribeIndex ( InstrumentDescriptor instrument ) : FeedCommand
UnSubscribeNews ( NewsSource newsSource, bool delay = false ) : FeedCommand
UnSubscribePrice ( InstrumentDescriptor instrument ) : FeedCommand
UnSubscribeTrade ( InstrumentDescriptor instrument ) : FeedCommand
UnSubscribeTradingStatus ( InstrumentDescriptor instrument ) : FeedCommand

Method Details

Login() public static method

public static Login ( string service, string sessionKey ) : FeedCommand
service string
sessionKey string
return FeedCommand

SubscribeAll() public static method

Returns an array of commands to subscribe everything for instrument https://api.test.nordnet.se/projects/api/wiki/Feed_API_documentation#The-public-trade-and-price-feed
public static SubscribeAll ( InstrumentDescriptor instrument ) : FeedCommand[]
instrument Next.Dtos.InstrumentDescriptor
return FeedCommand[]

SubscribeDepth() public static method

public static SubscribeDepth ( InstrumentDescriptor instrument ) : FeedCommand
instrument Next.Dtos.InstrumentDescriptor
return FeedCommand

SubscribeIndex() public static method

public static SubscribeIndex ( InstrumentDescriptor instrument ) : FeedCommand
instrument Next.Dtos.InstrumentDescriptor
return FeedCommand

SubscribeNews() public static method

public static SubscribeNews ( NewsSource newsSource, bool delay = false ) : FeedCommand
newsSource Next.Dtos.NewsSource
delay bool
return FeedCommand

SubscribePrice() public static method

public static SubscribePrice ( InstrumentDescriptor instrument ) : FeedCommand
instrument Next.Dtos.InstrumentDescriptor
return FeedCommand

SubscribeTrade() public static method

public static SubscribeTrade ( InstrumentDescriptor instrument ) : FeedCommand
instrument Next.Dtos.InstrumentDescriptor
return FeedCommand

SubscribeTradingStatus() public static method

public static SubscribeTradingStatus ( InstrumentDescriptor instrument ) : FeedCommand
instrument Next.Dtos.InstrumentDescriptor
return FeedCommand

UnSubscribeAll() public static method

Returns an array of commands to subscribe everything for instrument https://api.test.nordnet.se/projects/api/wiki/Feed_API_documentation#The-public-trade-and-price-feed
public static UnSubscribeAll ( InstrumentDescriptor instrument ) : FeedCommand[]
instrument Next.Dtos.InstrumentDescriptor
return FeedCommand[]

UnSubscribeDepth() public static method

public static UnSubscribeDepth ( InstrumentDescriptor instrument ) : FeedCommand
instrument Next.Dtos.InstrumentDescriptor
return FeedCommand

UnSubscribeIndex() public static method

public static UnSubscribeIndex ( InstrumentDescriptor instrument ) : FeedCommand
instrument Next.Dtos.InstrumentDescriptor
return FeedCommand

UnSubscribeNews() public static method

public static UnSubscribeNews ( NewsSource newsSource, bool delay = false ) : FeedCommand
newsSource Next.Dtos.NewsSource
delay bool
return FeedCommand

UnSubscribePrice() public static method

public static UnSubscribePrice ( InstrumentDescriptor instrument ) : FeedCommand
instrument Next.Dtos.InstrumentDescriptor
return FeedCommand

UnSubscribeTrade() public static method

public static UnSubscribeTrade ( InstrumentDescriptor instrument ) : FeedCommand
instrument Next.Dtos.InstrumentDescriptor
return FeedCommand

UnSubscribeTradingStatus() public static method

public static UnSubscribeTradingStatus ( InstrumentDescriptor instrument ) : FeedCommand
instrument Next.Dtos.InstrumentDescriptor
return FeedCommand