Skip to content

Commit

Permalink
refactored Broker interface 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaron committed Mar 5, 2024
1 parent e3d76af commit 1eb8d0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@

package org.roboquant.charts

import kotlin.test.Test
import org.roboquant.Roboquant
import org.roboquant.common.Timeframe
import org.roboquant.feeds.Action
import org.roboquant.feeds.random.RandomWalkFeed
import org.roboquant.loggers.SilentLogger
import org.roboquant.metrics.Indicator
import org.roboquant.strategies.EMAStrategy
import java.time.Instant
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertNotEquals
import kotlin.test.assertTrue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,6 @@ internal class IBKRSamples {
println("done")
}


private fun Broker.place(order: Order) {
place(listOf(order))
Thread.sleep(5_000)
val account = sync()
println(account.fullSummary())
}


@Test
internal fun simplePaperTrade() {
// Lets trade these 3 tech stock
Expand Down

0 comments on commit 1eb8d0e

Please sign in to comment.