def coin_amount_for_usd(coin: str, usd: float, tickers: dict) -> float:
    """
    Get amount of {coin} for {usd}
    :param coin: coin symbol
    :param usd: amount in USD
    :param tickers: raw tickers fetched from binance
    :return: amount of coin for usd value as float
    """
    price_in_btc = float(tickers[f"{coin}/BTC"]["last"])
    btc_price_in_usd = float(tickers["BTC/USDT"]["last"])
    price_in_usd = round(price_in_btc * btc_price_in_usd, 2)
    return round(usd / price_in_usd, 5)