Beispiel #1
0
    def taker_fee(self, value):
        """Set taker fee in base units

        Keyword argument:
        value -- integer-like taker fee in base units
        """
        assert_like_integer(value)
        self.taker_fee_ = "{:.0f}".format(Decimal(value))
Beispiel #2
0
    def salt(self, value):
        """Set salt from integer-like

        Keyword argument:
        value -- integer-like salt value
        """
        assert_like_integer(value)
        self.salt_ = "{:.0f}".format(Decimal(value))
Beispiel #3
0
    def taker_asset_amount(self, value):
        """Set taker asset amount in base units

        Keyword argument:
        value -- integer-like taker asset amount in base units
        """
        assert_like_integer(value)
        self.taker_asset_amount_ = "{:.0f}".format(Decimal(value))
        self.update_bid_price()
        self.update_ask_price()