Skip to content

Commit

Permalink
provide time in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mlake committed Jan 23, 2024
1 parent 349b48f commit 5afbc07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ internal class MarginAccountInverseTest {
val orders = if (orderSize == 0) emptyList() else listOf(MarketOrder(asset, orderSize))
val action = TradePrice(asset, price.toDouble())
val event = Event(listOf(action), Instant.now())
broker.place(orders)
broker.place(orders, event.time)
broker.sync(event)
return broker.account
}
Expand Down

0 comments on commit 5afbc07

Please sign in to comment.