DerivativeTicker class

A class representing the data for a derivative ticker.

Constructors

DerivativeTicker.fromJson(Map<String, dynamic> json)
Constructs a DerivativeTicker instance from a JSON map.

Properties

base String
The base asset.
final
bidAskSpread double
The bid/ask spread.
final
contractType String
The type of contract for the ticker.
final
convertedLast Map<String, double>
The last traded value converted into different currencies.
final
convertedVolume Map<String, double>
The converted volume in different currencies.
final
expiredAt DateTime?
The timestamp when the derivative expired or will expire, if available.
final
fundingRate double
The funding rate.
final
h24PercentageChange double
The percentage change in price over the last 24 hours.
final
h24Volume double
The trading volume over the last 24 hours.
final
hashCode int
The hash code for this object.
no setterinherited
index double?
The index value of the ticker, if available.
final
indexBasisPercentage double
The index basis percentage.
final
last double
The last traded value of the ticker.
final
lastTraded DateTime
The timestamp of the last trade.
final
openInterestUsd double
The open interest in USD.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
The ticker symbol.
final
target String
The target asset.
final
tradeUrl String
The URL for trading the ticker.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a string representation of the DerivativeTicker instance.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited