class PositionData(tables.IsDescription): date = tables.TimeCol() date_str = tables.StringCol(16) symbol = tables.StringCol(16) amount = tables.Int32Col() value = tables.Float32Col() basis = tables.Float32Col() # The basis using single-category averaging
class fraud_data(t.IsDescription): transactionIndex = t.UInt16Col() #points twords the transaction data isFraud = t.BoolCol() fraudScore = t.Float64Col() dateEvaluated = t.TimeCol() examinedByOperator = t.BoolCol() ownerContacted = t.BoolCol()
class OrderData(tables.IsDescription): date = tables.TimeCol() order_type = tables.StringCol(16) symbol = tables.StringCol(16) date_str = tables.StringCol(16) order = tables.StringCol(64) executed_quantity = tables.Int32Col() executed_price = tables.Float32Col() basis = tables.Float32Col()
class SMAData(tables.IsDescription): date = tables.TimeCol() value = tables.Float32Col()
class PerformanceData(tables.IsDescription): date = tables.TimeCol() date_str = tables.StringCol(16) value = tables.Float32Col()
class SymbolData(tables.IsDescription): date = tables.TimeCol() closing = tables.Float32Col() ema_short = tables.Float32Col() ema_long = tables.Float32Col()