Find all functions $f:\mathbb R \to \mathbb R$ satisfying $xf(y)-yf(x)=f\left( \frac yx\right)$

This may not be the most efficient approach, but it works. I'll try to trim it down later.

You have already found that $f(x)=-f(\tfrac{1}{x})$, so then plugging in $x=-1$ shows that $f(-1)=0$. Next taking $y=-x$ in the original equation yields $$xf(-x)+xf(x)=f(-1)=0,$$ which shows that $f(-x)=-f(x)$ for all $x\in\Bbb{R}$. It follows that for all nonzero $x\in\Bbb{R}$ we have $$f(-\tfrac{1}{x})=f(x).$$ Now let $x,y\in\Bbb{R}$ be nonzero. Then writing out the original equation for $-\tfrac{1}{x}$ and $-\tfrac{1}{y}$ yields $$-\tfrac{1}{x}f(-\tfrac{1}{y})+\tfrac{1}{y}f(-\tfrac{1}{x})=f(\tfrac{x}{y})=-f(\tfrac{y}{x})=-xf(y)+yf(x).$$ But on the left hand side we can use the fact that $f(-\tfrac{1}{x})=f(x)$ to get $$-\tfrac{1}{x}f(y)+\tfrac{1}{y}f(x)=-xf(y)+yf(x).$$ Rearranging terms shows that for all nonzero $x,y\in\Bbb{R}$ we have $$(x-\tfrac{1}{x})f(y)=(y-\tfrac{1}{y})f(x),$$ Moreover, if $x\neq\pm1$ then $x-\tfrac{1}{x}\neq0$ and hence $$f(y)=(y-\tfrac{1}{y})\cdot\frac{f(x)}{x-\tfrac{1}{x}}.$$ This holds for all $x,y\in\Bbb{R}-\{-1,0,1\}$. That means that on $\Bbb{R}-\{-1,0,1\}$ the expression $$\frac{f(x)}{x-\tfrac{1}{x}},$$ is constant. In other words, on $\Bbb{R}-\{-1,0,1\}$ we have $$f(x)=c(x-\tfrac{1}{x}),$$ for some constant $c\in\Bbb{R}$. This extends to $\Bbb{R}-\{0\}$ as we already found that $f(1)=f(-1)=0$. Because also $f(0)=0$, every such function $f$ is (for some $c\in\Bbb{R}$) of the form $$f(x)=\left\{\begin{array}{ll}0&\text{ if }x=0\\c(x-\tfrac{1}{x})&\text{ otherwise }\end{array}\right.$$


$$xf(y)-yf(x)=f\left( \frac yx\right) \\ \iff xf(y)-f(\frac{y}{x})-yf(x) = 0 \tag{1}$$

Substitute $x \to y/x$, $y \to y$:

$$\frac{y}{x}f(y) - yf( \frac{y}{x}) = f(x) \\ \iff \frac{y}{x}f(y) - yf( \frac{y}{x})-f(x) = 0 \tag{2}$$

Consider $(2)-(1)\times y$:

$$(\frac{y}{x}-xy)f(y)+(y^2-1)f(x)=0 \tag{3}$$

Let $y = 0$, As M. Vinay said, $f(0) = 0$

$0\times f(0) + (0-1)f(x)=0 \implies f(x) = 0$ for all $x \in \mathbb{R}$

EDIT: My setting value is wrong(i.e. after formulate (3) , all what I did is wrong ) so I want to set them right.

Set $y = 0.5$ in (3), $$(\frac{1}{2x}-\frac{x}{2}) f(1/2) - 3/4 f(x) = 0 \\ \iff f(x) =(\frac{2}{3x}-\frac{2x}{3}) f(1/2) $$

More precisely, $ f(x) = \frac{2}{3} f(1/2) \times(\frac{1}{x}-x)$

Let $\frac{2}{3} f(1/2) = c$ so$ f(x) = c(\frac{1}{x}-x)$

Since, c is an arbitrary constant, it includes my special solution $f(x) = 0$.