search for: payouts

Displaying 19 results from an estimated 19 matches for "payouts".

Did you mean: layouts
2006 Oct 25
2
Isn''t it possible to stub / expect on :id ?
Hi all ! Running this: @payout = stub_everything(:id => 141) Payout.stubs(:find).with(@payout.id).returns(@payout) Generates this warning: ./test/functional/payouts_controller_test.rb:22: warning: Object#id will be deprecated; use Object#object_id What am I missing ? :id is a fairly frequent method to override in Rails-based applications. I''m using Mocha from svn://rubyforge.org/var/svn/mocha/trunk @ r70. Thanks ! -- Fran?ois Beausoleil http://bl...
2011 Apr 16
2
superimpose graphs
Hi there, I have a data frame DF of over 600 people's short term trade data in time order. Below is the simplified structure of the data. id invest payout [1] 1 10 -1 [2] 1 33 33 [3] 1 20 -5 [4] 2 200 33 [5] 2 33 -20 [6] 3 5 -5 [7] 3 5
2011 Apr 16
1
600 people's time series
Hi there, I have a data frame DF of over 600 people's short term trade data in time order. Below is the super simplified structure of the data. id invest payout [1] 1 10 -1 [2] 1 33 33 [3] 1 20 -5 [4] 2 200 33 [5] 2 33 -20 [6] 3 5 -5 [7] 3
2007 Apr 26
3
A coding question involving variable assignments in ifelse()
Dear List, Below is a simple, standard loss model that takes into account the terms of an insurance policy: deductible <- 15 coverage.limit <- 75 insurance.threshold <- deductible + coverage.limit tmpf <- function() { loss <- rlnorm(rpois(1, 3), 2, 5) sum(ifelse(loss > insurance.threshold, loss - coverage.limit, pmin(loss, deductible))) } net <- replicate(1000000, tmpf())
2012 Jan 13
1
Portfolio Optimization
Hi, I'm an R newbie and I've been struggling with a optimization problem for the past couple of days now. Here's the problem - I have a matrix of expected payouts from different stock option strategies. Each column in my matrix represents a different stock and each row represents the return to the strategy given a certain market move. So the rows are not a time series of percentage returns but a dollar payout in different expected scenarios, i.e. Expected R...
2008 Dec 04
2
Ruby fun with MegaMillions
I thought I would write a lottery number generator since I have not had any luck winning the big jackpot - http://megamillions.com/. So far, after over 1.2 million tries, I still have not hit all the numbers from yesterday: 2, 17, 22, 32, 51, 35 (last one is the mega ball). Fun little project that and I thought others would be interested. Let me know if you have a cleaner implementation in mind.
2011 May 31
1
while loop problems
Hi , i am trying to get this loop in my r program to work but it is not giving me the results that I desire. I am trying to model an insurance contract where there are n securities that have a fixed likelihood of default vector(data[i,2]) and a payout vector(data[i,1]). i need to price the value of stop losses at the security level and at the portfolio level. to do this i created two while loops
2008 Mar 06
0
Thank you all for your overwhelming response !!!
Thank you all for your overwhelming response !!! The site has awarded me and my downline an oppourtunity to make 27 US Dollars (20$ + 6$ + 1$) right after the registration is done. So, in addition to 6$ opening Survey, you all have 5 more 4$ surveys totalling to an amount of 20$ and one more March special survey for 1$ (which will also make you eligible for a lucky draw of 500$ -- Try your luck).
2009 Apr 27
1
Extract one element from yahooKeystats data
I am trying to extract one particular piece of data(Float) from all the data returned by yahooKeystats, but thus far I'm having no luck. This is what I've got so far: > library(fImport) Loading required package: timeSeries Loading required package: timeDate > data<-yahooKeystats("IBM") trying URL 'http://finance.yahoo.com/q/ks?s=IBM' Content type 'text/html;
2019 Feb 24
2
SAMBA DNS interfaces set to br0
On a machine with virtual networking is enabled and two ether net controllers eth0/192.168.1.2 and eth1/192.168.1.3 and having SAMBA smb.conf set to: dns interfaces = lo br0 is there a chance for: 1) The system not to boot with DNS working 2) The DNS server bounce between eth0 and eth1 3) The DNS server portion work on boot sometimes on eth0, but when software restarted only work on eth1 or
2014 Nov 09
1
Bug#767295: Bug#767295: Bug#767295: xl: apparent memory leak
On 11/09/2014 07:18 AM, Gedalya wrote: > That memory block is just a bit larger than the size of the initrd in > the VM, could there be a connection? Nope. I changed the initrd to 2.6mb and that memory block is still exactly at 23852 / 14464 / 14464. Actually the process size is around 12 mb when pygrub is counting down to boot, then jumps up to 14+ mb
2019 Feb 24
0
SAMBA DNS interfaces set to br0
Am 24.02.19 um 16:51 schrieb Brian Davis via samba: > On a machine with virtual networking is enabled and two ether net > controllers eth0/192.168.1.2 and eth1/192.168.1.3 and having SAMBA smb.conf > set to: > > dns interfaces = lo br0 > > is there a chance for: > > 1) The system not to boot with DNS working > 2) The DNS server bounce between eth0 and eth1 > 3)
2004 Oct 15
0
This might not be for you, or it might
...h a lifetime residual income of $100,000 to you? If so this could be your time to succeed. Then it is time to visit my Website to find out if we are a good fit: http://www.MyTimeToWin.com To Your Success, Russ Stiffler P.S. We are rolling out, right now, a new product that increases commission payouts by two to three times. If you no longer wish to receive communication from us: http://autocontactor.com/app/r.asp?ID=18836264&ARID=0 To update your contact information: http://autocontactor.com/app/r.asp?c=1&ID=18836264
2013 Apr 30
0
Learn how you can get so much more on the house
.... Download the software 2. Register a real money account 3. Deposit and receive your $5000 Welcome Bonus with all games included Click here to claim your bonus now http://hotofferz.com/c/click/883/82462584/3a39f.html Why? Flash/Download All games included Multilingual software Live dealers Fast Payouts & Support 24/7 Frequent player promotions This offer is only lasting for the next 48 hours from the top name in the online casino industry, MansionCasino.com Join now to claim your $5000 Welcome Bonus. http://hotofferz.com/c/click/883/82462584/3a39f.html MansionCasino.com is licensed and...
2007 Dec 18
0
PTC 0.01 / 0.2 $ global-click.info
New PTC site, pays 0.01 $ for your and referal ad view!! Upgraded members get 0.2$ for ad view! Min payout 10$!! register now! http://global-click.info/?r=eddys -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2017 Dec 07
0
Revolutions blog: November 2017 roundup
Since 2008, Microsoft (formerly Revolution Analytics) staff and guests have written about R at the Revolutions blog (http://blog.revolutionanalytics.com) and every month I post a summary of articles from the previous month of particular interest to readers of r-help. In case you missed them, here are some articles related to R from the month of November: R 3.4.3 "Kite Eating Tree" has
2005 Aug 07
1
request for clarification on Asterisk T.38 bounty
The bounty stands at $5,500. I'm seriously considering taking a shot at it if I can find a decent T.38 provider to test with (I'm still hoping for reliable PAYG T.38). It looks like a lot of very smart people have done a lot of very hard work (t38modem, spandsp) that would go towards getting this working. At this point it appears to be mostly a matter of integration
2008 Aug 19
5
RSpec raising routing errors where Rails doesn''t?
Hopefully someone here can help me figure out why the ERB: <% form_for(@fund, :url => {:host => PRIVATE_HOST}, :html => {:class => ''fund'', :multipart => true}) do |f| %> raises an error in my specs: No route matches {:action=>"index"} but works fine in my app and generates the following, desired HTML: <form
2006 Oct 17
8
Is it possible to make an online poker clock with ruby ?
I''m just starting to learn ruby and i wanted to set some projects for myself the 1st of which is a poker clock running online, but before i start trying to do it i would like to know if it''s possible. I dont want to waste my time if it''s not possible at all. Thanks. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You