Documentation ¶
Overview ¶
Package trader defines the interfaces that models must implement to trade in a full capacity.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuctionAsker ¶
type AuctionAsker interface { NewBid(xchg.AuctionID, xchg.Bid) // A new bid has been placed on your auction. UpdateAuction(xchg.AuctionID, xchg.TradeStatus, xchg.Reason) // Signals the other party's tradestatus ConfirmAuction(xchg.AuctionID) xchg.TradeStatus // The market will periodically check up on transactions to make sure nobody's filing under a false identity }
type AuctionBidder ¶
type AuctionBidder interface { NewAuction(xchg.Auction) // A new auction has been placed UpdateBid(xchg.BidID, xchg.TradeStatus, xchg.Reason) // The bid's tradestatus has been changed. i.e. you have won the auction, awaiting payment, etc. ConfirmBid(xchg.BidID) xchg.TradeStatus // The market will periodically check up on transactions to make sure nobody's filing under a false identity }
Click to show internal directories.
Click to hide internal directories.