Documentation
¶
Index ¶
- Constants
- type Asset
- type AssetCurrencyPair
- type AssetExternalIdentifier
- type AssetPairIdentifier
- type AssetSourceIdentifier
- type AssetUniversalIdentifier
- type AssetsCurrencyRatio
- type Spread
- type SpreadElement
- type SpreadIdentifier
- type SpreadLength
- type SpreadMetaInformation
- type SpreadProfitabilityPercent
- type SpreadSearchSettings
Constants ¶
View Source
const DefaultMaxSpreadLength = int64(100)
View Source
const DefaultMinSpreadLength = int64(2)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset struct { UniversalIdentifier AssetUniversalIdentifier ExternalIdentifier AssetExternalIdentifier SourceIdentifier AssetSourceIdentifier }
type AssetCurrencyPair ¶
type AssetCurrencyPair struct { Identifier AssetPairIdentifier BaseAsset Asset QuotedAsset Asset CurrencyRatio AssetsCurrencyRatio }
type AssetExternalIdentifier ¶
type AssetExternalIdentifier int64
type AssetPairIdentifier ¶
type AssetPairIdentifier string
type AssetSourceIdentifier ¶
type AssetSourceIdentifier int64
type AssetUniversalIdentifier ¶
type AssetUniversalIdentifier int64
type AssetsCurrencyRatio ¶
type Spread ¶
type Spread struct { Identifier SpreadIdentifier Head SpreadElement MetaInformation SpreadMetaInformation }
type SpreadElement ¶
type SpreadElement struct { AssetPair AssetCurrencyPair NextElement *SpreadElement }
type SpreadIdentifier ¶
type SpreadIdentifier string
type SpreadLength ¶
type SpreadLength int64
type SpreadMetaInformation ¶
type SpreadMetaInformation struct { Length SpreadLength ProfitabilityPercent SpreadProfitabilityPercent CreatedAt time.Time }
type SpreadSearchSettings ¶
type SpreadSearchSettings struct { MaxSpreadLength *int64 MinSpreadLength *int64 MinSearchProfitabilityRatio *SpreadProfitabilityPercent MaxSearchProfitabilityRatio *SpreadProfitabilityPercent }
Click to show internal directories.
Click to hide internal directories.