Hi,
I am very interested in this development. Anything in the making. Needing assistance?
greetings,
Martijn

Comments

greggles’s picture

HI Martijn,

I believe the module is at a testable phase. It still needs more testing and some more features (a graphing tool is a pretty key feature that is missing) but in general it should be mostly workable right now.

The main thing I need right now is someone (really, a group of people) to start using it and providing feedback (and hopefully fixes). The module's interface and help documentation are not the easiest to understand so it will have to be people who are savvy enough to understand the concepts involved in a continuous double auction prediction market - that is the most basic form and is most like a stock market.

I am about to start a 3 week vacation so I won't be very responsive, but if you can test it out and let me know how it goes that would be very helpful.

Summit’s picture

Hi,

Yes I would like to test it out for you, and see where it brings me.
Please place a link to the code, or send it to me PM.
Thanks and a great vacation to you!

greetings,
Martijn

greggles’s picture

Version: » 5.x-1.x-dev
Status: Active » Fixed

Ah - sorry about that. You can get the code from CVS, it's been there for a while but I forgot to make a release node for it. After midnight tonight there will be a release node and you can then download the tarball that way.

I'm marking this "fixed" but feel free to keep asking questions here. If you hadn't seen it yet, I've also been blogging about the process and the module on http://openpredictionmarkets.org/

Thanks for your help with this.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Summit’s picture

Category: support » bug
Status: Closed (fixed) » Active

Hi Greggles,

Finally time to look at your module. Sorry to open this issue again, or do you prefer a new issue?
On a fresh Drupal site. With installing I have already a problem, sorry..
It says:

Depends on: Market_deps (missing)

I can't see a Market_deps module in the package?

Thanks for going into this in advance!
greetings,
Martijn

greggles’s picture

I think that was a half baked idea that I had which accidentally got committed.

Instead the dependencies should be "content number nodereference text optionwidgets content_copy userpoints userpoints_no_negative pressflow_transaction workflow views auto_nodetitle token"

You can edit those in the market.info file.

Summit’s picture

Hi Greggles,

I noticed that pressflow_transaction is renamed to transaction and pressflow_transaction is depreciated, does this have consequences for the market module? See http://drupal.org/project/transaction for background information.
I have made the dependency to transaction instead of pressflow_transaction, after this the install was approved.

Also I do not understand configuration reminder 3:
You should probably enable menu items to point to "/item_count" and "/trades" which are the default views.
I can't see these default views?

Last but not least with installing I got following error:

warning: array_filter() [function.array-filter]: The first argument should be an array in /public_html/sites/all/modules/workflow/workflow.module on line 1913. 

greetings,
Martijn

greggles’s picture

Yes, you've pointed out a bunch of problems that create my basic dilemma that is stalling my progress (in addition to lack of time....): should I base the module on other projects and re-use their code (and have my module break) or should I rewrite a bunch of code.

It's a tough thing to say which is better...

ergonlogic’s picture

It looks like there's also a dependency on the Custom Links Module.

SamRose’s picture

A couple of questions:

1. What is the direction you were thinking about going in re: graphing?

2. So far, in my experience, relying on many other modules increases the chance that your module will break. Although, in the case of prediction market, I don't know how much might be beneficial for you to do on your own in your module(s). But, it can become tough to maintain, and the chance for unintended consequences seems to increase (like breaking the functionality of other modules). I am not wholly familiar with all of the modules this depends on, so in this case it could be different.

T-Rex’s picture

@ SamRose

I am currently starting to write a completely new module for a "prediction market" type system, so your comment is very timely for my work.

I am starting something new because the "share" metaphor in the existing PM module is unnecessarily complicated, ÍMHO. So, I am going to use the more straightforward "bet" metaphor. BTW: The module "Bookmaker" has no dependencies, so this weekend I am checking if that module is a good starting point.

Obviously, there is no way around using a graphics module, so I was going to check out the available modules for that.

Rex

T-Rex’s picture

Just a quick note on my findings from the weekend: Bookmaker is quite neat, so I will rather start from there.

Currently it's still specialised on soccer results, but I will rework it for general bets.

leovarg’s picture

any progress with this great module?

Littlebob’s picture

I would also like to use something like this on a site I'm working on. Have you been able to work on it recently?

leovarg’s picture

subscribing

geek-merlin’s picture

bump

greggles’s picture

Status: Active » Fixed

Hi folks, thanks for the comments over the years. They are encouraging.

I just wanted to let you know that there is a new incarnation of the code, on github for now:

Code: https://github.com/greggles/pmb
Drupal focused site where you can make bets and try it out: http://beta.openpredictionmarkets.org

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Hi Greg,

Thanks for the module. I grabbed it from github link you posted above. Do you still work on it and do you take bug reports / feature requests? Where should these be posted if yes (here or privately)?

And why don't you release the module here? It appears to be working well enough.

So far I have a bug report and a help request.

The bug: when a bet is placed, browser is redirected to a path with duplicate root string, like that: "/drupalAA/ro//drupalAA/ro/content/..." (my drupal is installed in "drupalAA" directory and "ro" is the language path parameter), which obviously throws a "page not found" message.

The help request is about viewing current bets. I see on your site you have a view of recent bets and rewards. I imagine it is a view of userpoints, but I'm having a problem recreating even that (ideally i'd like to create views for specific markets, maybe even with an exposed filter to see transactions for a particular market).

Thanks

greggles’s picture

Hi ervit,

Yes, actually just last night I wrote a post about moving it to drupal.org and encouraging people to use it. I was going to move it this morning, but I'm at http://drupalgovdays.org right now and git/ssh is blocked :(

So...probably this weekend I'll move the code to drupal.org.

Please do put bugs and feature requests here in this issue queue. I don't use content translation very often, so I'm not sure how to fix that bug, but please post it anyway. Hopefully you or someone else can find where that bug is. For the feature, yes that's a simple view and I should add it to the installation.

Thanks for testing it out and giving the feedback!

katzkawai’s picture

Hi Greg,

Thanks for the very interesting module for implementing prediction markets.
I just installed the pm module and tested a bit.

I encountered the same problem as the #10 #20:

The bug: when a bet is placed, browser is redirected to a path with duplicate root string, like that: "/drupalAA/ro//drupalAA/ro/content/..." (my drupal is installed in "drupalAA" directory and "ro" is the language path parameter), which obviously throws a "page not found" message.

Eg. The source code may be:
<form action="/drupalAA/node/1/bet/0" method="post" id="pmb-bet-add-form" accept-charset="UTF-8"><div><div class="form-item form-type-textfield form-item-pmb-bet-amount">

This should be fixed if I replaced "/drupalAA/node/1/bet/0" with "/drupalAA/node/1/". Is it correct?

Any help would be very much appreciated. Thank you very much for your help in advance.

Katz

katzkawai’s picture

Version: 5.x-1.x-dev » 7.x-1.x-dev
Issue summary: View changes
Status: Closed (fixed) » Needs review