package
0.0.0-20190507022301-b1bd2f5c3845
Repository: https://github.com/gincoinc/go.git
Documentation: pkg.go.dev
# Functions
CalcSpread calculates the spread stats for the given bidMax and askMin orderbook values.
GetAssetString returns a string representation of an asset.
PanicIfError is an utility function that panics if err != nil.
SliceDiff returns the elements in `a` that aren't in `b`.
TimeToTimestamp converts a time.Time into a Unix epoch.
WriteJSONToFile wrtites a json []byte dump to <filename>.