oTree Forum >

Live Pages: any solution to send data to the players without any previous "liveSend" by a player

#1 by RudyDW

Dear all,

I face a problem and I don't find the solution in the oTree documentation.

The live pages work well in my “double auction market” app. For a given aspect of this app, I need to send data to the players without any signal sent by any of them before.
When a player send an offer (I use liveSend), and the live_method function in my Python code returns something to the other players. This works fine.
But what if, depending on the time, I need the server to send some data to the clients (players)?  In this case, I cannot use the “return” in live_method because the server did not received any request.   Is there a solution to do this?

Best,
Rudy

Write a reply

Set forum username