JKorf / FTX.Net

MIT License
31 stars 24 forks source link

Time conversion problem #5

Closed CitrusVento closed 3 years ago

CitrusVento commented 3 years ago

Bad Request "Invalid parameter start_time" when add optional time parameters

Example: await ApiClient.GetKlinesAsync(symbol, KlineInterval.FifteenMinutes, now.AddHours(-1), now)

TimestampConverter use TotalMilliseconds, but FTX expect time in seconds

JKorf commented 3 years ago

This should be fixed in the latest version