kucoin 0.7.4

A robust and asynchronous Rust client for the KuCoin exchange API.
Documentation
1
2
3
4
5
6
7
8
9
use std::time::{SystemTime, UNIX_EPOCH};

pub fn get_timestamp() -> String {
    SystemTime::now()
        .duration_since(UNIX_EPOCH)
        .expect("Clock may have gone backwards")
        .as_millis()
        .to_string()
}