Author: Kevin Cross
./gradlew build
publish locally:
gradlew build PublishToMavenLocal
dependencies {
implementation "org.kware:silver-bars:1.0-SNAPSHOT"
}
import org.kware.silverbars.*
// create a market
val market = Market()
//register an order
val orderRef = market.register(Order(...))
// get the summary
market.summary()
// and to cancel an order
orderRef.cancel()
located at SilverBarsTest.kt