File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/main/kotlin/io/polygon/kotlin/sdk Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
package io.polygon.kotlin.sdk
2
2
3
3
object Version {
4
- const val name = " v5.1.0 "
4
+ const val name = " v5.1.1 "
5
5
const val userAgent = " Polygon.io JVM Client/$name "
6
6
}
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import com.thinkinglogic.builder.annotation.Builder
4
4
import io.ktor.http.*
5
5
import io.polygon.kotlin.sdk.rest.options.SnapshotContractDetails
6
6
import io.polygon.kotlin.sdk.rest.options.SnapshotGreeks
7
- import kotlinx.serialization.ExperimentalSerializationApi
8
7
import kotlinx.serialization.SerialName
9
8
import kotlinx.serialization.Serializable
10
9
@@ -18,7 +17,7 @@ suspend fun PolygonRestClient.getSnapshots(
18
17
" v3" ,
19
18
" snapshot" ,
20
19
)
21
- params.tickers?.let { parameters[" tickers .any_of" ] = it.joinToString(" ," ) }
20
+ params.tickers?.let { parameters[" ticker .any_of" ] = it.joinToString(" ," ) }
22
21
params.order?.let { parameters[" order" ] = it }
23
22
params.limit?.let { parameters[" limit" ] = it.toString() }
24
23
params.sort?.let { parameters[" sort" ] = it }
@@ -144,4 +143,4 @@ data class SnapshotsTrade(
144
143
@SerialName(" sip_timestamp" ) val sipTimestamp : Long? = null ,
145
144
val size : Double? = null ,
146
145
@SerialName(" timeframe" ) val timeframe : String? = null ,
147
- )
146
+ )
You can’t perform that action at this time.
0 commit comments