Login API

Before using functions in conrich, we need to initiate the trade API object and login to it with your ID and passwords.

Stock

from conrich import StockAPI

agent = StockAPI()
agent.login("YOUR_PERSON_ID", "YOUR_PASSWORD")

Successfully log in

alt text

Futures

from conrich import FuturesAPI

agent = FuturesAPI()
agent.login("YOUR_PERSON_ID", "YOUR_PASSWORD")

Foreign Futures

from conrich import ForeignFuturesAPI

agent = ForeignFuturesAPI()
agent.login("YOUR_PERSON_ID", "YOUR_PASSWORD")


🏠 Back to main page Back to top