Documentation ¶
Index ¶
- Variables
- type Irrational
- func (i *Irrational) ConfirmAuction(b xchg.AuctionID) xchg.TradeStatus
- func (i *Irrational) ConfirmBid(b xchg.BidID) xchg.TradeStatus
- func (i Irrational) GetAcct() bank.AccountID
- func (i Irrational) GetID() xchg.LicenseID
- func (i *Irrational) Init(license xchg.LicenseID)
- func (i *Irrational) Loop()
- func (i *Irrational) NewAuction(xchg.Auction)
- func (i *Irrational) NewBid(xchg.AuctionID, xchg.Bid)
- func (i *Irrational) Status(chg xchg.Status)
- func (i *Irrational) Update(t ticker.Tick)
- func (i *Irrational) UpdateAuction(xchg.AuctionID, xchg.TradeStatus, xchg.Reason)
- func (i *Irrational) UpdateBid(b xchg.BidID, ts xchg.TradeStatus, r xchg.Reason)
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) 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)
Click to show internal directories.
Click to hide internal directories.