Exemple #1
0
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()
Exemple #3
0
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()
Exemple #4
0
class SMAData(tables.IsDescription):
    date = tables.TimeCol()
    value = tables.Float32Col()
Exemple #5
0
class PerformanceData(tables.IsDescription):
    date = tables.TimeCol()
    date_str = tables.StringCol(16)
    value = tables.Float32Col()
Exemple #6
0
class SymbolData(tables.IsDescription):
    date = tables.TimeCol()
    closing = tables.Float32Col()
    ema_short = tables.Float32Col()
    ema_long = tables.Float32Col()