def format_book_entry(entry):
    if all(key in entry for key in ('amount', 'price', 'timestamp')):
        entry['amount'] = float(entry['amount'])
        entry['price'] = float(entry['price'])
        entry['timestamp'] = float(entry['timestamp'])
    return entry
Executes a "cycle" of this screen.
dataset/ETHPy150Open cbyn/bitpredict/collect-data/collect_books.py/format_book_entry--crossover with--dataset/ETHPy150Open brunobraga/termsaver/termsaverlib/screen/base/filereader.py/FileReaderBase._run_cycle