Documentation ¶
Index ¶
- Constants
- func RegisterCoincheckServer(s *grpc.Server, srv CoincheckServer)
- type APIInfo
- type AccountsBalanceItem
- func (*AccountsBalanceItem) Descriptor() ([]byte, []int)
- func (m *AccountsBalanceItem) GetBtc() string
- func (m *AccountsBalanceItem) GetBtcDebt() string
- func (m *AccountsBalanceItem) GetBtcLendInUse() string
- func (m *AccountsBalanceItem) GetBtcLent() string
- func (m *AccountsBalanceItem) GetBtcReserved() string
- func (m *AccountsBalanceItem) GetJpy() string
- func (m *AccountsBalanceItem) GetJpyDebt() string
- func (m *AccountsBalanceItem) GetJpyLendInUse() string
- func (m *AccountsBalanceItem) GetJpyLent() string
- func (m *AccountsBalanceItem) GetJpyReserved() string
- func (m *AccountsBalanceItem) GetSuccess() bool
- func (*AccountsBalanceItem) ProtoMessage()
- func (m *AccountsBalanceItem) Reset()
- func (m *AccountsBalanceItem) String() string
- func (m *AccountsBalanceItem) XXX_DiscardUnknown()
- func (m *AccountsBalanceItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountsBalanceItem) XXX_Merge(src proto.Message)
- func (m *AccountsBalanceItem) XXX_Size() int
- func (m *AccountsBalanceItem) XXX_Unmarshal(b []byte) error
- type AccountsItem
- func (*AccountsItem) Descriptor() ([]byte, []int)
- func (m *AccountsItem) GetBitcoinAddress() string
- func (m *AccountsItem) GetEmail() string
- func (m *AccountsItem) GetExchangeFees() *ExchangeFees
- func (m *AccountsItem) GetId() uint32
- func (m *AccountsItem) GetIdentityStatus() string
- func (m *AccountsItem) GetLendingLeverage() uint32
- func (m *AccountsItem) GetMakerFee() string
- func (m *AccountsItem) GetSuccess() bool
- func (m *AccountsItem) GetTakerFee() string
- func (*AccountsItem) ProtoMessage()
- func (m *AccountsItem) Reset()
- func (m *AccountsItem) String() string
- func (m *AccountsItem) XXX_DiscardUnknown()
- func (m *AccountsItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountsItem) XXX_Merge(src proto.Message)
- func (m *AccountsItem) XXX_Size() int
- func (m *AccountsItem) XXX_Unmarshal(b []byte) error
- type AmountPriceType
- type CoincheckClient
- type CoincheckServer
- type Config
- type DeleteOrderItem
- func (*DeleteOrderItem) Descriptor() ([]byte, []int)
- func (m *DeleteOrderItem) GetId() uint32
- func (m *DeleteOrderItem) GetSuccess() bool
- func (*DeleteOrderItem) ProtoMessage()
- func (m *DeleteOrderItem) Reset()
- func (m *DeleteOrderItem) String() string
- func (m *DeleteOrderItem) XXX_DiscardUnknown()
- func (m *DeleteOrderItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteOrderItem) XXX_Merge(src proto.Message)
- func (m *DeleteOrderItem) XXX_Size() int
- func (m *DeleteOrderItem) XXX_Unmarshal(b []byte) error
- type DeleteOrderParam
- func (*DeleteOrderParam) Descriptor() ([]byte, []int)
- func (m *DeleteOrderParam) GetId() uint32
- func (*DeleteOrderParam) ProtoMessage()
- func (m *DeleteOrderParam) Reset()
- func (m *DeleteOrderParam) String() string
- func (m *DeleteOrderParam) XXX_DiscardUnknown()
- func (m *DeleteOrderParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteOrderParam) XXX_Merge(src proto.Message)
- func (m *DeleteOrderParam) XXX_Size() int
- func (m *DeleteOrderParam) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type ExchangeFees
- func (*ExchangeFees) Descriptor() ([]byte, []int)
- func (m *ExchangeFees) GetBtcJpy() *Fees
- func (m *ExchangeFees) GetFtcJpy() *Fees
- func (*ExchangeFees) ProtoMessage()
- func (m *ExchangeFees) Reset()
- func (m *ExchangeFees) String() string
- func (m *ExchangeFees) XXX_DiscardUnknown()
- func (m *ExchangeFees) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExchangeFees) XXX_Merge(src proto.Message)
- func (m *ExchangeFees) XXX_Size() int
- func (m *ExchangeFees) XXX_Unmarshal(b []byte) error
- type ExchangeOrdersRateItem
- func (*ExchangeOrdersRateItem) Descriptor() ([]byte, []int)
- func (m *ExchangeOrdersRateItem) GetAmount() string
- func (m *ExchangeOrdersRateItem) GetPrice() string
- func (m *ExchangeOrdersRateItem) GetRate() string
- func (m *ExchangeOrdersRateItem) GetSuccess() bool
- func (*ExchangeOrdersRateItem) ProtoMessage()
- func (m *ExchangeOrdersRateItem) Reset()
- func (m *ExchangeOrdersRateItem) String() string
- func (m *ExchangeOrdersRateItem) XXX_DiscardUnknown()
- func (m *ExchangeOrdersRateItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExchangeOrdersRateItem) XXX_Merge(src proto.Message)
- func (m *ExchangeOrdersRateItem) XXX_Size() int
- func (m *ExchangeOrdersRateItem) XXX_Unmarshal(b []byte) error
- type ExchangeOrdersRateParam
- func (*ExchangeOrdersRateParam) Descriptor() ([]byte, []int)
- func (m *ExchangeOrdersRateParam) GetAmountprice() string
- func (m *ExchangeOrdersRateParam) GetOrderType() string
- func (m *ExchangeOrdersRateParam) GetPair() string
- func (m *ExchangeOrdersRateParam) GetValue() string
- func (*ExchangeOrdersRateParam) ProtoMessage()
- func (m *ExchangeOrdersRateParam) Reset()
- func (m *ExchangeOrdersRateParam) String() string
- func (m *ExchangeOrdersRateParam) XXX_DiscardUnknown()
- func (m *ExchangeOrdersRateParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExchangeOrdersRateParam) XXX_Merge(src proto.Message)
- func (m *ExchangeOrdersRateParam) XXX_Size() int
- func (m *ExchangeOrdersRateParam) XXX_Unmarshal(b []byte) error
- type Fees
- func (*Fees) Descriptor() ([]byte, []int)
- func (m *Fees) GetMakerFee() string
- func (m *Fees) GetTakerFee() string
- func (*Fees) ProtoMessage()
- func (m *Fees) Reset()
- func (m *Fees) String() string
- func (m *Fees) XXX_DiscardUnknown()
- func (m *Fees) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fees) XXX_Merge(src proto.Message)
- func (m *Fees) XXX_Size() int
- func (m *Fees) XXX_Unmarshal(b []byte) error
- type Funds
- func (*Funds) Descriptor() ([]byte, []int)
- func (m *Funds) GetBtc() string
- func (m *Funds) GetJpy() string
- func (*Funds) ProtoMessage()
- func (m *Funds) Reset()
- func (m *Funds) String() string
- func (m *Funds) XXX_DiscardUnknown()
- func (m *Funds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Funds) XXX_Merge(src proto.Message)
- func (m *Funds) XXX_Size() int
- func (m *Funds) XXX_Unmarshal(b []byte) error
- type LimitOrderParams
- func (*LimitOrderParams) Descriptor() ([]byte, []int)
- func (m *LimitOrderParams) GetAmount() string
- func (m *LimitOrderParams) GetId() int64
- func (m *LimitOrderParams) GetPair() string
- func (m *LimitOrderParams) GetRate() string
- func (m *LimitOrderParams) GetStopLossRate() string
- func (*LimitOrderParams) ProtoMessage()
- func (m *LimitOrderParams) Reset()
- func (m *LimitOrderParams) String() string
- func (m *LimitOrderParams) XXX_DiscardUnknown()
- func (m *LimitOrderParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LimitOrderParams) XXX_Merge(src proto.Message)
- func (m *LimitOrderParams) XXX_Size() int
- func (m *LimitOrderParams) XXX_Unmarshal(b []byte) error
- type LimitOrderPayload
- type MainConfig
- type MarketBuyParams
- func (*MarketBuyParams) Descriptor() ([]byte, []int)
- func (m *MarketBuyParams) GetMarketBuyAmount() uint32
- func (m *MarketBuyParams) GetPair() string
- func (*MarketBuyParams) ProtoMessage()
- func (m *MarketBuyParams) Reset()
- func (m *MarketBuyParams) String() string
- func (m *MarketBuyParams) XXX_DiscardUnknown()
- func (m *MarketBuyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketBuyParams) XXX_Merge(src proto.Message)
- func (m *MarketBuyParams) XXX_Size() int
- func (m *MarketBuyParams) XXX_Unmarshal(b []byte) error
- type MarketBuyPayload
- type MarketItem
- func (*MarketItem) Descriptor() ([]byte, []int)
- func (m *MarketItem) GetAmount() string
- func (m *MarketItem) GetCreatedAt() string
- func (m *MarketItem) GetId() uint64
- func (m *MarketItem) GetOrderType() string
- func (m *MarketItem) GetPair() string
- func (m *MarketItem) GetRate() string
- func (m *MarketItem) GetStopLossRate() string
- func (m *MarketItem) GetSuccess() string
- func (*MarketItem) ProtoMessage()
- func (m *MarketItem) Reset()
- func (m *MarketItem) String() string
- func (m *MarketItem) XXX_DiscardUnknown()
- func (m *MarketItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketItem) XXX_Merge(src proto.Message)
- func (m *MarketItem) XXX_Size() int
- func (m *MarketItem) XXX_Unmarshal(b []byte) error
- type MarketSellParam
- func (*MarketSellParam) Descriptor() ([]byte, []int)
- func (m *MarketSellParam) GetAmount() uint32
- func (m *MarketSellParam) GetPair() string
- func (*MarketSellParam) ProtoMessage()
- func (m *MarketSellParam) Reset()
- func (m *MarketSellParam) String() string
- func (m *MarketSellParam) XXX_DiscardUnknown()
- func (m *MarketSellParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketSellParam) XXX_Merge(src proto.Message)
- func (m *MarketSellParam) XXX_Size() int
- func (m *MarketSellParam) XXX_Unmarshal(b []byte) error
- type MarketSellPayload
- type OpenItem
- func (*OpenItem) Descriptor() ([]byte, []int)
- func (m *OpenItem) GetCreatedAt() string
- func (m *OpenItem) GetId() uint32
- func (m *OpenItem) GetOrderType() string
- func (m *OpenItem) GetPendingAmount() string
- func (m *OpenItem) GetPendingMarketBuyAmount() string
- func (m *OpenItem) GetRate() uint32
- func (m *OpenItem) GetStopLossRate() string
- func (*OpenItem) ProtoMessage()
- func (m *OpenItem) Reset()
- func (m *OpenItem) String() string
- func (m *OpenItem) XXX_DiscardUnknown()
- func (m *OpenItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenItem) XXX_Merge(src proto.Message)
- func (m *OpenItem) XXX_Size() int
- func (m *OpenItem) XXX_Unmarshal(b []byte) error
- type OrderArray
- func (*OrderArray) Descriptor() ([]byte, []int)
- func (m *OrderArray) GetItems() []string
- func (*OrderArray) ProtoMessage()
- func (m *OrderArray) Reset()
- func (m *OrderArray) String() string
- func (m *OrderArray) XXX_DiscardUnknown()
- func (m *OrderArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderArray) XXX_Merge(src proto.Message)
- func (m *OrderArray) XXX_Size() int
- func (m *OrderArray) XXX_Unmarshal(b []byte) error
- type OrderBooksItem
- func (*OrderBooksItem) Descriptor() ([]byte, []int)
- func (m *OrderBooksItem) GetAsks() []*OrderArray
- func (m *OrderBooksItem) GetBids() []*OrderArray
- func (*OrderBooksItem) ProtoMessage()
- func (m *OrderBooksItem) Reset()
- func (m *OrderBooksItem) String() string
- func (m *OrderBooksItem) XXX_DiscardUnknown()
- func (m *OrderBooksItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderBooksItem) XXX_Merge(src proto.Message)
- func (m *OrderBooksItem) XXX_Size() int
- func (m *OrderBooksItem) XXX_Unmarshal(b []byte) error
- type OrderBooksItemIntermediate
- type OrderType
- type OrdersOpensItem
- func (*OrdersOpensItem) Descriptor() ([]byte, []int)
- func (m *OrdersOpensItem) GetOrders() []*OpenItem
- func (m *OrdersOpensItem) GetSuccess() bool
- func (*OrdersOpensItem) ProtoMessage()
- func (m *OrdersOpensItem) Reset()
- func (m *OrdersOpensItem) String() string
- func (m *OrdersOpensItem) XXX_DiscardUnknown()
- func (m *OrdersOpensItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrdersOpensItem) XXX_Merge(src proto.Message)
- func (m *OrdersOpensItem) XXX_Size() int
- func (m *OrdersOpensItem) XXX_Unmarshal(b []byte) error
- type OrdersTransactionsItem
- func (*OrdersTransactionsItem) Descriptor() ([]byte, []int)
- func (m *OrdersTransactionsItem) GetSuccess() bool
- func (m *OrdersTransactionsItem) GetTransactions() []*TransactionsItem
- func (*OrdersTransactionsItem) ProtoMessage()
- func (m *OrdersTransactionsItem) Reset()
- func (m *OrdersTransactionsItem) String() string
- func (m *OrdersTransactionsItem) XXX_DiscardUnknown()
- func (m *OrdersTransactionsItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrdersTransactionsItem) XXX_Merge(src proto.Message)
- func (m *OrdersTransactionsItem) XXX_Size() int
- func (m *OrdersTransactionsItem) XXX_Unmarshal(b []byte) error
- type Pagenation
- func (*Pagenation) Descriptor() ([]byte, []int)
- func (m *Pagenation) GetEndingBefore() string
- func (m *Pagenation) GetLimit() uint32
- func (m *Pagenation) GetOrder() string
- func (m *Pagenation) GetStartingAfter() string
- func (*Pagenation) ProtoMessage()
- func (m *Pagenation) Reset()
- func (m *Pagenation) String() string
- func (m *Pagenation) XXX_DiscardUnknown()
- func (m *Pagenation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pagenation) XXX_Merge(src proto.Message)
- func (m *Pagenation) XXX_Size() int
- func (m *Pagenation) XXX_Unmarshal(b []byte) error
- type Pair
- type RatePairItem
- func (*RatePairItem) Descriptor() ([]byte, []int)
- func (m *RatePairItem) GetRate() string
- func (*RatePairItem) ProtoMessage()
- func (m *RatePairItem) Reset()
- func (m *RatePairItem) String() string
- func (m *RatePairItem) XXX_DiscardUnknown()
- func (m *RatePairItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RatePairItem) XXX_Merge(src proto.Message)
- func (m *RatePairItem) XXX_Size() int
- func (m *RatePairItem) XXX_Unmarshal(b []byte) error
- type RatePairParams
- func (*RatePairParams) Descriptor() ([]byte, []int)
- func (m *RatePairParams) GetPair() string
- func (*RatePairParams) ProtoMessage()
- func (m *RatePairParams) Reset()
- func (m *RatePairParams) String() string
- func (m *RatePairParams) XXX_DiscardUnknown()
- func (m *RatePairParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RatePairParams) XXX_Merge(src proto.Message)
- func (m *RatePairParams) XXX_Size() int
- func (m *RatePairParams) XXX_Unmarshal(b []byte) error
- type TickerHistItem
- func (*TickerHistItem) Descriptor() ([]byte, []int)
- func (m *TickerHistItem) GetTickeritem() []*TickerItem
- func (*TickerHistItem) ProtoMessage()
- func (m *TickerHistItem) Reset()
- func (m *TickerHistItem) String() string
- func (m *TickerHistItem) XXX_DiscardUnknown()
- func (m *TickerHistItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TickerHistItem) XXX_Merge(src proto.Message)
- func (m *TickerHistItem) XXX_Size() int
- func (m *TickerHistItem) XXX_Unmarshal(b []byte) error
- type TickerHistParam
- func (*TickerHistParam) Descriptor() ([]byte, []int)
- func (m *TickerHistParam) GetLimit() uint32
- func (*TickerHistParam) ProtoMessage()
- func (m *TickerHistParam) Reset()
- func (m *TickerHistParam) String() string
- func (m *TickerHistParam) XXX_DiscardUnknown()
- func (m *TickerHistParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TickerHistParam) XXX_Merge(src proto.Message)
- func (m *TickerHistParam) XXX_Size() int
- func (m *TickerHistParam) XXX_Unmarshal(b []byte) error
- type TickerItem
- func (*TickerItem) Descriptor() ([]byte, []int)
- func (m *TickerItem) GetAsk() float32
- func (m *TickerItem) GetBid() float32
- func (m *TickerItem) GetHigh() float32
- func (m *TickerItem) GetLast() float32
- func (m *TickerItem) GetLow() float32
- func (m *TickerItem) GetTimestamp() uint64
- func (m *TickerItem) GetVolume() float32
- func (*TickerItem) ProtoMessage()
- func (m *TickerItem) Reset()
- func (m *TickerItem) String() string
- func (m *TickerItem) XXX_DiscardUnknown()
- func (m *TickerItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TickerItem) XXX_Merge(src proto.Message)
- func (m *TickerItem) XXX_Size() int
- func (m *TickerItem) XXX_Unmarshal(b []byte) error
- type TradeData
- func (*TradeData) Descriptor() ([]byte, []int)
- func (m *TradeData) GetAmount() string
- func (m *TradeData) GetCreatedAt() string
- func (m *TradeData) GetID() uint32
- func (m *TradeData) GetOrderType() string
- func (m *TradeData) GetPair() string
- func (m *TradeData) GetRate() float32
- func (*TradeData) ProtoMessage()
- func (m *TradeData) Reset()
- func (m *TradeData) String() string
- func (m *TradeData) XXX_DiscardUnknown()
- func (m *TradeData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeData) XXX_Merge(src proto.Message)
- func (m *TradeData) XXX_Size() int
- func (m *TradeData) XXX_Unmarshal(b []byte) error
- type TradesItem
- func (*TradesItem) Descriptor() ([]byte, []int)
- func (m *TradesItem) GetData() []*TradeData
- func (m *TradesItem) GetPagination() *Pagenation
- func (m *TradesItem) GetSuccess() bool
- func (*TradesItem) ProtoMessage()
- func (m *TradesItem) Reset()
- func (m *TradesItem) String() string
- func (m *TradesItem) XXX_DiscardUnknown()
- func (m *TradesItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradesItem) XXX_Merge(src proto.Message)
- func (m *TradesItem) XXX_Size() int
- func (m *TradesItem) XXX_Unmarshal(b []byte) error
- type TradesParams
- func (*TradesParams) Descriptor() ([]byte, []int)
- func (m *TradesParams) GetPair() string
- func (*TradesParams) ProtoMessage()
- func (m *TradesParams) Reset()
- func (m *TradesParams) String() string
- func (m *TradesParams) XXX_DiscardUnknown()
- func (m *TradesParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradesParams) XXX_Merge(src proto.Message)
- func (m *TradesParams) XXX_Size() int
- func (m *TradesParams) XXX_Unmarshal(b []byte) error
- type TransactionsItem
- func (*TransactionsItem) Descriptor() ([]byte, []int)
- func (m *TransactionsItem) GetCreatedAt() string
- func (m *TransactionsItem) GetFee() string
- func (m *TransactionsItem) GetFeeCurrency() string
- func (m *TransactionsItem) GetFunds() *Funds
- func (m *TransactionsItem) GetId() uint32
- func (m *TransactionsItem) GetLiquidity() string
- func (m *TransactionsItem) GetOrderId() uint32
- func (m *TransactionsItem) GetPair() string
- func (m *TransactionsItem) GetRate() string
- func (m *TransactionsItem) GetSide() string
- func (*TransactionsItem) ProtoMessage()
- func (m *TransactionsItem) Reset()
- func (m *TransactionsItem) String() string
- func (m *TransactionsItem) XXX_DiscardUnknown()
- func (m *TransactionsItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TransactionsItem) XXX_Merge(src proto.Message)
- func (m *TransactionsItem) XXX_Size() int
- func (m *TransactionsItem) XXX_Unmarshal(b []byte) error
- type UnimplementedCoincheckServer
- func (*UnimplementedCoincheckServer) Accounts(ctx context.Context, req *Empty) (*AccountsItem, error)
- func (*UnimplementedCoincheckServer) AccountsBalance(ctx context.Context, req *Empty) (*AccountsBalanceItem, error)
- func (*UnimplementedCoincheckServer) DeleteExchangeOrder(ctx context.Context, req *DeleteOrderParam) (*DeleteOrderItem, error)
- func (*UnimplementedCoincheckServer) ExchangeOrdersOpens(ctx context.Context, req *Empty) (*OrdersOpensItem, error)
- func (*UnimplementedCoincheckServer) ExchangeOrdersRate(ctx context.Context, req *ExchangeOrdersRateParam) (*ExchangeOrdersRateItem, error)
- func (*UnimplementedCoincheckServer) ExchangeOrdersTransactions(ctx context.Context, req *Empty) (*OrdersTransactionsItem, error)
- func (*UnimplementedCoincheckServer) LimitBuy(ctx context.Context, req *LimitOrderParams) (*MarketItem, error)
- func (*UnimplementedCoincheckServer) LimitSell(ctx context.Context, req *LimitOrderParams) (*MarketItem, error)
- func (*UnimplementedCoincheckServer) MarketBuy(ctx context.Context, req *MarketBuyParams) (*MarketItem, error)
- func (*UnimplementedCoincheckServer) MarketSell(ctx context.Context, req *MarketSellParam) (*MarketItem, error)
- func (*UnimplementedCoincheckServer) OrderBooks(ctx context.Context, req *Empty) (*OrderBooksItem, error)
- func (*UnimplementedCoincheckServer) RatePair(ctx context.Context, req *RatePairParams) (*RatePairItem, error)
- func (*UnimplementedCoincheckServer) Ticker(ctx context.Context, req *Empty) (*TickerItem, error)
- func (*UnimplementedCoincheckServer) TickerHist(ctx context.Context, req *TickerHistParam) (*TickerHistItem, error)
- func (*UnimplementedCoincheckServer) Trades(ctx context.Context, req *TradesParams) (*TradesItem, error)
Constants ¶
const CoincheckURL = "https://coincheck.com"
Variables ¶
This section is empty.
Functions ¶
func RegisterCoincheckServer ¶
func RegisterCoincheckServer(s *grpc.Server, srv CoincheckServer)
Types ¶
type AccountsBalanceItem ¶
type AccountsBalanceItem struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Jpy string `protobuf:"bytes,2,opt,name=jpy,proto3" json:"jpy,omitempty"` Btc string `protobuf:"bytes,3,opt,name=btc,proto3" json:"btc,omitempty"` JpyReserved string `protobuf:"bytes,4,opt,name=jpy_reserved,json=jpyReserved,proto3" json:"jpy_reserved,omitempty"` BtcReserved string `protobuf:"bytes,5,opt,name=btc_reserved,json=btcReserved,proto3" json:"btc_reserved,omitempty"` JpyLendInUse string `protobuf:"bytes,6,opt,name=jpy_lend_in_use,json=jpyLendInUse,proto3" json:"jpy_lend_in_use,omitempty"` BtcLendInUse string `protobuf:"bytes,7,opt,name=btc_lend_in_use,json=btcLendInUse,proto3" json:"btc_lend_in_use,omitempty"` JpyLent string `protobuf:"bytes,8,opt,name=jpy_lent,json=jpyLent,proto3" json:"jpy_lent,omitempty"` BtcLent string `protobuf:"bytes,9,opt,name=btc_lent,json=btcLent,proto3" json:"btc_lent,omitempty"` JpyDebt string `protobuf:"bytes,10,opt,name=jpy_debt,json=jpyDebt,proto3" json:"jpy_debt,omitempty"` BtcDebt string `protobuf:"bytes,11,opt,name=btc_debt,json=btcDebt,proto3" json:"btc_debt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func AccountsBalancecc ¶
func AccountsBalancecc(conf Config) (AccountsBalanceItem, error)
AccountsBalancecc You can check the balance of your account.
func (*AccountsBalanceItem) Descriptor ¶
func (*AccountsBalanceItem) Descriptor() ([]byte, []int)
func (*AccountsBalanceItem) GetBtc ¶
func (m *AccountsBalanceItem) GetBtc() string
func (*AccountsBalanceItem) GetBtcDebt ¶
func (m *AccountsBalanceItem) GetBtcDebt() string
func (*AccountsBalanceItem) GetBtcLendInUse ¶
func (m *AccountsBalanceItem) GetBtcLendInUse() string
func (*AccountsBalanceItem) GetBtcLent ¶
func (m *AccountsBalanceItem) GetBtcLent() string
func (*AccountsBalanceItem) GetBtcReserved ¶
func (m *AccountsBalanceItem) GetBtcReserved() string
func (*AccountsBalanceItem) GetJpy ¶
func (m *AccountsBalanceItem) GetJpy() string
func (*AccountsBalanceItem) GetJpyDebt ¶
func (m *AccountsBalanceItem) GetJpyDebt() string
func (*AccountsBalanceItem) GetJpyLendInUse ¶
func (m *AccountsBalanceItem) GetJpyLendInUse() string
func (*AccountsBalanceItem) GetJpyLent ¶
func (m *AccountsBalanceItem) GetJpyLent() string
func (*AccountsBalanceItem) GetJpyReserved ¶
func (m *AccountsBalanceItem) GetJpyReserved() string
func (*AccountsBalanceItem) GetSuccess ¶
func (m *AccountsBalanceItem) GetSuccess() bool
func (*AccountsBalanceItem) ProtoMessage ¶
func (*AccountsBalanceItem) ProtoMessage()
func (*AccountsBalanceItem) Reset ¶
func (m *AccountsBalanceItem) Reset()
func (*AccountsBalanceItem) String ¶
func (m *AccountsBalanceItem) String() string
func (*AccountsBalanceItem) XXX_DiscardUnknown ¶
func (m *AccountsBalanceItem) XXX_DiscardUnknown()
func (*AccountsBalanceItem) XXX_Marshal ¶
func (m *AccountsBalanceItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountsBalanceItem) XXX_Merge ¶
func (m *AccountsBalanceItem) XXX_Merge(src proto.Message)
func (*AccountsBalanceItem) XXX_Size ¶
func (m *AccountsBalanceItem) XXX_Size() int
func (*AccountsBalanceItem) XXX_Unmarshal ¶
func (m *AccountsBalanceItem) XXX_Unmarshal(b []byte) error
type AccountsItem ¶
type AccountsItem struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` IdentityStatus string `protobuf:"bytes,4,opt,name=identity_status,json=identityStatus,proto3" json:"identity_status,omitempty"` BitcoinAddress string `protobuf:"bytes,5,opt,name=bitcoin_address,json=bitcoinAddress,proto3" json:"bitcoin_address,omitempty"` LendingLeverage uint32 `protobuf:"varint,6,opt,name=lending_leverage,json=lendingLeverage,proto3" json:"lending_leverage,omitempty"` TakerFee string `protobuf:"bytes,7,opt,name=taker_fee,json=takerFee,proto3" json:"taker_fee,omitempty"` MakerFee string `protobuf:"bytes,8,opt,name=maker_fee,json=makerFee,proto3" json:"maker_fee,omitempty"` ExchangeFees *ExchangeFees `protobuf:"bytes,9,opt,name=exchange_fees,json=exchangeFees,proto3" json:"exchange_fees,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func Accountscc ¶
func Accountscc(conf Config) (AccountsItem, error)
Accounts View your account information.
func (*AccountsItem) Descriptor ¶
func (*AccountsItem) Descriptor() ([]byte, []int)
func (*AccountsItem) GetBitcoinAddress ¶
func (m *AccountsItem) GetBitcoinAddress() string
func (*AccountsItem) GetEmail ¶
func (m *AccountsItem) GetEmail() string
func (*AccountsItem) GetExchangeFees ¶
func (m *AccountsItem) GetExchangeFees() *ExchangeFees
func (*AccountsItem) GetId ¶
func (m *AccountsItem) GetId() uint32
func (*AccountsItem) GetIdentityStatus ¶
func (m *AccountsItem) GetIdentityStatus() string
func (*AccountsItem) GetLendingLeverage ¶
func (m *AccountsItem) GetLendingLeverage() uint32
func (*AccountsItem) GetMakerFee ¶
func (m *AccountsItem) GetMakerFee() string
func (*AccountsItem) GetSuccess ¶
func (m *AccountsItem) GetSuccess() bool
func (*AccountsItem) GetTakerFee ¶
func (m *AccountsItem) GetTakerFee() string
func (*AccountsItem) ProtoMessage ¶
func (*AccountsItem) ProtoMessage()
func (*AccountsItem) Reset ¶
func (m *AccountsItem) Reset()
func (*AccountsItem) String ¶
func (m *AccountsItem) String() string
func (*AccountsItem) XXX_DiscardUnknown ¶
func (m *AccountsItem) XXX_DiscardUnknown()
func (*AccountsItem) XXX_Marshal ¶
func (m *AccountsItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccountsItem) XXX_Merge ¶
func (m *AccountsItem) XXX_Merge(src proto.Message)
func (*AccountsItem) XXX_Size ¶
func (m *AccountsItem) XXX_Size() int
func (*AccountsItem) XXX_Unmarshal ¶
func (m *AccountsItem) XXX_Unmarshal(b []byte) error
type AmountPriceType ¶
type AmountPriceType int
const ( Amount AmountPriceType = iota Price )
func (AmountPriceType) String ¶
func (a AmountPriceType) String() string
type CoincheckClient ¶
type CoincheckClient interface { // You can get the latest information easily. Ticker(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TickerItem, error) TickerHist(ctx context.Context, in *TickerHistParam, opts ...grpc.CallOption) (*TickerHistItem, error) // You can get the latest transaction history. Trades(ctx context.Context, in *TradesParams, opts ...grpc.CallOption) (*TradesItem, error) // Board information can be obtained. OrderBooks(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*OrderBooksItem, error) // The rate is calculated based on the exchange's order. ExchangeOrdersRate(ctx context.Context, in *ExchangeOrdersRateParam, opts ...grpc.CallOption) (*ExchangeOrdersRateItem, error) // Get a dealership rate RatePair(ctx context.Context, in *RatePairParams, opts ...grpc.CallOption) (*RatePairItem, error) // Market order Cash transaction Buy MarketBuy(ctx context.Context, in *MarketBuyParams, opts ...grpc.CallOption) (*MarketItem, error) // Market orders, spot trading, selling MarketSell(ctx context.Context, in *MarketSellParam, opts ...grpc.CallOption) (*MarketItem, error) // Limit order, spot trading, buy. LimitBuy(ctx context.Context, in *LimitOrderParams, opts ...grpc.CallOption) (*MarketItem, error) // Limit order, spot trading, sell. LimitSell(ctx context.Context, in *LimitOrderParams, opts ...grpc.CallOption) (*MarketItem, error) // View a list of pending orders in your account. ExchangeOrdersOpens(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*OrdersOpensItem, error) DeleteExchangeOrder(ctx context.Context, in *DeleteOrderParam, opts ...grpc.CallOption) (*DeleteOrderItem, error) // You can see your recent transaction history. ExchangeOrdersTransactions(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*OrdersTransactionsItem, error) // You can check the balance of your account. AccountsBalance(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*AccountsBalanceItem, error) // View your account information. Accounts(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*AccountsItem, error) }
CoincheckClient is the client API for Coincheck service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCoincheckClient ¶
func NewCoincheckClient(cc grpc.ClientConnInterface) CoincheckClient
type CoincheckServer ¶
type CoincheckServer interface { // You can get the latest information easily. Ticker(context.Context, *Empty) (*TickerItem, error) TickerHist(context.Context, *TickerHistParam) (*TickerHistItem, error) // You can get the latest transaction history. Trades(context.Context, *TradesParams) (*TradesItem, error) // Board information can be obtained. OrderBooks(context.Context, *Empty) (*OrderBooksItem, error) // The rate is calculated based on the exchange's order. ExchangeOrdersRate(context.Context, *ExchangeOrdersRateParam) (*ExchangeOrdersRateItem, error) // Get a dealership rate RatePair(context.Context, *RatePairParams) (*RatePairItem, error) // Market order Cash transaction Buy MarketBuy(context.Context, *MarketBuyParams) (*MarketItem, error) // Market orders, spot trading, selling MarketSell(context.Context, *MarketSellParam) (*MarketItem, error) // Limit order, spot trading, buy. LimitBuy(context.Context, *LimitOrderParams) (*MarketItem, error) // Limit order, spot trading, sell. LimitSell(context.Context, *LimitOrderParams) (*MarketItem, error) // View a list of pending orders in your account. ExchangeOrdersOpens(context.Context, *Empty) (*OrdersOpensItem, error) DeleteExchangeOrder(context.Context, *DeleteOrderParam) (*DeleteOrderItem, error) // You can see your recent transaction history. ExchangeOrdersTransactions(context.Context, *Empty) (*OrdersTransactionsItem, error) // You can check the balance of your account. AccountsBalance(context.Context, *Empty) (*AccountsBalanceItem, error) // View your account information. Accounts(context.Context, *Empty) (*AccountsItem, error) }
CoincheckServer is the server API for Coincheck service.
type Config ¶
type Config struct {
Main MainConfig `toml:"main"`
}
type DeleteOrderItem ¶
type DeleteOrderItem struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func DeleteExchangeOrdercc ¶
func DeleteExchangeOrdercc(conf Config, id uint32) (DeleteOrderItem, error)
func (*DeleteOrderItem) Descriptor ¶
func (*DeleteOrderItem) Descriptor() ([]byte, []int)
func (*DeleteOrderItem) GetId ¶
func (m *DeleteOrderItem) GetId() uint32
func (*DeleteOrderItem) GetSuccess ¶
func (m *DeleteOrderItem) GetSuccess() bool
func (*DeleteOrderItem) ProtoMessage ¶
func (*DeleteOrderItem) ProtoMessage()
func (*DeleteOrderItem) Reset ¶
func (m *DeleteOrderItem) Reset()
func (*DeleteOrderItem) String ¶
func (m *DeleteOrderItem) String() string
func (*DeleteOrderItem) XXX_DiscardUnknown ¶
func (m *DeleteOrderItem) XXX_DiscardUnknown()
func (*DeleteOrderItem) XXX_Marshal ¶
func (m *DeleteOrderItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteOrderItem) XXX_Merge ¶
func (m *DeleteOrderItem) XXX_Merge(src proto.Message)
func (*DeleteOrderItem) XXX_Size ¶
func (m *DeleteOrderItem) XXX_Size() int
func (*DeleteOrderItem) XXX_Unmarshal ¶
func (m *DeleteOrderItem) XXX_Unmarshal(b []byte) error
type DeleteOrderParam ¶
type DeleteOrderParam struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteOrderParam) Descriptor ¶
func (*DeleteOrderParam) Descriptor() ([]byte, []int)
func (*DeleteOrderParam) GetId ¶
func (m *DeleteOrderParam) GetId() uint32
func (*DeleteOrderParam) ProtoMessage ¶
func (*DeleteOrderParam) ProtoMessage()
func (*DeleteOrderParam) Reset ¶
func (m *DeleteOrderParam) Reset()
func (*DeleteOrderParam) String ¶
func (m *DeleteOrderParam) String() string
func (*DeleteOrderParam) XXX_DiscardUnknown ¶
func (m *DeleteOrderParam) XXX_DiscardUnknown()
func (*DeleteOrderParam) XXX_Marshal ¶
func (m *DeleteOrderParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteOrderParam) XXX_Merge ¶
func (m *DeleteOrderParam) XXX_Merge(src proto.Message)
func (*DeleteOrderParam) XXX_Size ¶
func (m *DeleteOrderParam) XXX_Size() int
func (*DeleteOrderParam) XXX_Unmarshal ¶
func (m *DeleteOrderParam) XXX_Unmarshal(b []byte) error
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type ExchangeFees ¶
type ExchangeFees struct { BtcJpy *Fees `protobuf:"bytes,1,opt,name=btc_jpy,json=btcJpy,proto3" json:"btc_jpy,omitempty"` FtcJpy *Fees `protobuf:"bytes,2,opt,name=ftc_jpy,json=ftcJpy,proto3" json:"ftc_jpy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExchangeFees) Descriptor ¶
func (*ExchangeFees) Descriptor() ([]byte, []int)
func (*ExchangeFees) GetBtcJpy ¶
func (m *ExchangeFees) GetBtcJpy() *Fees
func (*ExchangeFees) GetFtcJpy ¶
func (m *ExchangeFees) GetFtcJpy() *Fees
func (*ExchangeFees) ProtoMessage ¶
func (*ExchangeFees) ProtoMessage()
func (*ExchangeFees) Reset ¶
func (m *ExchangeFees) Reset()
func (*ExchangeFees) String ¶
func (m *ExchangeFees) String() string
func (*ExchangeFees) XXX_DiscardUnknown ¶
func (m *ExchangeFees) XXX_DiscardUnknown()
func (*ExchangeFees) XXX_Marshal ¶
func (m *ExchangeFees) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExchangeFees) XXX_Merge ¶
func (m *ExchangeFees) XXX_Merge(src proto.Message)
func (*ExchangeFees) XXX_Size ¶
func (m *ExchangeFees) XXX_Size() int
func (*ExchangeFees) XXX_Unmarshal ¶
func (m *ExchangeFees) XXX_Unmarshal(b []byte) error
type ExchangeOrdersRateItem ¶
type ExchangeOrdersRateItem struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Rate string `protobuf:"bytes,2,opt,name=rate,proto3" json:"rate,omitempty"` Price string `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"` Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func ExchangeOrdersRatecc ¶
func ExchangeOrdersRatecc(conf Config, order OrderType, pair Pair, amountprice AmountPriceType, value string) (ExchangeOrdersRateItem, error)
ExchangeOrdersRatecc The rate is calculated based on the exchange's order.
func (*ExchangeOrdersRateItem) Descriptor ¶
func (*ExchangeOrdersRateItem) Descriptor() ([]byte, []int)
func (*ExchangeOrdersRateItem) GetAmount ¶
func (m *ExchangeOrdersRateItem) GetAmount() string
func (*ExchangeOrdersRateItem) GetPrice ¶
func (m *ExchangeOrdersRateItem) GetPrice() string
func (*ExchangeOrdersRateItem) GetRate ¶
func (m *ExchangeOrdersRateItem) GetRate() string
func (*ExchangeOrdersRateItem) GetSuccess ¶
func (m *ExchangeOrdersRateItem) GetSuccess() bool
func (*ExchangeOrdersRateItem) ProtoMessage ¶
func (*ExchangeOrdersRateItem) ProtoMessage()
func (*ExchangeOrdersRateItem) Reset ¶
func (m *ExchangeOrdersRateItem) Reset()
func (*ExchangeOrdersRateItem) String ¶
func (m *ExchangeOrdersRateItem) String() string
func (*ExchangeOrdersRateItem) XXX_DiscardUnknown ¶
func (m *ExchangeOrdersRateItem) XXX_DiscardUnknown()
func (*ExchangeOrdersRateItem) XXX_Marshal ¶
func (m *ExchangeOrdersRateItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExchangeOrdersRateItem) XXX_Merge ¶
func (m *ExchangeOrdersRateItem) XXX_Merge(src proto.Message)
func (*ExchangeOrdersRateItem) XXX_Size ¶
func (m *ExchangeOrdersRateItem) XXX_Size() int
func (*ExchangeOrdersRateItem) XXX_Unmarshal ¶
func (m *ExchangeOrdersRateItem) XXX_Unmarshal(b []byte) error
type ExchangeOrdersRateParam ¶
type ExchangeOrdersRateParam struct { OrderType string `protobuf:"bytes,1,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` Pair string `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"` Amountprice string `protobuf:"bytes,3,opt,name=amountprice,proto3" json:"amountprice,omitempty"` Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExchangeOrdersRateParam) Descriptor ¶
func (*ExchangeOrdersRateParam) Descriptor() ([]byte, []int)
func (*ExchangeOrdersRateParam) GetAmountprice ¶
func (m *ExchangeOrdersRateParam) GetAmountprice() string
func (*ExchangeOrdersRateParam) GetOrderType ¶
func (m *ExchangeOrdersRateParam) GetOrderType() string
func (*ExchangeOrdersRateParam) GetPair ¶
func (m *ExchangeOrdersRateParam) GetPair() string
func (*ExchangeOrdersRateParam) GetValue ¶
func (m *ExchangeOrdersRateParam) GetValue() string
func (*ExchangeOrdersRateParam) ProtoMessage ¶
func (*ExchangeOrdersRateParam) ProtoMessage()
func (*ExchangeOrdersRateParam) Reset ¶
func (m *ExchangeOrdersRateParam) Reset()
func (*ExchangeOrdersRateParam) String ¶
func (m *ExchangeOrdersRateParam) String() string
func (*ExchangeOrdersRateParam) XXX_DiscardUnknown ¶
func (m *ExchangeOrdersRateParam) XXX_DiscardUnknown()
func (*ExchangeOrdersRateParam) XXX_Marshal ¶
func (m *ExchangeOrdersRateParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExchangeOrdersRateParam) XXX_Merge ¶
func (m *ExchangeOrdersRateParam) XXX_Merge(src proto.Message)
func (*ExchangeOrdersRateParam) XXX_Size ¶
func (m *ExchangeOrdersRateParam) XXX_Size() int
func (*ExchangeOrdersRateParam) XXX_Unmarshal ¶
func (m *ExchangeOrdersRateParam) XXX_Unmarshal(b []byte) error
type Fees ¶
type Fees struct { TakerFee string `protobuf:"bytes,1,opt,name=taker_fee,json=takerFee,proto3" json:"taker_fee,omitempty"` MakerFee string `protobuf:"bytes,2,opt,name=maker_fee,json=makerFee,proto3" json:"maker_fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Fees) Descriptor ¶
func (*Fees) GetMakerFee ¶
func (*Fees) GetTakerFee ¶
func (*Fees) ProtoMessage ¶
func (*Fees) ProtoMessage()
func (*Fees) XXX_DiscardUnknown ¶
func (m *Fees) XXX_DiscardUnknown()
func (*Fees) XXX_Unmarshal ¶
type Funds ¶
type Funds struct { Btc string `protobuf:"bytes,1,opt,name=btc,proto3" json:"btc,omitempty"` Jpy string `protobuf:"bytes,2,opt,name=jpy,proto3" json:"jpy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Funds) Descriptor ¶
func (*Funds) ProtoMessage ¶
func (*Funds) ProtoMessage()
func (*Funds) XXX_DiscardUnknown ¶
func (m *Funds) XXX_DiscardUnknown()
func (*Funds) XXX_Marshal ¶
func (*Funds) XXX_Unmarshal ¶
type LimitOrderParams ¶
type LimitOrderParams struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Pair string `protobuf:"bytes,2,opt,name=pair,proto3" json:"pair,omitempty"` Rate string `protobuf:"bytes,3,opt,name=rate,proto3" json:"rate,omitempty"` Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` StopLossRate string `protobuf:"bytes,5,opt,name=stop_loss_rate,json=stopLossRate,proto3" json:"stop_loss_rate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LimitOrderParams) Descriptor ¶
func (*LimitOrderParams) Descriptor() ([]byte, []int)
func (*LimitOrderParams) GetAmount ¶
func (m *LimitOrderParams) GetAmount() string
func (*LimitOrderParams) GetId ¶
func (m *LimitOrderParams) GetId() int64
func (*LimitOrderParams) GetPair ¶
func (m *LimitOrderParams) GetPair() string
func (*LimitOrderParams) GetRate ¶
func (m *LimitOrderParams) GetRate() string
func (*LimitOrderParams) GetStopLossRate ¶
func (m *LimitOrderParams) GetStopLossRate() string
func (*LimitOrderParams) ProtoMessage ¶
func (*LimitOrderParams) ProtoMessage()
func (*LimitOrderParams) Reset ¶
func (m *LimitOrderParams) Reset()
func (*LimitOrderParams) String ¶
func (m *LimitOrderParams) String() string
func (*LimitOrderParams) XXX_DiscardUnknown ¶
func (m *LimitOrderParams) XXX_DiscardUnknown()
func (*LimitOrderParams) XXX_Marshal ¶
func (m *LimitOrderParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LimitOrderParams) XXX_Merge ¶
func (m *LimitOrderParams) XXX_Merge(src proto.Message)
func (*LimitOrderParams) XXX_Size ¶
func (m *LimitOrderParams) XXX_Size() int
func (*LimitOrderParams) XXX_Unmarshal ¶
func (m *LimitOrderParams) XXX_Unmarshal(b []byte) error
type LimitOrderPayload ¶
type MainConfig ¶
type MarketBuyParams ¶
type MarketBuyParams struct { Pair string `protobuf:"bytes,1,opt,name=pair,proto3" json:"pair,omitempty"` MarketBuyAmount uint32 `protobuf:"varint,2,opt,name=market_buy_amount,json=marketBuyAmount,proto3" json:"market_buy_amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MarketBuyParams) Descriptor ¶
func (*MarketBuyParams) Descriptor() ([]byte, []int)
func (*MarketBuyParams) GetMarketBuyAmount ¶
func (m *MarketBuyParams) GetMarketBuyAmount() uint32
func (*MarketBuyParams) GetPair ¶
func (m *MarketBuyParams) GetPair() string
func (*MarketBuyParams) ProtoMessage ¶
func (*MarketBuyParams) ProtoMessage()
func (*MarketBuyParams) Reset ¶
func (m *MarketBuyParams) Reset()
func (*MarketBuyParams) String ¶
func (m *MarketBuyParams) String() string
func (*MarketBuyParams) XXX_DiscardUnknown ¶
func (m *MarketBuyParams) XXX_DiscardUnknown()
func (*MarketBuyParams) XXX_Marshal ¶
func (m *MarketBuyParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketBuyParams) XXX_Merge ¶
func (m *MarketBuyParams) XXX_Merge(src proto.Message)
func (*MarketBuyParams) XXX_Size ¶
func (m *MarketBuyParams) XXX_Size() int
func (*MarketBuyParams) XXX_Unmarshal ¶
func (m *MarketBuyParams) XXX_Unmarshal(b []byte) error
type MarketBuyPayload ¶
type MarketItem ¶
type MarketItem struct { Success string `protobuf:"bytes,1,opt,name=success,proto3" json:"success,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Rate string `protobuf:"bytes,3,opt,name=rate,proto3" json:"rate,omitempty"` Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` OrderType string `protobuf:"bytes,5,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` StopLossRate string `protobuf:"bytes,6,opt,name=stop_loss_rate,json=stopLossRate,proto3" json:"stop_loss_rate,omitempty"` Pair string `protobuf:"bytes,7,opt,name=pair,proto3" json:"pair,omitempty"` CreatedAt string `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func LimitOrdercc ¶
func LimitOrdercc(conf Config, pair Pair, ordertype OrderType, rate, amount, stoplossrate string) (MarketItem, error)
LimitOrdercc Limit order, spot trading, buy.
func MarketBuycc ¶
func MarketBuycc(conf Config, pair Pair, amount uint32) (MarketItem, error)
MarketBuycc Market order Cash transaction Buy
func MarketSellcc ¶
func MarketSellcc(conf Config, pair Pair, amount uint32) (MarketItem, error)
MarketSellcc Market orders, spot trading, selling
func (*MarketItem) Descriptor ¶
func (*MarketItem) Descriptor() ([]byte, []int)
func (*MarketItem) GetAmount ¶
func (m *MarketItem) GetAmount() string
func (*MarketItem) GetCreatedAt ¶
func (m *MarketItem) GetCreatedAt() string
func (*MarketItem) GetId ¶
func (m *MarketItem) GetId() uint64
func (*MarketItem) GetOrderType ¶
func (m *MarketItem) GetOrderType() string
func (*MarketItem) GetPair ¶
func (m *MarketItem) GetPair() string
func (*MarketItem) GetRate ¶
func (m *MarketItem) GetRate() string
func (*MarketItem) GetStopLossRate ¶
func (m *MarketItem) GetStopLossRate() string
func (*MarketItem) GetSuccess ¶
func (m *MarketItem) GetSuccess() string
func (*MarketItem) ProtoMessage ¶
func (*MarketItem) ProtoMessage()
func (*MarketItem) Reset ¶
func (m *MarketItem) Reset()
func (*MarketItem) String ¶
func (m *MarketItem) String() string
func (*MarketItem) XXX_DiscardUnknown ¶
func (m *MarketItem) XXX_DiscardUnknown()
func (*MarketItem) XXX_Marshal ¶
func (m *MarketItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketItem) XXX_Merge ¶
func (m *MarketItem) XXX_Merge(src proto.Message)
func (*MarketItem) XXX_Size ¶
func (m *MarketItem) XXX_Size() int
func (*MarketItem) XXX_Unmarshal ¶
func (m *MarketItem) XXX_Unmarshal(b []byte) error
type MarketSellParam ¶
type MarketSellParam struct { Pair string `protobuf:"bytes,1,opt,name=pair,proto3" json:"pair,omitempty"` Amount uint32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MarketSellParam) Descriptor ¶
func (*MarketSellParam) Descriptor() ([]byte, []int)
func (*MarketSellParam) GetAmount ¶
func (m *MarketSellParam) GetAmount() uint32
func (*MarketSellParam) GetPair ¶
func (m *MarketSellParam) GetPair() string
func (*MarketSellParam) ProtoMessage ¶
func (*MarketSellParam) ProtoMessage()
func (*MarketSellParam) Reset ¶
func (m *MarketSellParam) Reset()
func (*MarketSellParam) String ¶
func (m *MarketSellParam) String() string
func (*MarketSellParam) XXX_DiscardUnknown ¶
func (m *MarketSellParam) XXX_DiscardUnknown()
func (*MarketSellParam) XXX_Marshal ¶
func (m *MarketSellParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MarketSellParam) XXX_Merge ¶
func (m *MarketSellParam) XXX_Merge(src proto.Message)
func (*MarketSellParam) XXX_Size ¶
func (m *MarketSellParam) XXX_Size() int
func (*MarketSellParam) XXX_Unmarshal ¶
func (m *MarketSellParam) XXX_Unmarshal(b []byte) error
type MarketSellPayload ¶
type OpenItem ¶
type OpenItem struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` OrderType string `protobuf:"bytes,2,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"` Rate uint32 `protobuf:"varint,3,opt,name=rate,proto3" json:"rate,omitempty"` PendingAmount string `protobuf:"bytes,4,opt,name=pending_amount,json=pendingAmount,proto3" json:"pending_amount,omitempty"` PendingMarketBuyAmount string `` /* 131-byte string literal not displayed */ StopLossRate string `protobuf:"bytes,6,opt,name=stop_loss_rate,json=stopLossRate,proto3" json:"stop_loss_rate,omitempty"` CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OpenItem) Descriptor ¶
func (*OpenItem) GetCreatedAt ¶
func (*OpenItem) GetOrderType ¶
func (*OpenItem) GetPendingAmount ¶
func (*OpenItem) GetPendingMarketBuyAmount ¶
func (*OpenItem) GetStopLossRate ¶
func (*OpenItem) ProtoMessage ¶
func (*OpenItem) ProtoMessage()
func (*OpenItem) XXX_DiscardUnknown ¶
func (m *OpenItem) XXX_DiscardUnknown()
func (*OpenItem) XXX_Marshal ¶
func (*OpenItem) XXX_Unmarshal ¶
type OrderArray ¶
type OrderArray struct { Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OrderArray) Descriptor ¶
func (*OrderArray) Descriptor() ([]byte, []int)
func (*OrderArray) GetItems ¶
func (m *OrderArray) GetItems() []string
func (*OrderArray) ProtoMessage ¶
func (*OrderArray) ProtoMessage()
func (*OrderArray) Reset ¶
func (m *OrderArray) Reset()
func (*OrderArray) String ¶
func (m *OrderArray) String() string
func (*OrderArray) XXX_DiscardUnknown ¶
func (m *OrderArray) XXX_DiscardUnknown()
func (*OrderArray) XXX_Marshal ¶
func (m *OrderArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderArray) XXX_Merge ¶
func (m *OrderArray) XXX_Merge(src proto.Message)
func (*OrderArray) XXX_Size ¶
func (m *OrderArray) XXX_Size() int
func (*OrderArray) XXX_Unmarshal ¶
func (m *OrderArray) XXX_Unmarshal(b []byte) error
type OrderBooksItem ¶
type OrderBooksItem struct { Asks []*OrderArray `protobuf:"bytes,1,rep,name=asks,proto3" json:"asks,omitempty"` Bids []*OrderArray `protobuf:"bytes,2,rep,name=bids,proto3" json:"bids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func OrderBookscc ¶
func OrderBookscc(conf Config) (OrderBooksItem, error)
OrderBookscc Board information can be obtained.
func (*OrderBooksItem) Descriptor ¶
func (*OrderBooksItem) Descriptor() ([]byte, []int)
func (*OrderBooksItem) GetAsks ¶
func (m *OrderBooksItem) GetAsks() []*OrderArray
func (*OrderBooksItem) GetBids ¶
func (m *OrderBooksItem) GetBids() []*OrderArray
func (*OrderBooksItem) ProtoMessage ¶
func (*OrderBooksItem) ProtoMessage()
func (*OrderBooksItem) Reset ¶
func (m *OrderBooksItem) Reset()
func (*OrderBooksItem) String ¶
func (m *OrderBooksItem) String() string
func (*OrderBooksItem) XXX_DiscardUnknown ¶
func (m *OrderBooksItem) XXX_DiscardUnknown()
func (*OrderBooksItem) XXX_Marshal ¶
func (m *OrderBooksItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderBooksItem) XXX_Merge ¶
func (m *OrderBooksItem) XXX_Merge(src proto.Message)
func (*OrderBooksItem) XXX_Size ¶
func (m *OrderBooksItem) XXX_Size() int
func (*OrderBooksItem) XXX_Unmarshal ¶
func (m *OrderBooksItem) XXX_Unmarshal(b []byte) error
type OrdersOpensItem ¶
type OrdersOpensItem struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Orders []*OpenItem `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func ExchangeOrdersOpenscc ¶
func ExchangeOrdersOpenscc(conf Config) (OrdersOpensItem, error)
ExchangeOrdersOpenscc View a list of pending orders in your account.
func (*OrdersOpensItem) Descriptor ¶
func (*OrdersOpensItem) Descriptor() ([]byte, []int)
func (*OrdersOpensItem) GetOrders ¶
func (m *OrdersOpensItem) GetOrders() []*OpenItem
func (*OrdersOpensItem) GetSuccess ¶
func (m *OrdersOpensItem) GetSuccess() bool
func (*OrdersOpensItem) ProtoMessage ¶
func (*OrdersOpensItem) ProtoMessage()
func (*OrdersOpensItem) Reset ¶
func (m *OrdersOpensItem) Reset()
func (*OrdersOpensItem) String ¶
func (m *OrdersOpensItem) String() string
func (*OrdersOpensItem) XXX_DiscardUnknown ¶
func (m *OrdersOpensItem) XXX_DiscardUnknown()
func (*OrdersOpensItem) XXX_Marshal ¶
func (m *OrdersOpensItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrdersOpensItem) XXX_Merge ¶
func (m *OrdersOpensItem) XXX_Merge(src proto.Message)
func (*OrdersOpensItem) XXX_Size ¶
func (m *OrdersOpensItem) XXX_Size() int
func (*OrdersOpensItem) XXX_Unmarshal ¶
func (m *OrdersOpensItem) XXX_Unmarshal(b []byte) error
type OrdersTransactionsItem ¶
type OrdersTransactionsItem struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Transactions []*TransactionsItem `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func ExchangeOrdersTransactionscc ¶
func ExchangeOrdersTransactionscc(conf Config) (OrdersTransactionsItem, error)
ExchangeOrdersTransactionscc You can see your recent transaction history.
func (*OrdersTransactionsItem) Descriptor ¶
func (*OrdersTransactionsItem) Descriptor() ([]byte, []int)
func (*OrdersTransactionsItem) GetSuccess ¶
func (m *OrdersTransactionsItem) GetSuccess() bool
func (*OrdersTransactionsItem) GetTransactions ¶
func (m *OrdersTransactionsItem) GetTransactions() []*TransactionsItem
func (*OrdersTransactionsItem) ProtoMessage ¶
func (*OrdersTransactionsItem) ProtoMessage()
func (*OrdersTransactionsItem) Reset ¶
func (m *OrdersTransactionsItem) Reset()
func (*OrdersTransactionsItem) String ¶
func (m *OrdersTransactionsItem) String() string
func (*OrdersTransactionsItem) XXX_DiscardUnknown ¶
func (m *OrdersTransactionsItem) XXX_DiscardUnknown()
func (*OrdersTransactionsItem) XXX_Marshal ¶
func (m *OrdersTransactionsItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrdersTransactionsItem) XXX_Merge ¶
func (m *OrdersTransactionsItem) XXX_Merge(src proto.Message)
func (*OrdersTransactionsItem) XXX_Size ¶
func (m *OrdersTransactionsItem) XXX_Size() int
func (*OrdersTransactionsItem) XXX_Unmarshal ¶
func (m *OrdersTransactionsItem) XXX_Unmarshal(b []byte) error
type Pagenation ¶
type Pagenation struct { Limit uint32 `protobuf:"varint,1,opt,name=Limit,json=limit,proto3" json:"Limit,omitempty"` Order string `protobuf:"bytes,2,opt,name=Order,json=order,proto3" json:"Order,omitempty"` StartingAfter string `protobuf:"bytes,3,opt,name=StartingAfter,json=startingAfter,proto3" json:"StartingAfter,omitempty"` EndingBefore string `protobuf:"bytes,4,opt,name=EndingBefore,json=endingBefore,proto3" json:"EndingBefore,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Pagenation) Descriptor ¶
func (*Pagenation) Descriptor() ([]byte, []int)
func (*Pagenation) GetEndingBefore ¶
func (m *Pagenation) GetEndingBefore() string
func (*Pagenation) GetLimit ¶
func (m *Pagenation) GetLimit() uint32
func (*Pagenation) GetOrder ¶
func (m *Pagenation) GetOrder() string
func (*Pagenation) GetStartingAfter ¶
func (m *Pagenation) GetStartingAfter() string
func (*Pagenation) ProtoMessage ¶
func (*Pagenation) ProtoMessage()
func (*Pagenation) Reset ¶
func (m *Pagenation) Reset()
func (*Pagenation) String ¶
func (m *Pagenation) String() string
func (*Pagenation) XXX_DiscardUnknown ¶
func (m *Pagenation) XXX_DiscardUnknown()
func (*Pagenation) XXX_Marshal ¶
func (m *Pagenation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Pagenation) XXX_Merge ¶
func (m *Pagenation) XXX_Merge(src proto.Message)
func (*Pagenation) XXX_Size ¶
func (m *Pagenation) XXX_Size() int
func (*Pagenation) XXX_Unmarshal ¶
func (m *Pagenation) XXX_Unmarshal(b []byte) error
type RatePairItem ¶
type RatePairItem struct { Rate string `protobuf:"bytes,1,opt,name=rate,proto3" json:"rate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func RatePaircc ¶
func RatePaircc(conf Config, pair Pair) (RatePairItem, error)
RatePaircc Get a dealership rate
func (*RatePairItem) Descriptor ¶
func (*RatePairItem) Descriptor() ([]byte, []int)
func (*RatePairItem) GetRate ¶
func (m *RatePairItem) GetRate() string
func (*RatePairItem) ProtoMessage ¶
func (*RatePairItem) ProtoMessage()
func (*RatePairItem) Reset ¶
func (m *RatePairItem) Reset()
func (*RatePairItem) String ¶
func (m *RatePairItem) String() string
func (*RatePairItem) XXX_DiscardUnknown ¶
func (m *RatePairItem) XXX_DiscardUnknown()
func (*RatePairItem) XXX_Marshal ¶
func (m *RatePairItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RatePairItem) XXX_Merge ¶
func (m *RatePairItem) XXX_Merge(src proto.Message)
func (*RatePairItem) XXX_Size ¶
func (m *RatePairItem) XXX_Size() int
func (*RatePairItem) XXX_Unmarshal ¶
func (m *RatePairItem) XXX_Unmarshal(b []byte) error
type RatePairParams ¶
type RatePairParams struct { Pair string `protobuf:"bytes,1,opt,name=pair,proto3" json:"pair,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RatePairParams) Descriptor ¶
func (*RatePairParams) Descriptor() ([]byte, []int)
func (*RatePairParams) GetPair ¶
func (m *RatePairParams) GetPair() string
func (*RatePairParams) ProtoMessage ¶
func (*RatePairParams) ProtoMessage()
func (*RatePairParams) Reset ¶
func (m *RatePairParams) Reset()
func (*RatePairParams) String ¶
func (m *RatePairParams) String() string
func (*RatePairParams) XXX_DiscardUnknown ¶
func (m *RatePairParams) XXX_DiscardUnknown()
func (*RatePairParams) XXX_Marshal ¶
func (m *RatePairParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RatePairParams) XXX_Merge ¶
func (m *RatePairParams) XXX_Merge(src proto.Message)
func (*RatePairParams) XXX_Size ¶
func (m *RatePairParams) XXX_Size() int
func (*RatePairParams) XXX_Unmarshal ¶
func (m *RatePairParams) XXX_Unmarshal(b []byte) error
type TickerHistItem ¶
type TickerHistItem struct { Tickeritem []*TickerItem `protobuf:"bytes,1,rep,name=tickeritem,proto3" json:"tickeritem,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TickerHistItem) Descriptor ¶
func (*TickerHistItem) Descriptor() ([]byte, []int)
func (*TickerHistItem) GetTickeritem ¶
func (m *TickerHistItem) GetTickeritem() []*TickerItem
func (*TickerHistItem) ProtoMessage ¶
func (*TickerHistItem) ProtoMessage()
func (*TickerHistItem) Reset ¶
func (m *TickerHistItem) Reset()
func (*TickerHistItem) String ¶
func (m *TickerHistItem) String() string
func (*TickerHistItem) XXX_DiscardUnknown ¶
func (m *TickerHistItem) XXX_DiscardUnknown()
func (*TickerHistItem) XXX_Marshal ¶
func (m *TickerHistItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TickerHistItem) XXX_Merge ¶
func (m *TickerHistItem) XXX_Merge(src proto.Message)
func (*TickerHistItem) XXX_Size ¶
func (m *TickerHistItem) XXX_Size() int
func (*TickerHistItem) XXX_Unmarshal ¶
func (m *TickerHistItem) XXX_Unmarshal(b []byte) error
type TickerHistParam ¶
type TickerHistParam struct { Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TickerHistParam) Descriptor ¶
func (*TickerHistParam) Descriptor() ([]byte, []int)
func (*TickerHistParam) GetLimit ¶
func (m *TickerHistParam) GetLimit() uint32
func (*TickerHistParam) ProtoMessage ¶
func (*TickerHistParam) ProtoMessage()
func (*TickerHistParam) Reset ¶
func (m *TickerHistParam) Reset()
func (*TickerHistParam) String ¶
func (m *TickerHistParam) String() string
func (*TickerHistParam) XXX_DiscardUnknown ¶
func (m *TickerHistParam) XXX_DiscardUnknown()
func (*TickerHistParam) XXX_Marshal ¶
func (m *TickerHistParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TickerHistParam) XXX_Merge ¶
func (m *TickerHistParam) XXX_Merge(src proto.Message)
func (*TickerHistParam) XXX_Size ¶
func (m *TickerHistParam) XXX_Size() int
func (*TickerHistParam) XXX_Unmarshal ¶
func (m *TickerHistParam) XXX_Unmarshal(b []byte) error
type TickerItem ¶
type TickerItem struct { Last float32 `protobuf:"fixed32,1,opt,name=Last,json=last,proto3" json:"Last,omitempty"` Bid float32 `protobuf:"fixed32,2,opt,name=Bid,json=bid,proto3" json:"Bid,omitempty"` Ask float32 `protobuf:"fixed32,3,opt,name=Ask,json=ask,proto3" json:"Ask,omitempty"` High float32 `protobuf:"fixed32,4,opt,name=High,json=high,proto3" json:"High,omitempty"` Low float32 `protobuf:"fixed32,5,opt,name=Low,json=low,proto3" json:"Low,omitempty"` Volume float32 `protobuf:"fixed32,6,opt,name=Volume,json=volume,proto3" json:"Volume,omitempty"` Timestamp uint64 `protobuf:"varint,7,opt,name=Timestamp,json=timestamp,proto3" json:"Timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func Tickercc ¶
func Tickercc(conf Config) (TickerItem, error)
Tickercc You can get the latest information easily.
func (*TickerItem) Descriptor ¶
func (*TickerItem) Descriptor() ([]byte, []int)
func (*TickerItem) GetAsk ¶
func (m *TickerItem) GetAsk() float32
func (*TickerItem) GetBid ¶
func (m *TickerItem) GetBid() float32
func (*TickerItem) GetHigh ¶
func (m *TickerItem) GetHigh() float32
func (*TickerItem) GetLast ¶
func (m *TickerItem) GetLast() float32
func (*TickerItem) GetLow ¶
func (m *TickerItem) GetLow() float32
func (*TickerItem) GetTimestamp ¶
func (m *TickerItem) GetTimestamp() uint64
func (*TickerItem) GetVolume ¶
func (m *TickerItem) GetVolume() float32
func (*TickerItem) ProtoMessage ¶
func (*TickerItem) ProtoMessage()
func (*TickerItem) Reset ¶
func (m *TickerItem) Reset()
func (*TickerItem) String ¶
func (m *TickerItem) String() string
func (*TickerItem) XXX_DiscardUnknown ¶
func (m *TickerItem) XXX_DiscardUnknown()
func (*TickerItem) XXX_Marshal ¶
func (m *TickerItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TickerItem) XXX_Merge ¶
func (m *TickerItem) XXX_Merge(src proto.Message)
func (*TickerItem) XXX_Size ¶
func (m *TickerItem) XXX_Size() int
func (*TickerItem) XXX_Unmarshal ¶
func (m *TickerItem) XXX_Unmarshal(b []byte) error
type TradeData ¶
type TradeData struct { ID uint32 `protobuf:"varint,1,opt,name=ID,json=iD,proto3" json:"ID,omitempty"` Amount string `protobuf:"bytes,2,opt,name=Amount,json=amount,proto3" json:"Amount,omitempty"` Rate float32 `protobuf:"fixed32,3,opt,name=Rate,json=rate,proto3" json:"Rate,omitempty"` Pair string `protobuf:"bytes,4,opt,name=Pair,json=pair,proto3" json:"Pair,omitempty"` OrderType string `protobuf:"bytes,5,opt,name=OrderType,json=orderType,proto3" json:"OrderType,omitempty"` CreatedAt string `protobuf:"bytes,6,opt,name=CreatedAt,json=createdAt,proto3" json:"CreatedAt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TradeData) Descriptor ¶
func (*TradeData) GetCreatedAt ¶
func (*TradeData) GetOrderType ¶
func (*TradeData) ProtoMessage ¶
func (*TradeData) ProtoMessage()
func (*TradeData) XXX_DiscardUnknown ¶
func (m *TradeData) XXX_DiscardUnknown()
func (*TradeData) XXX_Marshal ¶
func (*TradeData) XXX_Unmarshal ¶
type TradesItem ¶
type TradesItem struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Pagination *Pagenation `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` Data []*TradeData `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func Tradescc ¶
func Tradescc(conf Config, pair Pair) (TradesItem, error)
Tradescc You can get the latest transaction history.
func (*TradesItem) Descriptor ¶
func (*TradesItem) Descriptor() ([]byte, []int)
func (*TradesItem) GetData ¶
func (m *TradesItem) GetData() []*TradeData
func (*TradesItem) GetPagination ¶
func (m *TradesItem) GetPagination() *Pagenation
func (*TradesItem) GetSuccess ¶
func (m *TradesItem) GetSuccess() bool
func (*TradesItem) ProtoMessage ¶
func (*TradesItem) ProtoMessage()
func (*TradesItem) Reset ¶
func (m *TradesItem) Reset()
func (*TradesItem) String ¶
func (m *TradesItem) String() string
func (*TradesItem) XXX_DiscardUnknown ¶
func (m *TradesItem) XXX_DiscardUnknown()
func (*TradesItem) XXX_Marshal ¶
func (m *TradesItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradesItem) XXX_Merge ¶
func (m *TradesItem) XXX_Merge(src proto.Message)
func (*TradesItem) XXX_Size ¶
func (m *TradesItem) XXX_Size() int
func (*TradesItem) XXX_Unmarshal ¶
func (m *TradesItem) XXX_Unmarshal(b []byte) error
type TradesParams ¶
type TradesParams struct { Pair string `protobuf:"bytes,1,opt,name=Pair,json=pair,proto3" json:"Pair,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TradesParams) Descriptor ¶
func (*TradesParams) Descriptor() ([]byte, []int)
func (*TradesParams) GetPair ¶
func (m *TradesParams) GetPair() string
func (*TradesParams) ProtoMessage ¶
func (*TradesParams) ProtoMessage()
func (*TradesParams) Reset ¶
func (m *TradesParams) Reset()
func (*TradesParams) String ¶
func (m *TradesParams) String() string
func (*TradesParams) XXX_DiscardUnknown ¶
func (m *TradesParams) XXX_DiscardUnknown()
func (*TradesParams) XXX_Marshal ¶
func (m *TradesParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TradesParams) XXX_Merge ¶
func (m *TradesParams) XXX_Merge(src proto.Message)
func (*TradesParams) XXX_Size ¶
func (m *TradesParams) XXX_Size() int
func (*TradesParams) XXX_Unmarshal ¶
func (m *TradesParams) XXX_Unmarshal(b []byte) error
type TransactionsItem ¶
type TransactionsItem struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` OrderId uint32 `protobuf:"varint,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` CreatedAt string `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Funds *Funds `protobuf:"bytes,4,opt,name=funds,proto3" json:"funds,omitempty"` Pair string `protobuf:"bytes,5,opt,name=pair,proto3" json:"pair,omitempty"` Rate string `protobuf:"bytes,6,opt,name=rate,proto3" json:"rate,omitempty"` FeeCurrency string `protobuf:"bytes,7,opt,name=fee_currency,json=feeCurrency,proto3" json:"fee_currency,omitempty"` Fee string `protobuf:"bytes,8,opt,name=fee,proto3" json:"fee,omitempty"` Liquidity string `protobuf:"bytes,9,opt,name=liquidity,proto3" json:"liquidity,omitempty"` Side string `protobuf:"bytes,10,opt,name=side,proto3" json:"side,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TransactionsItem) Descriptor ¶
func (*TransactionsItem) Descriptor() ([]byte, []int)
func (*TransactionsItem) GetCreatedAt ¶
func (m *TransactionsItem) GetCreatedAt() string
func (*TransactionsItem) GetFee ¶
func (m *TransactionsItem) GetFee() string
func (*TransactionsItem) GetFeeCurrency ¶
func (m *TransactionsItem) GetFeeCurrency() string
func (*TransactionsItem) GetFunds ¶
func (m *TransactionsItem) GetFunds() *Funds
func (*TransactionsItem) GetId ¶
func (m *TransactionsItem) GetId() uint32
func (*TransactionsItem) GetLiquidity ¶
func (m *TransactionsItem) GetLiquidity() string
func (*TransactionsItem) GetOrderId ¶
func (m *TransactionsItem) GetOrderId() uint32
func (*TransactionsItem) GetPair ¶
func (m *TransactionsItem) GetPair() string
func (*TransactionsItem) GetRate ¶
func (m *TransactionsItem) GetRate() string
func (*TransactionsItem) GetSide ¶
func (m *TransactionsItem) GetSide() string
func (*TransactionsItem) ProtoMessage ¶
func (*TransactionsItem) ProtoMessage()
func (*TransactionsItem) Reset ¶
func (m *TransactionsItem) Reset()
func (*TransactionsItem) String ¶
func (m *TransactionsItem) String() string
func (*TransactionsItem) XXX_DiscardUnknown ¶
func (m *TransactionsItem) XXX_DiscardUnknown()
func (*TransactionsItem) XXX_Marshal ¶
func (m *TransactionsItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TransactionsItem) XXX_Merge ¶
func (m *TransactionsItem) XXX_Merge(src proto.Message)
func (*TransactionsItem) XXX_Size ¶
func (m *TransactionsItem) XXX_Size() int
func (*TransactionsItem) XXX_Unmarshal ¶
func (m *TransactionsItem) XXX_Unmarshal(b []byte) error
type UnimplementedCoincheckServer ¶
type UnimplementedCoincheckServer struct { }
UnimplementedCoincheckServer can be embedded to have forward compatible implementations.
func (*UnimplementedCoincheckServer) Accounts ¶
func (*UnimplementedCoincheckServer) Accounts(ctx context.Context, req *Empty) (*AccountsItem, error)
func (*UnimplementedCoincheckServer) AccountsBalance ¶
func (*UnimplementedCoincheckServer) AccountsBalance(ctx context.Context, req *Empty) (*AccountsBalanceItem, error)
func (*UnimplementedCoincheckServer) DeleteExchangeOrder ¶
func (*UnimplementedCoincheckServer) DeleteExchangeOrder(ctx context.Context, req *DeleteOrderParam) (*DeleteOrderItem, error)
func (*UnimplementedCoincheckServer) ExchangeOrdersOpens ¶
func (*UnimplementedCoincheckServer) ExchangeOrdersOpens(ctx context.Context, req *Empty) (*OrdersOpensItem, error)
func (*UnimplementedCoincheckServer) ExchangeOrdersRate ¶
func (*UnimplementedCoincheckServer) ExchangeOrdersRate(ctx context.Context, req *ExchangeOrdersRateParam) (*ExchangeOrdersRateItem, error)
func (*UnimplementedCoincheckServer) ExchangeOrdersTransactions ¶
func (*UnimplementedCoincheckServer) ExchangeOrdersTransactions(ctx context.Context, req *Empty) (*OrdersTransactionsItem, error)
func (*UnimplementedCoincheckServer) LimitBuy ¶
func (*UnimplementedCoincheckServer) LimitBuy(ctx context.Context, req *LimitOrderParams) (*MarketItem, error)
func (*UnimplementedCoincheckServer) LimitSell ¶
func (*UnimplementedCoincheckServer) LimitSell(ctx context.Context, req *LimitOrderParams) (*MarketItem, error)
func (*UnimplementedCoincheckServer) MarketBuy ¶
func (*UnimplementedCoincheckServer) MarketBuy(ctx context.Context, req *MarketBuyParams) (*MarketItem, error)
func (*UnimplementedCoincheckServer) MarketSell ¶
func (*UnimplementedCoincheckServer) MarketSell(ctx context.Context, req *MarketSellParam) (*MarketItem, error)
func (*UnimplementedCoincheckServer) OrderBooks ¶
func (*UnimplementedCoincheckServer) OrderBooks(ctx context.Context, req *Empty) (*OrderBooksItem, error)
func (*UnimplementedCoincheckServer) RatePair ¶
func (*UnimplementedCoincheckServer) RatePair(ctx context.Context, req *RatePairParams) (*RatePairItem, error)
func (*UnimplementedCoincheckServer) Ticker ¶
func (*UnimplementedCoincheckServer) Ticker(ctx context.Context, req *Empty) (*TickerItem, error)
func (*UnimplementedCoincheckServer) TickerHist ¶
func (*UnimplementedCoincheckServer) TickerHist(ctx context.Context, req *TickerHistParam) (*TickerHistItem, error)
func (*UnimplementedCoincheckServer) Trades ¶
func (*UnimplementedCoincheckServer) Trades(ctx context.Context, req *TradesParams) (*TradesItem, error)