Crate avin_utils

Source
Expand description

§AVIN - Ars Vincere

Utils for general crate avin

§ru

Утилиты для основного крейта avin

Structs§

Cmd
Configuration
Timer

Enums§

AvinError

Constants§

DAY_BEGIN
DAY_END
MINUTES_IN_DAY
MSK_OFFSET

Statics§

CFG

Functions§

bisect_left
bisect_right
dt
Convert timestamp nanos -> datetime UTC
filter_dt
Filter datetime in dataframe
init_logger
max
min
replace_ts
Replace column ‘ts_nanos’ to ‘dt’ (naive UTC datetime)
round
round_price
str_date_to_utc
Return UTC datetime from user local date
str_dt_to_utc
Return UTC datetime from user local datetime
sum
ts
Convert datetime UTC -> timestamp nanos