make_offer: Make an offer to sell or buy a statement

Description Usage Arguments Value

Description

Make an offer to sell or buy a statement.

Usage

1
2
make_offer(users = NULL, transactions = NULL, user_id = 1, event_id = 1,
  shares = 1, price = 50, yes = 1)

Arguments

users

The users table

user_id

A user id

event_id

An event id

shares

Number of shares

price

The price per share

yes

Boolean. Whether the offer is for or against

Value

A row added to the offers table


joebrew/malariaprediction documentation built on May 15, 2019, 1:40 p.m.