# login()
Logins into a trading account.
To create a trading account, check the supported trading platforms.
TIP
Mida is platform-neutral, this means that any trading platform could be easily integrated in the ecosystem. Applications built with Mida can be easily executed on different trading platforms
- Binance Example
import { login, } from "@reiryoku/mida";
const myAccount = await login("Binance/Spot", {
apiKey: "***",
apiSecret: "***",
});
Read how to use Mida with Binance to get your apiKey
and apiSecret
credentials.
- cTrader Example
import { login, } from "@reiryoku/mida";
const myAccount = await login("cTrader", {
clientId: "***",
clientSecret: "***",
accessToken: "***",
accountId: "***",
});
Read how to use Mida with cTrader to get your clientId
, clientSecret
,
accessToken
and accountId
credentials.
- Multiple accounts Example
import { login, } from "@reiryoku/mida";
const myAccount1 = await login("Binance/Spot", { ... });
const myAccount2 = await login("Bybit/Futures", { ... });
const myAccount3 = await login("cTrader", { ... });