I was supposed to import binance.um_futures in my code. The below is what I written .
import sys
import binance
from binance.um_futures import UMFutures
import os
from pathlib import Path
import pandas as pd
import time
The error I met is
from binance.um_futures import UMFutures
ModuleNotFoundError: No module named ‘binance.um_futures’
So I check the path that the binance package installed in my computer, it does not contain a .py file named um_futures.
Why the package does not contain um_futures? I tested to import the class named Client in the path, and it can be imported successfully. I installed the package in Pycharm. I still want to use the um_futures. How should I fix this error.