irrational

package
v0.0.0-...-6165795 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2015 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewIrrational manager.TraderMaker = func(m manager.MiniMarket) trader.Trader {
	return &Irrational{mkt: m, log: log15.New("module", "irrational")}
}

Functions

This section is empty.

Types

type Irrational

type Irrational struct {
	// contains filtered or unexported fields
}

func (*Irrational) ConfirmAuction

func (i *Irrational) ConfirmAuction(b xchg.AuctionID) xchg.TradeStatus

func (*Irrational) ConfirmBid

func (i *Irrational) ConfirmBid(b xchg.BidID) xchg.TradeStatus

func (Irrational) GetAcct

func (i Irrational) GetAcct() bank.AccountID

func (Irrational) GetID

func (i Irrational) GetID() xchg.LicenseID

func (*Irrational) Init

func (i *Irrational) Init(license xchg.LicenseID)

func (*Irrational) Loop

func (i *Irrational) Loop()

func (*Irrational) NewAuction

func (i *Irrational) NewAuction(xchg.Auction)

func (*Irrational) NewBid

func (i *Irrational) NewBid(xchg.AuctionID, xchg.Bid)

func (*Irrational) Status

func (i *Irrational) Status(chg xchg.Status)

func (*Irrational) Update

func (i *Irrational) Update(t ticker.Tick)

func (*Irrational) UpdateAuction

func (i *Irrational) UpdateAuction(xchg.AuctionID, xchg.TradeStatus, xchg.Reason)

func (*Irrational) UpdateBid

func (i *Irrational) UpdateBid(b xchg.BidID, ts xchg.TradeStatus, r xchg.Reason)

Jump to

Keyboard shortcuts

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