# Playground: createAccount()
Creates a new playground trading account.
- Interface
class MidaPlaygroundEngine {
createAccount (configuration: MidaPlaygroundAccountConfiguration = {}): Promise<MidaTradingAccount>;
}
- Example
import { login, } from "@reiryoku/mida";
await engine.createAccount({
id: "my-super-account",
primaryAsset: "USD",
balanceSheet: {
"USD": 100000,
"BTC": 8,
"ETH": 8,
},
});
const myAccount = await login("Mida/Playground", { id: "my-super-account", });
await myAccount.getBalance(); //= 100000
// ...
// Use myAccount as a normal trading account...
// ...