Documentation
¶
Index ¶
Constants ¶
View Source
const ( OneMin valueobject.Timeunit = iota FiveMin FifteenMin ThirtyMin OneHour FourHour EightHour TweleveHour OneDay OneWeek )
OneMin is a timeunit
View Source
const DefaultCurrencyCode = "RU"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BillingCreateResponse ¶
type BillingCreateResponse struct { ID uuid.UUID CurrencyCode string Name string Balance decimal.Decimal BlockedAmount decimal.Decimal }
BillingCreateResponse is response of billing
type Bitbank ¶
type Bitbank struct{}
Bitbank is an bitcoin exchange
func (Bitbank) Ohlc ¶
func (b Bitbank) Ohlc(p valueobject.Pair, t valueobject.Timeunit) []valueobject.CandleStick
Ohlc gets open, high, low, and close via bitbank public api NOTICE: This works from 0AM (UTC) due to its api constraints
func (Bitbank) Ticker ¶
func (b Bitbank) Ticker(p valueobject.Pair) valueobject.Ticker
Ticker gets ticker via bitbank public api
Click to show internal directories.
Click to hide internal directories.