CYCLUS
|
A Trade is a simple container that associates a request for a resource with a bid for that resource.
Additionally, a quantity is assigned to the Trade which may be less than either the request or bid quantity. Finally, Trades have a price member which is not currently used.
#include <trade.h>
Public Member Functions | |
Trade () | |
Trade (Request< T > *request, Bid< T > *bid, double amt) | |
Public Attributes | |
double | amt |
Bid< T > * | bid |
double | price |
Request< T > * | request |