def __setitem__(self, key, value):
dict.__setitem__(self, key, value)<EOL>if (<EOL>"<STR_LIT>" in self and "<STR_LIT>" in self and self["<STR_LIT>"] and self["<STR_LIT>"]<EOL>):  <EOL><INDENT>dict.__setitem__(<EOL>self,<EOL>"<STR_LIT>",<EOL>self._safedivide(self["<STR_LIT>"]["<STR_LIT>"], self["<STR_LIT>"]["<STR_LIT>"]),<EOL>)<EOL><DEDENT>
Here we set "price" if we change quote or base