Пример #1
0
    def setUp(self):
        TestReadyUp.setUp(self)

        self.ready_all(key=1)

        position = Position.objects.all().first()
        pos_set = PositionSet(position)

        # first create spread
        self.sp = spread.Spread(pos_set)
Пример #2
0
    def setUp(self):
        TestReadyUp.setUp(self)

        self.ready_all(key=1)

        position = Position.objects.all().first()
        pos_set = PositionSet(position)

        # first create spread
        self.sp = spread.Spread(pos_set)
Пример #3
0
    def setUp(self):
        TestReadyUp.setUp(self)

        self.stock = PositionStock()
        self.option = PositionOption()
Пример #4
0
    def setUp(self):
        TestReadyUp.setUp(self)

        self.stock = PositionStock()
        self.option = PositionOption()