func (mo *MemoryAuctionOrderbook) CalculatePrice(auctionID *match.AuctionID) (price float64, err error) {
	logging.Fatalf("UNIMPLEMENTED!")
	return
}
CalculatePrice takes in a pair and returns the calculated price based on the orderbook.
package cxdbmemory
import (
	"fmt"
	"github.com/mit-dci/lit/crypto/koblitz"
	"github.com/mit-dci/opencx/logging"
	"github.com/mit-dci/opencx/match"
)
type MemoryAuctionOrderbook struct {
	pair *match.Pair
}
func CreateAuctionOrderbook(pair *match.Pair) (book match.AuctionOrderbook, err error) {
	mo := &MemoryAuctionOrderbook{
		pair: pair,
	}
	book = mo
	return
}
func (mo *MemoryAuctionOrderbook) UpdateBookExec(exec *match.OrderExecution) (err error) {
	logging.Fatalf("UNIMPLEMENTED!")
	return
}
func (mo *MemoryAuctionOrderbook) UpdateBookCancel(cancel *match.CancelledOrder) (err error) {
	logging.Fatalf("UNIMPLEMENTED!")
	return
}
func (mo *MemoryAuctionOrderbook) UpdateBookPlace(auctionIDPair *match.AuctionOrderIDPair) (err error) {
	logging.Fatalf("UNIMPLEMENTED!")
	return
}
func (mo *MemoryAuctionOrderbook) GetOrder(orderID *match.OrderID) (aucOrder *match.AuctionOrderIDPair, err error) {
	logging.Fatalf("UNIMPLEMENTED!")
	return
}