models

package
v0.0.0-...-7205680 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AevoSignedOrder

type AevoSignedOrder struct {
	IsBuy      bool           `json:"is_buy"`
	Instrument int            `json:"instrument"`
	LimitPrice string         `json:"limit_price"`
	Amount     string         `json:"amount"`
	Timestamp  int64          `json:"timestamp,string"`
	Salt       int64          `json:"salt,string"`
	Maker      common.Address `json:"maker"`
	Signature  string         `json:"signature"`
}

type AevoTime

type AevoTime struct {
	Name      string `json:"name"`
	Timestamp int    `json:"timestamp"`
	Time      string `json:"time"`
	Sequence  int    `json:"sequence"`
	Block     int    `json:"block"`
}

type AssetPrice

type AssetPrice struct {
	Timestamp int64   `json:"timestamp,string"`
	Price     float64 `json:"price,string"`
}

type AssetPriceHistory

type AssetPriceHistory struct {
	AssetHistory [][]string `json:"history"`
}

type CoingeckoStatistic

type CoingeckoStatistic struct {
	TickerID                 string `json:"ticker_id"`
	BaseCurrency             string `json:"base_currency"`
	TargetCurrency           string `json:"target_currency"`
	TargetVolume             string `json:"target_volume"`
	ProductType              string `json:"product_type"`
	OpenInterest             string `json:"open_interest"`
	IndexPrice               string `json:"index_price"`
	IndexCurrency            string `json:"index_currency"`
	NextFundingRateTimestamp string `json:"next_funding_rate_timestamp"`
	FundingRate              string `json:"funding_rate"`
	ContractType             string `json:"contract_type"`
	ContractPriceCurrency    string `json:"contract_price_currency"`
}

type Funding

type Funding struct {
	NextEpoch   string `json:"next_epoch"`
	FundingRate string `json:"funding_rate"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL