calculate_reserve_price_in_quote_token_decimal#
- calculate_reserve_price_in_quote_token_decimal(reversed, reserve0, reserve1, amount0_in, amount1_in, amount0_out, amount1_out)[source]#
Calculate the market price based on Uniswap pool reserve0 an reserve1.
All inputs are converted from fixed point numbers to natural decimal point placed numbers.
- Parameters:
- Returns:
Price in quote token, amount in quote token
- Return type: