How to post order using python module

I trying post order using official python module.

  1. git clone

  2. make file.

  3. very simple post order test

    from binance_f import RequestClient
    from binance_f.constant.test import *
    from binance_f.base.printobject import *
    from binance_f.model.constant import *

    API_KEY = “My Binance API KEY”
    SECRET_KEY = “My Binance Secret KEY”

    request_client = RequestClient(api_key=API_KEY, secret_key=SECRET_KEY)
    result = request_client.post_order(symbol=“BTCUSDT”, side=OrderSide.BUY, ordertype=OrderType.LIMIT, price=8000)


I execute this code.
I get Error code {“code”:-2015,“msg”:“Invalid API-key, IP, or permissions for action, request ip: my ip”}

What’s wrong?

Please check the source code for RequestClient , it may works on testnet by default.

Thank you. Your help is very good!!
I resolve this issue.