Set default values

This commit is contained in:
ekzyis 2023-11-27 02:45:16 +01:00
parent 1ab65afdcd
commit b82e5de63c
1 changed files with 2 additions and 2 deletions

View File

@ -32,9 +32,9 @@ const noClass = computed(() => selected.value === 'NO' ? ['active'] : [])
const err = ref(null) const err = ref(null)
// how much wants the user bet? // how much wants the user bet?
const stake = ref(null) const stake = ref(100)
// how sure is the user he will win? // how sure is the user he will win?
const certainty = ref(null) const certainty = ref(0.5)
// price per share: more risk, lower price, higher reward // price per share: more risk, lower price, higher reward
const price = computed(() => certainty.value * 100) const price = computed(() => certainty.value * 100)
// how many (full) shares can be bought? // how many (full) shares can be bought?