Constructor ExchangeAccountInformation
- Namespace
- WhalesSecret.TradeScriptLib.Entities.Account
- Assembly
- WhalesSecret.TradeScriptLib.dll
ExchangeAccountInformation(string?, DateTime, ExchangeMarket, Dictionary<string, AccountSymbolInformation>, decimal?, decimal?)
Creates a new instance of the object.
[JsonConstructor]
public ExchangeAccountInformation(string? subAccount, DateTime timestamp, ExchangeMarket exchangeMarket, Dictionary<string, AccountSymbolInformation> symbolsInformation, decimal? makerFee, decimal? takerFee)
Parameters
subAccount
stringSub-account for which the symbol information entries are relevant, or
null
if the exchange does not have sub-accounts.timestamp
DateTimeUTC timestamp specifying when the information about the account was valid.
exchangeMarket
ExchangeMarketExchange market this information represents.
symbolsInformation
Dictionary<string, AccountSymbolInformation>Symbol information mapped to the symbol name.
makerFee
decimal?Fee to pay for maker orders, or
null
if the information is not available.takerFee
decimal?Fee to pay for taker orders, or
null
if the information is not available.