uniltc

package
Version: v0.0.0-...-d0b2d67 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2014 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Bid = "bid"
	Ask = "ask"
)

order type

View Source
const (
	C1m = "1m"
	C5m = "5m"
	C1h = "1h"
	C1d = "1d"
)

candle stick type

View Source
const (
	Pair_LTC_BTC = "LTC_BTC"
	Pair_LTC_USD = "LTC_USD"
	Pair_LTC_EUR = "LTC_EUR"
)

trading pairs

View Source
const (
	Div_Total  = 1e8
	Div_Volume = 1e4
	Div_Rate   = 1e4
)

divisions

View Source
const (
	Op_newbid        = "newbid"
	Op_newask        = "newask"
	Op_cancelbid     = "cancelbid"
	Op_cancelask     = "cancelask"
	Op_currentorders = "currentorders"
	Op_historytrades = "historytrades"
	Op_userinfo      = "userinfo"
	Op_withdraw      = "withdraw"
)

Variables

View Source
var (
	Stub = new(stub)
)

Functions

func EncryptedRes

func EncryptedRes(sec string, op string, args ...interface{}) (string, error)

Types

type Order

type Order struct {
	OrderId             int64
	OrderType           string
	Rate, Volume, Total float64
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL