Exemple #1
0
 def setUp(self):
     order = {
         'id': 1,
         'p': 2,
         's': 3,
         'side': 'L',
         'status': 'E',
         'pt': 'L',
         'ot': 'L',
         'pd': 8,
         'sm': 9,
         'sr': 10,
         'sl': 11,
         'sc': 12,
         'sv': 13,
         'rfo': 14,
         'rfs': 15,
         'ld': 16,
     }
     self.unmatched_order = UnmatchedOrder(**order)
Exemple #2
0
 def setUp(self):
     order = {
         "id": 1,
         "p": 2,
         "s": 3,
         "side": "L",
         "status": "E",
         "pt": "L",
         "ot": "L",
         "pd": 8,
         "sm": 9,
         "sr": 10,
         "sl": 11,
         "sc": 12,
         "sv": 13,
         "rfo": 14,
         "rfs": 15,
         "ld": 16,
         "lsrc": 17,
         "error": "test",
         "md": 4,
     }
     self.unmatched_order = UnmatchedOrder(**order)