Results: 2012-Jul-22 04:03pm (up to block 190291)
Address Target Should Win | #Bets | Win | Lose | Refunds | BTC In | BTC Out | Refund | Profit | RTP -------------------------------------------------------------------------------------------------------------------------------------------- 1dice1e6p 1 0.00002 | 10612 | 0 (0.00000) | 10333 | 279 | 53.52 | 0.01 | 17.86 | 53.51 | 0.036 1dice1Qf4 2 0.00003 | 993 | 0 (0.00000) | 923 | 70 | 8.24 | 0.00 | 5.58 | 8.24 | 0.021 1dice2pxm 4 0.00006 | 1499 | 0 (0.00000) | 1467 | 32 | 13.75 | 0.00 | 1.22 | 13.75 | 0.052 1dice2vQo 8 0.00012 | 1285 | 0 (0.00000) | 1245 | 40 | 18.54 | 0.00 | 4.15 | 18.53 | 0.042 1dice2WmR 16 0.00024 | 1480 | 0 (0.00000) | 1450 | 30 | 24.45 | 0.02 | 6.60 | 24.42 | 0.094 1dice2xkj 32 0.00049 | 3442 | 1 (0.00029) | 3430 | 11 | 109.99 | 100.41 | 1.29 | 9.58 | 91.289 1dice2zdo 64 0.00098 | 5178 | 7 (0.00136) | 5154 | 17 | 210.92 | 121.70 | 55.64 | 89.22 | 57.700 1dice37Ee 128 0.00195 | 6262 | 14 (0.00225) | 6200 | 48 | 1233.88 | 1143.24 | 40.25 | 90.63 | 92.654 1dice3jkp 256 0.00391 | 4662 | 21 (0.00452) | 4627 | 14 | 495.11 | 332.03 | 13.11 | 163.07 | 67.063 1dice4J1m 512 0.00781 | 7173 | 46 (0.00642) | 7122 | 5 | 1514.92 | 717.83 | 9.35 | 797.08 | 47.384 1dice5wwE 1000 0.01526 | 13523 | 193 (0.01427) | 13328 | 2 | 2208.67 | 1888.68 | 1.80 | 319.98 | 85.512 1dice61SN 1500 0.02289 | 7503 | 175 (0.02334) | 7322 | 6 | 3046.90 | 3468.65 | 15.00 | -421.74 | 113.842 1dice6DPt 2000 0.03052 | 8696 | 279 (0.03209) | 8414 | 3 | 3386.76 | 3114.94 | 9.24 | 271.81 | 91.974 1dice6gJg 3000 0.04578 | 7481 | 367 (0.04910) | 7107 | 7 | 4904.68 | 6452.27 | 24.99 | -1547.58 | 131.553 1dice6GV5 4000 0.06104 | 8246 | 522 (0.06333) | 7721 | 3 | 2999.67 | 2777.53 | 31.20 | 222.14 | 92.594 1dice6wBx 6000 0.09155 | 15166 | 1426 (0.09406) | 13735 | 5 | 8653.84 | 8830.60 | 7.01 | -176.76 | 102.043 1dice6YgE 8000 0.12207 | 30631 | 3823 (0.12484) | 26801 | 7 | 6255.83 | 5535.22 | 0.00 | 720.60 | 88.481 1dice7EYz 12000 0.18311 | 16525 | 3136 (0.18983) | 13384 | 5 | 6785.06 | 6957.16 | 14.50 | -172.09 | 102.536 1dice7fUk 16000 0.24414 | 43181 | 10481 (0.24276) | 32693 | 7 | 13578.67 | 13151.00 | 97.79 | 427.66 | 96.850 1dice7W2A 24000 0.36621 | 32517 | 12037 (0.37054) | 20448 | 32 | 13709.59 | 13652.30 | 212.63 | 57.28 | 99.582 1dice8EMZ 32000 0.48828 | 311497 | 151841 (0.48766) | 159525 | 131 | 96191.56 | 97008.25 | 2173.21 | -816.69 | 100.849 1dice97EC 32768 0.50000 | 129506 | 64573 (0.49891) | 64854 | 79 | 48455.42 | 46905.01 | 789.20 | 1550.41 | 96.800 1dice9wcM 48000 0.73242 | 92779 | 68268 (0.73621) | 24461 | 50 | 74075.16 | 72580.05 | 467.98 | 1495.11 | 97.982 1dicec9k7 52000 0.79346 | 712 | 570 (0.80056) | 142 | 0 | 1184.15 | 1200.70 | 0.00 | -16.55 | 101.398 1dicegEAr 56000 0.85449 | 336 | 272 (0.80952) | 64 | 0 | 234.41 | 184.05 | 0.00 | 50.35 | 78.518 1diceDCd2 60000 0.91553 | 58 | 51 (0.87931) | 7 | 0 | 37.58 | 38.23 | 0.00 | -0.65 | 101.732 1dice9wVt 64000 0.97656 | 5850 | 5599 (0.97868) | 122 | 129 | 5021.19 | 4828.39 | 239.20 | 192.80 | 96.160 -------------------------------------------------------------------------------------------------------------------------------------------- | 766793 | 323702 | 442079 | 1012 | 294412.58 | 290988.41 | 4238.89 | 3424.17 | 98.837 --------------------------------------------------------------------------------------------------------------------------------------------
SD Profit before fees: 3424.17659660 BTC (1.163%) Cumulative Fees Paid: 385.98247500 BTC SD Profit after fees: 3038.19412160 BTC (1.032%) ---- Since Satoshi Dice started, there have been:> Blockchain Tx: 2325411 : SatoshiDice Tx: 1416455 (60.9%) Blockchain MB: 983.2 : SatoshiDice Tx: 582.3 (59.2%)
|
|
|
My Internet connection just came back after being down for 24h or so. I've not had a chance to look at your recent changes. One thing I'm wondering about is why the losing streaks on your graphs show up as straight lines rather than exponential downward plummets. Are you not plotting intermediate losses?
|
|
|
That risk can be lessened by matching trades. So for every person that goes long 1BTC you need another person to go short 1BTC so your position is flat.
I'm not sure if Bitcoinica did it this way or not. So as a user you say to the system I want to go long BTC. Your trade is only fulfilled when it is matches with the opposite trade.
If a match is not found the trade goes unfulfilled. I guess you could use the price to encourage people to trade one way or the other.
This is a complicated risky business.
Sure, you can reduce the risk by matching trades, which is why in my example they only had 1 customer... But even with matched trades, it the price moves too far you end up liquidating the losers' positions (you pretty much break even on those - you can use the money they lose to pay the winners, and keep the spread for yourself) but then you're left with an unbalanced book. The winners still have positions which now aren't matched by anyone taking the opposite position, since they've been liquidated and so I guess you have to pass their positions on to your hedging accounts at gox.
|
|
|
Results: 2012-Jul-21 11:24am (up to block 190118)
Address Target Should Win | #Bets | Win | Lose | Refunds | BTC In | BTC Out | Refund | Profit | RTP -------------------------------------------------------------------------------------------------------------------------------------------- 1dice1e6p 1 0.00002 | 10512 | 0 (0.00000) | 10242 | 270 | 52.82 | 0.01 | 16.30 | 52.80 | 0.036 1dice1Qf4 2 0.00003 | 990 | 0 (0.00000) | 921 | 69 | 8.04 | 0.00 | 5.38 | 8.04 | 0.022 1dice2pxm 4 0.00006 | 1498 | 0 (0.00000) | 1466 | 32 | 13.55 | 0.00 | 1.22 | 13.55 | 0.049 1dice2vQo 8 0.00012 | 1284 | 0 (0.00000) | 1244 | 40 | 18.14 | 0.00 | 4.15 | 18.13 | 0.034 1dice2WmR 16 0.00024 | 1477 | 0 (0.00000) | 1447 | 30 | 24.42 | 0.02 | 6.60 | 24.39 | 0.094 1dice2xkj 32 0.00049 | 3417 | 1 (0.00029) | 3405 | 11 | 106.99 | 100.40 | 1.29 | 6.59 | 93.841 1dice2zdo 64 0.00098 | 5167 | 7 (0.00136) | 5143 | 17 | 209.30 | 121.70 | 55.64 | 87.60 | 58.146 1dice37Ee 128 0.00195 | 6260 | 14 (0.00225) | 6198 | 48 | 1233.38 | 1143.24 | 40.25 | 90.13 | 92.692 1dice3jkp 256 0.00391 | 4638 | 21 (0.00454) | 4603 | 14 | 494.40 | 332.03 | 13.11 | 162.37 | 67.159 1dice4J1m 512 0.00781 | 7067 | 44 (0.00623) | 7018 | 5 | 1475.25 | 592.75 | 9.35 | 882.49 | 40.180 1dice5wwE 1000 0.01526 | 13311 | 186 (0.01398) | 13123 | 2 | 2140.42 | 1683.04 | 1.80 | 457.37 | 78.631 1dice61SN 1500 0.02289 | 7304 | 171 (0.02343) | 7127 | 6 | 2974.84 | 3383.09 | 15.00 | -408.24 | 113.723 1dice6DPt 2000 0.03052 | 7957 | 255 (0.03206) | 7699 | 3 | 3302.47 | 3015.76 | 9.24 | 286.71 | 91.318 1dice6gJg 3000 0.04578 | 7341 | 364 (0.04963) | 6970 | 7 | 4856.92 | 6429.68 | 24.99 | -1572.76 | 132.382 1dice6GV5 4000 0.06104 | 7889 | 503 (0.06378) | 7383 | 3 | 2888.61 | 2689.64 | 31.20 | 198.97 | 93.112 1dice6wBx 6000 0.09155 | 14890 | 1406 (0.09446) | 13479 | 5 | 8604.42 | 8781.98 | 7.01 | -177.55 | 102.064 1dice6YgE 8000 0.12207 | 30147 | 3774 (0.12522) | 26366 | 7 | 6206.82 | 5497.96 | 0.00 | 708.86 | 88.579 1dice7EYz 12000 0.18311 | 16380 | 3106 (0.18968) | 13269 | 5 | 6750.36 | 6908.21 | 14.50 | -157.85 | 102.338 1dice7fUk 16000 0.24414 | 43006 | 10434 (0.24266) | 32565 | 7 | 13545.31 | 13113.43 | 97.79 | 431.88 | 96.812 1dice7W2A 24000 0.36621 | 32168 | 11900 (0.37030) | 20236 | 32 | 13667.82 | 13608.03 | 212.63 | 59.79 | 99.563 1dice8EMZ 32000 0.48828 | 308319 | 150251 (0.48753) | 157939 | 129 | 95502.88 | 96267.43 | 2173.21 | -764.55 | 100.801 1dice97EC 32768 0.50000 | 128228 | 63938 (0.49893) | 64213 | 77 | 48099.37 | 46629.50 | 789.20 | 1469.86 | 96.944 1dice9wcM 48000 0.73242 | 90649 | 66699 (0.73616) | 23905 | 45 | 67451.56 | 65853.71 | 467.98 | 1597.84 | 97.631 1dicec9k7 52000 0.79346 | 350 | 272 (0.77714) | 78 | 0 | 184.19 | 179.40 | 0.00 | 4.78 | 97.400 1dicegEAr 56000 0.85449 | 99 | 76 (0.76768) | 23 | 0 | 196.36 | 148.35 | 0.00 | 48.00 | 75.552 1diceDCd2 60000 0.91553 | 38 | 32 (0.84211) | 6 | 0 | 22.33 | 22.17 | 0.00 | 0.15 | 99.302 1dice9wVt 64000 0.97656 | 5823 | 5572 (0.97857) | 122 | 129 | 5015.57 | 4822.75 | 239.20 | 192.81 | 96.156 -------------------------------------------------------------------------------------------------------------------------------------------- | 756209 | 319026 | 436190 | 993 | 285046.66 | 281324.42 | 4237.13 | 3722.24 | 98.694 --------------------------------------------------------------------------------------------------------------------------------------------
SD Profit before fees: 3722.24804889 BTC (1.306%) Cumulative Fees Paid: 380.64905000 BTC SD Profit after fees: 3341.59899889 BTC (1.172%) ---- Since Satoshi Dice started, there have been: Blockchain Tx: 2286024 : SatoshiDice Tx: 1396679 (61.1%) Blockchain MB: 967.7 : SatoshiDice Tx: 574.1 (59.3%)
|
|
|
In this picture: https://i.imgur.com/RNo0a.pngboth lines are higher than all the prices in all 14 time periods. How can that be, given that one of the lines is a 10 period EMA? The average shouldn't be higher than all 10 of the preceeding highs should it? The exponential decay of those averages is perfectly normal if they started at a much higher point in the previous bar. Ah, yes. I was misunderstand what an Exponential Moving Average was. A 10 day EMA takes more than 10 days' worth of data into account. In fact it takes all previous prices into account, but exponentially less so the further back it goes. It looks like the formula for calculating EMA is: new_ema = last_ema + (new_close - last_ema) * 2 / (periods + 1)where periods is the number of time periods (10 or 21).
|
|
|
Nice post! There are a couple of things I'd improve about it, and since it's a quality post maybe it's worth fixing/clarifying the OP: 2. Don't use this strategy for games where p > 0.5
Define p before using it. I'm not sure if it's my chance of winning or losing at this point. 1. Let number of rounds you want to play = "rounds"
In the previous thread, you were using 'round' to refer to "a sequence of plays ending in a win". I think now you may be using it to mean "a single bet, win or lose". Is that right? With martingale betting each round (a sequence of plays ending in a win) ends with a net win equal to your initial bet. (-1 + -2 + -4 + -8 + 16 == 1) so people may have a target number of these kinds of rounds, giving a target net win. Or they may have a certain amount of time, and so a target number of bets. Best to make it clear which you're talking about. 4. Let the multiplier each round after a loss be "m", m = 1/q
I think I need to multipy by a little more than 1/q to recoup my losses. If the house edge was 0% then multiplying by 1/q would be enough, but it's not. To keep the net win the same whenever the win happens, define m = 1/(1 - 1/mult) where mult is the payout multiplier. This still ignores the fact that you're paid half a percent of your stake when you lose, and are charged 0.0005 BTC on every payout, win or lose). [/quote] I have only one coin to spare and a days to spare
|
|
|
though iirc satoshidice was running at a loss for a while, i do not know if that is the case now
I regularly post statistics on https://bitcointalk.org/?topic=80312About 24 hours ago they were 3000 BTC up overall:
|
|
|
The video poker plays well. One comment: I'd like it to show how much I win when I win: I bet 10 and full house pays 9x - but I don't see "90" anywhere.
|
|
|
I think there's a misunderstanding here.
payb.tc is asking "can I use 'bitcoin -server' as the SERVER, instead of using bitcoind" - yes, you can
grue thinks you're asking "can I use 'bitcoin -server' as the CLIENT, instead of using bitcoind" - no, you can't
The confusion arises from the fact that bitcond can act as both an RPC client and an RPC server, and bitcoin can act as both a graphical app and an RPC server.
Hope that clears it up!
|
|
|
It shouldn't matter whether you use bitcoin -server or bitcoind - they should react the same way to RPC calls. I'm unable to reproduce having bitcoin fail like it is for you - but also I've not been able to find version 40101. I only see the following tags in the repository: $ git tag -l | grep v0.4 v0.4.0 v0.4.00rc1 v0.4.00rc2 and when I build v0.4.0: $ ./bitcoind getinfo { "version" : 40000, [...] the version string is 40000. I'm using Linux not Windows. I'd suggest updating to a recent version of bitcoin and see if that fixes the problem for you. I'm also wondering what happens if you try running bitcoind from the command line rather than using the PHP interface: $ ./bitcoind sendmany '' '{"1tipznMYcN4SFijpcVXomcynKWAGnNBQ3":1}' error: {"code":-6,"message":"Account has insufficient funds"}
You may find you need to omit the single quotes around the {...} in Windows - I'm not sure - try it with and without.
|
|
|
I've been using nothing but Linux for many years. I've tried a bunch of different distributions but usually end up with Ubuntu. I used Arch for a while and the documentation is great, but there was something about it which I just couldn't live with. I forget which it was now - maybe it used to freeze every 24 hours or so. Or maybe the wireless Internet wasn't very reliable on it. Something like that, which I couldn't find any solution to other than switching to Ubuntu.
Also, when I was using it the packages weren't signed at all. If the repository I was using was every compromised, Arch would happily download and install trojaned packages. I read that there were plans to upgrade the package manager to be able to handle signed packages, and to start signing the packages, but don't know if that's standard practice now or not. That seems like quite an oversight for a serious distribution.
|
|
|
I just built a version 4 bitcoind. I didn't let it touch my wallet, so I don't know if it would work fully, but it gets as far as complaining that the account I'm sending from has insufficient funds. Can you try code like this and tell me what it shows? $params = array();
$params['1addr1'] = 1.2; $params['1addr2'] = 1.3;
try { $bitcoin->sendmany('', $params); } catch (Exception $e) { print "caught exception: "; var_dump($e); }
|
|
|
Do you get any kind of an error message when it quits? Is there a logfile with errors in maybe?
Where did you get your copy of jsonRPCClient.php from?
What's 40101 the version number of?
|
|
|
I hadn't been aware of that, it's an interesting problem. Thanks! Btw, what are you using for charts? I was made aware of it by one of Derren Brown's TV shows - possibly this one. I'd check but I think the storm outside is making my Internet connection too flaky to do anything much at the moment. The charts are from gnuplot using data generated by a modified version of the extras/sample_armory_code.py script in the armory git repository.
|
|
|
this isn't working for me... i've tried every different combination of single quote / double quote but the following just kills the json-rpc connection:
What do you see if you do this: $params = array();
var_dump($params);
$params['1addr1'] = 1.2; $params['1addr2'] = 1.3;
var_dump($params);
var_dump($bitcoin->sendmany('account', $params)); The var_dump should show you what's going wrong. Maybe it's "PHP Fatal error: Uncaught exception 'Exception' with message 'Request error: {"code":-6,"message":"Account has insufficient funds"}'" or "PHP Fatal error: Uncaught exception 'Exception' with message 'Request error: {"code":-13,"message":"Error: Please enter the wallet passphrase with walletpassphrase first."}'" or some such other error. It should give you an idea of what's going wrong though.
|
|
|
I think you're confusing Hazek with Hayek.
(FTFY) Try typing Hayek on a German keyboard and see what you get... The 'y' and 'z' are switched: The positions of the "Z" and "Y" keys are switched, this change being made for two major reasons: "Z" is a much more common letter than "Y" in German; [...]
|
|
|
After all that unpleasant maths back the your regularly scheduled tables of numbers and graphs... Results: 2012-Jul-20 11:44am (up to block 189971)
Address Target Should Win | #Bets | Win | Lose | Refunds | BTC In | BTC Out | Refund | Profit | RTP -------------------------------------------------------------------------------------------------------------------------------------------- 1dice1e6p 1 0.00002 | 10450 | 0 (0.00000) | 10180 | 270 | 51.83 | 0.01 | 16.30 | 51.82 | 0.037 1dice1Qf4 2 0.00003 | 989 | 0 (0.00000) | 920 | 69 | 7.94 | 0.00 | 5.38 | 7.94 | 0.022 1dice2pxm 4 0.00006 | 1498 | 0 (0.00000) | 1466 | 32 | 13.55 | 0.00 | 1.22 | 13.55 | 0.049 1dice2vQo 8 0.00012 | 1284 | 0 (0.00000) | 1244 | 40 | 18.14 | 0.00 | 4.15 | 18.13 | 0.034 1dice2WmR 16 0.00024 | 1476 | 0 (0.00000) | 1446 | 30 | 24.37 | 0.02 | 6.60 | 24.34 | 0.094 1dice2xkj 32 0.00049 | 3417 | 1 (0.00029) | 3405 | 11 | 106.99 | 100.40 | 1.29 | 6.59 | 93.841 1dice2zdo 64 0.00098 | 5167 | 7 (0.00136) | 5143 | 17 | 209.30 | 121.70 | 55.64 | 87.60 | 58.146 1dice37Ee 128 0.00195 | 6257 | 14 (0.00225) | 6195 | 48 | 1233.36 | 1143.24 | 40.25 | 90.11 | 92.693 1dice3jkp 256 0.00391 | 4609 | 21 (0.00457) | 4574 | 14 | 491.61 | 332.02 | 13.11 | 159.58 | 67.538 1dice4J1m 512 0.00781 | 6931 | 43 (0.00621) | 6883 | 5 | 1460.76 | 580.23 | 9.35 | 880.52 | 39.721 1dice5wwE 1000 0.01526 | 12041 | 169 (0.01404) | 11870 | 2 | 2089.30 | 1665.78 | 1.80 | 423.51 | 79.729 1dice61SN 1500 0.02289 | 7031 | 163 (0.02320) | 6862 | 6 | 2947.56 | 3355.32 | 15.00 | -407.76 | 113.834 1dice6DPt 2000 0.03052 | 7634 | 244 (0.03197) | 7387 | 3 | 3242.60 | 2968.55 | 9.24 | 274.04 | 91.549 1dice6gJg 3000 0.04578 | 7038 | 350 (0.04978) | 6681 | 7 | 4810.53 | 6361.10 | 24.99 | -1550.57 | 132.233 1dice6GV5 4000 0.06104 | 7602 | 487 (0.06409) | 7112 | 3 | 2775.87 | 2565.27 | 31.20 | 210.59 | 92.413 1dice6wBx 6000 0.09155 | 14370 | 1355 (0.09433) | 13010 | 5 | 8526.55 | 8694.98 | 7.01 | -168.42 | 101.975 1dice6YgE 8000 0.12207 | 29138 | 3640 (0.12495) | 25491 | 7 | 6098.25 | 5379.06 | 0.00 | 719.19 | 88.207 1dice7EYz 12000 0.18311 | 16210 | 3072 (0.18957) | 13133 | 5 | 6661.61 | 6807.11 | 14.50 | -145.49 | 102.184 1dice7fUk 16000 0.24414 | 42396 | 10284 (0.24261) | 32105 | 7 | 13255.13 | 12875.71 | 97.79 | 379.42 | 97.138 1dice7W2A 24000 0.36621 | 31849 | 11782 (0.37031) | 20035 | 32 | 13330.29 | 13301.97 | 212.63 | 28.32 | 99.787 1dice8EMZ 32000 0.48828 | 304780 | 148509 (0.48747) | 156142 | 129 | 93709.98 | 94614.77 | 2173.21 | -904.78 | 100.966 1dice97EC 32768 0.50000 | 127050 | 63345 (0.49888) | 63629 | 76 | 46098.86 | 44536.87 | 789.20 | 1561.98 | 96.612 1dice9wcM 48000 0.73242 | 89590 | 65896 (0.73590) | 23649 | 45 | 65018.36 | 63475.25 | 467.98 | 1543.10 | 97.627 1dicec9k7 52000 0.79346 | 157 | 123 (0.78344) | 34 | 0 | 61.72 | 60.32 | 0.00 | 1.39 | 97.733 1dicegEAr 56000 0.85449 | 51 | 39 (0.76471) | 12 | 0 | 131.38 | 93.56 | 0.00 | 37.82 | 71.213 1diceDCd2 60000 0.91553 | 22 | 17 (0.77273) | 5 | 0 | 15.59 | 15.31 | 0.00 | 0.27 | 98.235 1dice9wVt 64000 0.97656 | 5809 | 5560 (0.97853) | 122 | 127 | 5013.48 | 4820.66 | 239.20 | 192.82 | 96.154 -------------------------------------------------------------------------------------------------------------------------------------------- | 744846 | 315121 | 428735 | 990 | 277405.04 | 273869.34 | 4237.13 | 3535.69 | 98.725 --------------------------------------------------------------------------------------------------------------------------------------------
SD Profit before fees: 3535.69622366 BTC (1.275%) Cumulative Fees Paid: 374.93467500 BTC SD Profit after fees: 3160.76154866 BTC (1.139%) ---- Since Satoshi Dice started, there have been: Blockchain Tx: 2249769 : SatoshiDice Tx: 1376978 (61.2%) Blockchain MB: 952.8 : SatoshiDice Tx: 565.8 (59.4%) I noticed a sharp drop of 100 BTC or so on the red line about a day ago and looked to see what happened. This bet is responsible for the loss. 2 BTC on each of lessthan 1500, 2000, 3000, and 4000, with a lucky number of 920 winning all 4 bets. A 223.90897599 BTC return for an 8 BTC outlay! Bet: lessthan 3000 Bet Amount: 2.00000000 Payment: 42.65159066
Bet: lessthan 2000 Bet Amount: 2.00000000 Payment: 63.97263600
Bet: lessthan 1500 Bet Amount: 2.00000000 Payment: 85.29368133
Bet: lessthan 4000 Bet Amount: 2.00000000 Payment: 31.99106800
|
|
|
Just to clarify: withdrawals will only ever be processed manually, correct? This is just a request?
As I understand it he aims to make withdrawals as pain-free as possible without actually making them automatic. See these 2 quotes: if i open it up to non-forum members contacting me, i'll have to have all my scripts in place and as much automated as possible so that i can create accounts / do withdrawals with 1 click, etc.
bitcoind won't be part of this site... any signup form would draw from a database that's been pre-populated with off-server addresses.
I imagine the goal is for him to be able to look at the list of requested withdrawals, see that they look reasonable, and click something to submit them to the computer that actually has the ability to make the payments.
|
|
|
Here's how I think it works. You would have 2 hedging accounts one in $ the other in BTC (Because we are buying and selling against the dollar). These accounts would be at MtGox
i.e. Dollar account $10,000 Bitcoin account 10,000BTC
To perfectly hedge each trade we have to buy and sell from our hedging accounts to match the trade.
So in your example. He deposits 1BTC and sells (goes short) x10 on BTC. So he is short 10BTC.
The Bitcoinica clone would also have to sell 10BTC, i.e. convert 10BTC from the bitcoin account into the dollar account.
That way if the price falls the profit the trader makes is made up by the gains in the dollar account.
Can anyone correct my logic here ?
That makes sense, and is I guess how it worked. Assuming the price of BTC started at $10 and ended at $1, when the customer closes his position you can buy back the 100 BTC for the $100 you made by selling 10 BTC when the customer first shorted, so you end up with $10k and 10k BTC again. The problem is that now your 10k BTC are worth only $10k, whereas before they were worth $100k. You've lost $90,000 on the deal by being long BTC while the price crashed. Maybe this is why Bitcoinica borrowed BTC from customers, so they wouldn't be exposed to the currency risk.
|
|
|
I'm not sure of your method but you do have the correct answer. In general, the number of coin tosses it takes on average to get n heads in a row is given by: (p^(-n) - 1)/(1 - p), where p = 0.5 and n = the number of heads in a row Heads in a row Expect. no. tosses 1 2 2 6 3 14 4 30 5 62 6 126 Try this against your method and see if you're right in a few more cases. I'm not saying you're wrong, just that I don't follow how you got your result. Here, for 6 heads in a row. The expected length of a round is the sum of the probability of each outcome times the length of that outcome: Outcome | p(Outcome) | len(Outcome) | p(Outcome)*len(Outcome) | T | 1/2 | 1 | 1/2 | HT | 1/4 | 2 | 1/2 | HHT | 1/8 | 3 | 3/8 | HHHT | 1/16 | 4 | 1/4 | HHHHT | 1/32 | 5 | 5/32 | HHHHHT | 1/64 | 6 | 3/32 | HHHHHH | 1/64 | 6 | 3/32 | | | | ----- | | | | 63/32 |
so 63/32 flips. The expected number of rounds to get 6 heads is 64, the expected length of each round is 63/32, so the expected number of flips is 64*63/32 = 126. It was fun and I got to learn some new things. Plus you also persevered - I could have been wrong.
... and you were, a couple of times... But only in little ways. This reminded me of both Penney's game and the discussion around this question, both of which you may find interesting if you didn't see them before.
|
|
|
|