<s> import tables as pt <EOL> import time <EOL> class FillModel ( pt . IsDescription ) : <EOL> timestamp = pt . Time64Col ( ) <EOL> quantity = pt . Int32Col ( ) <EOL> cashChange = pt . Float32Col ( ) <EOL> commission = pt . Float32Col ( ) <EOL> impactCost = pt . Float32Col ( ) <EOL> class OrderModel ( pt . IsDescription ) : <EOL> task = pt . StringCol ( <NUM_LIT:5> ) <EOL> shares = pt . Int32Col ( ) <EOL> symbol = pt . StringCol ( <NUM_LIT:30> ) <EOL> order_type = pt . StringCol ( <NUM_LIT:5> ) <EOL> duration = pt . Time64Col ( ) <EOL> timestamp = pt . Time64Col ( ) <EOL> close_type = pt . StringCol ( <NUM_LIT:4> ) <EOL> limit_price = pt . Float32Col ( ) <EOL> fill = FillModel ( ) </s>
