Generator to generate finance related entries.
Unique identifier for securities, especially bonds, in the United States and Canada.
a random cusip
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.finance.cusip())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.finance.cusip())}
Output (formatted as JSON value)
"S4BL2MVY6" Copy
"S4BL2MVY6"
International standard code for uniquely identifying securities worldwide.
a random isin
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.finance.isin())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.finance.isin())}
"PGS4BL2MVY68" Copy
"PGS4BL2MVY68"
Generator to generate finance related entries.