15 lines
268 B
Python
15 lines
268 B
Python
import bn
|
|
import pandas as pd
|
|
import mplfinance as mpf
|
|
import datetime as dt
|
|
import monitors.large_transfer as lt
|
|
|
|
|
|
klines = bn.klines('BTCUSDT', '1h', limit=10)
|
|
|
|
# print(klines[0])
|
|
|
|
# print(klines[0][0])
|
|
dt = dt.datetime.fromtimestamp((klines[-1][0]/1000))
|
|
|
|
print(dt) |