import ast
def readDict():
with open(“./crypto_backtrader-master/news.txt”, “r”) as data:
dictionary = ast.literal_eval(data.read())
return dictionary
import ast
def readDict():
with open(“./crypto_backtrader-master/news.txt”, “r”) as data:
dictionary = ast.literal_eval(data.read())
return dictionary