Retrieving information about contracts which have not been accepted

22 views
Skip to first unread message

Simon Müller

unread,
Aug 29, 2022, 10:33:36 AM8/29/22
to classEx - Help and Discussion Forum
Hey,

Is there a way to get information about every contract and not only about the ones which got accepted? From my understanding and testing all the functions only retrieve information about the accepted contracts.
Basically I would like to have information about every offer made even if not accepted.

Best regards,

Simon

m.gia...@berlin.bard.edu

unread,
Aug 30, 2022, 7:41:48 AM8/30/22
to classEx - Help and Discussion Forum
Dear Simon, you can find all contracts if you download the data excel file. There you can also see rejected and withdrawn offers. Best, Marcus

Simon Müller

unread,
Aug 30, 2022, 9:43:58 AM8/30/22
to classEx - Help and Discussion Forum
Hi,

I probably worded my question poorly. I was looking to retrieve the information during the experiment itself. For example: After a round of people making offers and accepting contracts, I wanted to display information about the offers which have not been accepted,  for example such as the total amount or the price.
The functions such has $getContracts() or $getNumContracts() only seem to work on accepted contracts. In contrast i would like to retrieve information about the ones which have not been accepted.
So my question was whether or not a function like this exists or if there is any way to retrieve information about the unaccepted contracts.

Kind regards

Simon

Marcus Giamattei

unread,
Aug 30, 2022, 12:09:57 PM8/30/22
to Simon Müller, classEx - Help and Discussion Forum
 Dear Simon, now I understand :)

I added that for you. Now all functions have a parameter where you can change the status (default = 1 accepted). You can find full information in the documentation about that functions. Best, Marcus

getAvgPriceContract($idRound = null, $status = 1)
getNumContracts($idRound = null, $perSeller = true, $status = 1)
getContractPrices($idRound = null, $seller = true, $status = 1)
getContractQuantities($idRound = null, $seller = true, $status = 1)




--
This group is the help and discussion forum of classEx.
---
You received this message because you are subscribed to a topic in the Google Groups "classEx - Help and Discussion Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/classex/0I6tibdoPGI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to classex+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/classex/0fa88251-58dd-47c8-8a48-3cbdcfb31de7n%40googlegroups.com.

Simon Müller

unread,
Aug 31, 2022, 11:07:25 AM8/31/22
to classEx - Help and Discussion Forum
Dear Marcus,

This helps me a lot and solves my problem. I really appreciate this. Thank you very much.

Kind regards

Simon

Reply all
Reply to author
Forward
0 new messages