Documentation
¶
Index ¶
- type Announcements
- type BookInstrumentNameGroupDepthIntervalFirst
- type BookInstrumentNameGroupDepthIntervalRepeated
- type BookInstrumentNameIntervalFirst
- type BookInstrumentNameIntervalRepeated
- type DeribitPriceIndexIndexNameRepeated
- type DeribitPriceRankingIndexNameRepeated
- type EstimatedExpirationPriceIndexNameRepeated
- type MarkpriceOptionsIndexNameRepeated
- type PerpetualInstrumentNameIntervalRepeated
- type QuoteInstrumentNameRepeated
- type TickerInstrumentNameIntervalRepeated
- type TradesInstrumentNameIntervalRepeated
- type UserOrdersInstrumentNameIntervalRepeated
- type UserOrdersKindCurrencyIntervalRepeated
- type UserPortfolioCurrencyRepeated
- type UserTradesInstrumentNameIntervalRepeated
- type UserTradesKindCurrencyIntervalRepeated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Announcements ¶
type BookInstrumentNameGroupDepthIntervalFirst ¶
type BookInstrumentNameGroupDepthIntervalFirst struct {
Asks [][]float64 `json:"asks" mapstructure:"asks"`
Bids [][]float64 `json:"bids" mapstructure:"bids"`
ChangeID int64 `json:"change_id" mapstructure:"change_id"`
InstrumentName string `json:"instrument_name" mapstructure:"instrument_name"`
Timestamp int64 `json:"timestamp" mapstructure:"timestamp"`
}
type BookInstrumentNameGroupDepthIntervalRepeated ¶
type BookInstrumentNameGroupDepthIntervalRepeated struct {
Asks [][]float64 `json:"asks" mapstructure:"asks"`
Bids [][]float64 `json:"bids" mapstructure:"bids"`
ChangeID int64 `json:"change_id" mapstructure:"change_id"`
InstrumentName string `json:"instrument_name" mapstructure:"instrument_name"`
Timestamp int64 `json:"timestamp" mapstructure:"timestamp"`
}
type BookInstrumentNameIntervalFirst ¶
type BookInstrumentNameIntervalFirst struct {
Asks []interface{} `json:"asks" mapstructure:"asks"`
Bids [][]float64 `json:"bids" mapstructure:"bids"`
ChangeID int64 `json:"change_id" mapstructure:"change_id"`
InstrumentName string `json:"instrument_name" mapstructure:"instrument_name"`
Timestamp int64 `json:"timestamp" mapstructure:"timestamp"`
}
type BookInstrumentNameIntervalRepeated ¶
type BookInstrumentNameIntervalRepeated struct {
Asks [][]interface{} `json:"asks" mapstructure:"asks"`
Bids []interface{} `json:"bids" mapstructure:"bids"`
ChangeID int64 `json:"change_id" mapstructure:"change_id"`
InstrumentName string `json:"instrument_name" mapstructure:"instrument_name"`
PreviousChangeID int64 `json:"previous_change_id" mapstructure:"previous_change_id"`
Timestamp int64 `json:"timestamp" mapstructure:"timestamp"`
}
type DeribitPriceRankingIndexNameRepeated ¶
type DeribitPriceRankingIndexNameRepeated []struct {
Enabled bool `json:"enabled" mapstructure:"enabled"`
Identifier string `json:"identifier" mapstructure:"identifier"`
Price float64 `json:"price" mapstructure:"price"`
Timestamp int64 `json:"timestamp" mapstructure:"timestamp"`
Weight int64 `json:"weight" mapstructure:"weight"`
}
type PerpetualInstrumentNameIntervalRepeated ¶
type PerpetualInstrumentNameIntervalRepeated struct {
Interest float64 `json:"interest" mapstructure:"interest"`
}
type QuoteInstrumentNameRepeated ¶
type QuoteInstrumentNameRepeated struct {
BestAskAmount int64 `json:"best_ask_amount" mapstructure:"best_ask_amount"`
BestAskPrice float64 `json:"best_ask_price" mapstructure:"best_ask_price"`
BestBidAmount int64 `json:"best_bid_amount" mapstructure:"best_bid_amount"`
BestBidPrice float64 `json:"best_bid_price" mapstructure:"best_bid_price"`
InstrumentName string `json:"instrument_name" mapstructure:"instrument_name"`
Timestamp int64 `json:"timestamp" mapstructure:"timestamp"`
}
type TickerInstrumentNameIntervalRepeated ¶
type TickerInstrumentNameIntervalRepeated struct {
BestAskAmount int64 `json:"best_ask_amount" mapstructure:"best_ask_amount"`
BestAskPrice float64 `json:"best_ask_price" mapstructure:"best_ask_price"`
BestBidAmount int64 `json:"best_bid_amount" mapstructure:"best_bid_amount"`
BestBidPrice float64 `json:"best_bid_price" mapstructure:"best_bid_price"`
CurrentFunding float64 `json:"current_funding" mapstructure:"current_funding"`
Funding8h float64 `json:"funding_8h" mapstructure:"funding_8h"`
IndexPrice float64 `json:"index_price" mapstructure:"index_price"`
InstrumentName string `json:"instrument_name" mapstructure:"instrument_name"`
LastPrice int64 `json:"last_price" mapstructure:"last_price"`
MarkPrice float64 `json:"mark_price" mapstructure:"mark_price"`
MaxPrice float64 `json:"max_price" mapstructure:"max_price"`
MinPrice float64 `json:"min_price" mapstructure:"min_price"`
OpenInterest float64 `json:"open_interest" mapstructure:"open_interest"`
SettlementPrice float64 `json:"settlement_price" mapstructure:"settlement_price"`
State string `json:"state" mapstructure:"state"`
Stats struct {
High interface{} `json:"high" mapstructure:"high"`
Low interface{} `json:"low" mapstructure:"low"`
Volume interface{} `json:"volume" mapstructure:"volume"`
} `json:"stats" mapstructure:"stats"`
Timestamp int64 `json:"timestamp" mapstructure:"timestamp"`
}
type TradesInstrumentNameIntervalRepeated ¶
type TradesInstrumentNameIntervalRepeated []struct {
Amount int64 `json:"amount" mapstructure:"amount"`
Direction string `json:"direction" mapstructure:"direction"`
IndexPrice float64 `json:"index_price" mapstructure:"index_price"`
InstrumentName string `json:"instrument_name" mapstructure:"instrument_name"`
Price float64 `json:"price" mapstructure:"price"`
TickDirection int64 `json:"tick_direction" mapstructure:"tick_direction"`
Timestamp int64 `json:"timestamp" mapstructure:"timestamp"`
TradeID string `json:"trade_id" mapstructure:"trade_id"`
TradeSeq int64 `json:"trade_seq" mapstructure:"trade_seq"`
}
type UserOrdersInstrumentNameIntervalRepeated ¶
type UserOrdersInstrumentNameIntervalRepeated struct {
Amount int64 `json:"amount" mapstructure:"amount"`
API bool `json:"api" mapstructure:"api"`
AveragePrice int64 `json:"average_price" mapstructure:"average_price"`
Commission int64 `json:"commission" mapstructure:"commission"`
CreationTimestamp int64 `json:"creation_timestamp" mapstructure:"creation_timestamp"`
Direction string `json:"direction" mapstructure:"direction"`
FilledAmount int64 `json:"filled_amount" mapstructure:"filled_amount"`
InstrumentName string `json:"instrument_name" mapstructure:"instrument_name"`
IsLiquidation bool `json:"is_liquidation" mapstructure:"is_liquidation"`
Label string `json:"label" mapstructure:"label"`
LastUpdateTimestamp int64 `json:"last_update_timestamp" mapstructure:"last_update_timestamp"`
MaxShow int64 `json:"max_show" mapstructure:"max_show"`
OrderID string `json:"order_id" mapstructure:"order_id"`
OrderState string `json:"order_state" mapstructure:"order_state"`
OrderType string `json:"order_type" mapstructure:"order_type"`
PostOnly bool `json:"post_only" mapstructure:"post_only"`
Price int64 `json:"price" mapstructure:"price"`
ProfitLoss int64 `json:"profit_loss" mapstructure:"profit_loss"`
ReduceOnly bool `json:"reduce_only" mapstructure:"reduce_only"`
TimeInForce string `json:"time_in_force" mapstructure:"time_in_force"`
}
type UserOrdersKindCurrencyIntervalRepeated ¶
type UserOrdersKindCurrencyIntervalRepeated []struct {
Amount int64 `json:"amount" mapstructure:"amount"`
API bool `json:"api" mapstructure:"api"`
AveragePrice int64 `json:"average_price" mapstructure:"average_price"`
Commission int64 `json:"commission" mapstructure:"commission"`
CreationTimestamp int64 `json:"creation_timestamp" mapstructure:"creation_timestamp"`
Direction string `json:"direction" mapstructure:"direction"`
FilledAmount int64 `json:"filled_amount" mapstructure:"filled_amount"`
InstrumentName string `json:"instrument_name" mapstructure:"instrument_name"`
IsLiquidation bool `json:"is_liquidation" mapstructure:"is_liquidation"`
Label string `json:"label" mapstructure:"label"`
LastUpdateTimestamp int64 `json:"last_update_timestamp" mapstructure:"last_update_timestamp"`
MaxShow int64 `json:"max_show" mapstructure:"max_show"`
OrderID string `json:"order_id" mapstructure:"order_id"`
OrderState string `json:"order_state" mapstructure:"order_state"`
OrderType string `json:"order_type" mapstructure:"order_type"`
PostOnly bool `json:"post_only" mapstructure:"post_only"`
Price float64 `json:"price" mapstructure:"price"`
ProfitLoss int64 `json:"profit_loss" mapstructure:"profit_loss"`
ReduceOnly bool `json:"reduce_only" mapstructure:"reduce_only"`
TimeInForce string `json:"time_in_force" mapstructure:"time_in_force"`
}
type UserPortfolioCurrencyRepeated ¶
type UserPortfolioCurrencyRepeated struct {
AvailableFunds float64 `json:"available_funds" mapstructure:"available_funds"`
AvailableWithdrawalFunds float64 `json:"available_withdrawal_funds" mapstructure:"available_withdrawal_funds"`
Balance float64 `json:"balance" mapstructure:"balance"`
Currency string `json:"currency" mapstructure:"currency"`
DeltaTotal float64 `json:"delta_total" mapstructure:"delta_total"`
Equity float64 `json:"equity" mapstructure:"equity"`
FuturesPl float64 `json:"futures_pl" mapstructure:"futures_pl"`
FuturesSessionRpl int64 `json:"futures_session_rpl" mapstructure:"futures_session_rpl"`
FuturesSessionUpl float64 `json:"futures_session_upl" mapstructure:"futures_session_upl"`
InitialMargin float64 `json:"initial_margin" mapstructure:"initial_margin"`
MaintenanceMargin float64 `json:"maintenance_margin" mapstructure:"maintenance_margin"`
MarginBalance float64 `json:"margin_balance" mapstructure:"margin_balance"`
OptionsDelta int64 `json:"options_delta" mapstructure:"options_delta"`
OptionsGamma int64 `json:"options_gamma" mapstructure:"options_gamma"`
OptionsPl int64 `json:"options_pl" mapstructure:"options_pl"`
OptionsSessionRpl int64 `json:"options_session_rpl" mapstructure:"options_session_rpl"`
OptionsSessionUpl int64 `json:"options_session_upl" mapstructure:"options_session_upl"`
OptionsTheta int64 `json:"options_theta" mapstructure:"options_theta"`
OptionsVega int64 `json:"options_vega" mapstructure:"options_vega"`
PortfolioMarginingEnabled bool `json:"portfolio_margining_enabled" mapstructure:"portfolio_margining_enabled"`
SessionFunding int64 `json:"session_funding" mapstructure:"session_funding"`
SessionRpl int64 `json:"session_rpl" mapstructure:"session_rpl"`
SessionUpl float64 `json:"session_upl" mapstructure:"session_upl"`
TotalPl float64 `json:"total_pl" mapstructure:"total_pl"`
}
type UserTradesInstrumentNameIntervalRepeated ¶
type UserTradesInstrumentNameIntervalRepeated []struct {
Amount int64 `json:"amount" mapstructure:"amount"`
Direction string `json:"direction" mapstructure:"direction"`
Fee int64 `json:"fee" mapstructure:"fee"`
FeeCurrency string `json:"fee_currency" mapstructure:"fee_currency"`
IndexPrice float64 `json:"index_price" mapstructure:"index_price"`
InstrumentName string `json:"instrument_name" mapstructure:"instrument_name"`
Liquidity string `json:"liquidity" mapstructure:"liquidity"`
MatchingID interface{} `json:"matching_id" mapstructure:"matching_id"`
OrderID string `json:"order_id" mapstructure:"order_id"`
OrderType string `json:"order_type" mapstructure:"order_type"`
Price float64 `json:"price" mapstructure:"price"`
SelfTrade bool `json:"self_trade" mapstructure:"self_trade"`
State string `json:"state" mapstructure:"state"`
TickDirection int64 `json:"tick_direction" mapstructure:"tick_direction"`
Timestamp int64 `json:"timestamp" mapstructure:"timestamp"`
TradeID string `json:"trade_id" mapstructure:"trade_id"`
TradeSeq int64 `json:"trade_seq" mapstructure:"trade_seq"`
}
type UserTradesKindCurrencyIntervalRepeated ¶
type UserTradesKindCurrencyIntervalRepeated []struct {
Amount int64 `json:"amount" mapstructure:"amount"`
Direction string `json:"direction" mapstructure:"direction"`
Fee int64 `json:"fee" mapstructure:"fee"`
FeeCurrency string `json:"fee_currency" mapstructure:"fee_currency"`
IndexPrice float64 `json:"index_price" mapstructure:"index_price"`
InstrumentName string `json:"instrument_name" mapstructure:"instrument_name"`
Liquidity string `json:"liquidity" mapstructure:"liquidity"`
MatchingID interface{} `json:"matching_id" mapstructure:"matching_id"`
OrderID string `json:"order_id" mapstructure:"order_id"`
OrderType string `json:"order_type" mapstructure:"order_type"`
Price float64 `json:"price" mapstructure:"price"`
SelfTrade bool `json:"self_trade" mapstructure:"self_trade"`
State string `json:"state" mapstructure:"state"`
TickDirection int64 `json:"tick_direction" mapstructure:"tick_direction"`
Timestamp int64 `json:"timestamp" mapstructure:"timestamp"`
TradeID string `json:"trade_id" mapstructure:"trade_id"`
TradeSeq int64 `json:"trade_seq" mapstructure:"trade_seq"`
}
Source Files
¶
- announcements.go
- book_instrument_name_group_depth_interval_first.go
- book_instrument_name_group_depth_interval_repeated.go
- book_instrument_name_interval_first.go
- book_instrument_name_interval_repeated.go
- deribit_price_index_index_name_repeated.go
- deribit_price_ranking_index_name_repeated.go
- estimated_expiration_price_index_name_repeated.go
- markprice_options_index_name_repeated.go
- perpetual_instrument_name_interval_repeated.go
- quote_instrument_name_repeated.go
- ticker_instrument_name_interval_repeated.go
- trades_instrument_name_interval_repeated.go
- user_orders_instrument_name_interval_repeated.go
- user_orders_kind_currency_interval_repeated.go
- user_portfolio_currency_repeated.go
- user_trades_instrument_name_interval_repeated.go
- user_trades_kind_currency_interval_repeated.go
Click to show internal directories.
Click to hide internal directories.