mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-17 01:14:40 +08:00
feat: implement coinank free kline api and kline websocket (#1281)
- implement coinank free kline api in coinank_api.Kline - implement coinank free kline ws in coinank_api.KlineWs. if needKline is true, kline data read from KlineCh. if needTicker is true, tickers data read from TickersCh.
This commit is contained in:
8
provider/coinank/coinank_enum/side.go
Normal file
8
provider/coinank/coinank_enum/side.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package coinank_enum
|
||||
|
||||
type Side string
|
||||
|
||||
const (
|
||||
To Side = "to" //search backward from the time ts
|
||||
From Side = "from" //search forward from time ts
|
||||
)
|
||||
Reference in New Issue
Block a user