db_readtest.py 205 B

12345678
  1. from ami2py import AmiDataBase, SymbolEntry
  2. db = AmiDataBase('c:\\amibroker')
  3. symbols = db.get_symbols()
  4. print(symbols)
  5. data=db.get_symbol_data('M1ECH')
  6. #data = db.get_dict_for_symbol("hour")
  7. print(data)