Skip to content

Commit

Permalink
Moved to new Alpaca API cleanup 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaron committed May 4, 2024
1 parent a25a3c5 commit f45a428
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ class AlpacaLiveFeed(
/**
* Subscribe to crypto market data b based on the passed [symbols] and [type]
*/
@Suppress("unused")
fun subscribeCrypto(vararg symbols: String, type: PriceActionType = PriceActionType.PRICE_BAR) {
// validateSymbols(symbols, availableCryptoMap)
val s = symbols.toList()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import org.roboquant.strategies.TestStrategy
/**
* Remove end-of-line characters so test results are the same on different operating-systems.
*/
@Suppress("unused")
internal fun String.removeEOL() = this.replace("\n", "").replace("\r", "")

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal inline fun CairoEngine.query(query: String, block: RecordCursor.() -> U
}
}


@Suppress("unused")
internal inline fun SqlExecutionContext.query(query: String, block: RecordCursor.() -> Unit) {
cairoEngine.sqlCompiler.use {
val fact = it.compile(query, this).recordCursorFactory
Expand Down

0 comments on commit f45a428

Please sign in to comment.