Documentation ¶
Index ¶
- func AssertOrdersPriceSide(t *testing.T, asserts []PriceSideAssert, orders []types.SubmitOrder)
- func AssertOrdersPriceSideQuantity(t *testing.T, asserts []PriceSideQuantityAssert, orders []types.SubmitOrder)
- func Number(a interface{}) fixedpoint.Value
- type PriceSideAssert
- type PriceSideQuantityAssert
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertOrdersPriceSide ¶
func AssertOrdersPriceSide(t *testing.T, asserts []PriceSideAssert, orders []types.SubmitOrder)
AssertOrdersPriceSide asserts the orders with the given price and side (slice)
func AssertOrdersPriceSideQuantity ¶
func AssertOrdersPriceSideQuantity( t *testing.T, asserts []PriceSideQuantityAssert, orders []types.SubmitOrder, )
AssertOrdersPriceSide asserts the orders with the given price and side (slice)
func Number ¶
func Number(a interface{}) fixedpoint.Value
Types ¶
type PriceSideAssert ¶
type PriceSideAssert struct { Price fixedpoint.Value Side types.SideType }
type PriceSideQuantityAssert ¶
type PriceSideQuantityAssert struct { Price fixedpoint.Value Side types.SideType Quantity fixedpoint.Value }
Click to show internal directories.
Click to hide internal directories.