Pages:
Author

Topic: Bitcoinica Helper (userscript) (Read 4712 times)

donator
Activity: 3108
Merit: 1166
February 26, 2012, 02:49:25 PM
#51
just upgraded to the new improved swaps version, it's great, many thanks Smiley
hero member
Activity: 607
Merit: 500
February 25, 2012, 10:58:38 AM
#50
Multiple positions are possible? How? If I place any orders when I already have an open position, they get added/subtracted to the old position.

It only happened to me by "accident", apparently when multiple standing orders were executed within a very short time.

This never happened to me before, but should be easy to fix.
legendary
Activity: 1145
Merit: 1001
February 25, 2012, 10:07:21 AM
#49
Multiple positions are possible? How? If I place any orders when I already have an open position, they get added/subtracted to the old position.

It only happened to me by "accident", apparently when multiple standing orders were executed within a very short time.
hero member
Activity: 686
Merit: 500
Bitbuy
February 25, 2012, 09:14:18 AM
#48
It's a very nice script, thank you.

It doesn't seem to work properly when you have more than one position:


Multiple positions are possible? How? If I place any orders when I already have an open position, they get added/subtracted to the old position.
legendary
Activity: 1145
Merit: 1001
February 25, 2012, 07:33:35 AM
#47
It's a very nice script, thank you.

It doesn't seem to work properly when you have more than one position:
legendary
Activity: 1904
Merit: 1002
February 18, 2012, 07:23:39 PM
#46
http://tech.shantanugoel.com/2011/09/19/chrome-scriptextension-installation-error-could-not-read-source-file.html

Basically, I had a bitcoinica.user.js in my downloads folder that needed deleted.
hero member
Activity: 607
Merit: 500
February 18, 2012, 06:55:15 PM
#45
Weird Undecided. Works for me, tried just a moment ago.
legendary
Activity: 1904
Merit: 1002
February 18, 2012, 06:43:30 PM
#44
I've updated the script to v1.2.2. Changes:

- Fixed liquidation price (which was broke by swap addition on Bitcoinica)
- Fixed re-enabling amount buttons
- Removed LIMIT order option (it's now directly available on the UI, just click on the crosshair)

Chrome is giving me "could not read source file".  Same error even after downloading it and opening it from the HD.
hero member
Activity: 607
Merit: 500
February 18, 2012, 06:34:18 PM
#43
I've updated the script to v1.2.2. Changes:

- Fixed liquidation price (which was broke by swap addition on Bitcoinica)
- Fixed re-enabling amount buttons
- Removed LIMIT order option (it's now directly available on the UI, just click on the crosshair)
hero member
Activity: 607
Merit: 500
February 14, 2012, 04:31:16 AM
#42
Yeah, that's basically what's needed for script to be fixed. I didn't had access to my desktop computer so I couldn't update the script, but you can do it yourself this way.
hero member
Activity: 602
Merit: 508
Firstbits: 1waspoza
February 14, 2012, 04:23:01 AM
#41
A quick fix for those interested (not sure if it is complete):
Change line 75 from:
net_value = USER_ParseCurrency(account_data[13].innerHTML);
to:
net_value = USER_ParseCurrency(account_data[15].innerHTML);

and Change line 76 from:
maintenance = USER_ParseCurrency(account_data[15].innerHTML);
to:
maintenance = USER_ParseCurrency(account_data[17].innerHTML);

Works for me. Thanks!
sr. member
Activity: 461
Merit: 251
February 13, 2012, 09:09:08 PM
#40
A quick fix for those interested (not sure if it is complete):
Change line 75 from:
net_value = USER_ParseCurrency(account_data[13].innerHTML);
to:
net_value = USER_ParseCurrency(account_data[15].innerHTML);

and Change line 76 from:
maintenance = USER_ParseCurrency(account_data[15].innerHTML);
to:
maintenance = USER_ParseCurrency(account_data[17].innerHTML);
hero member
Activity: 607
Merit: 500
February 13, 2012, 06:20:47 AM
#39
Yeah, I guess it could break the script if they've changed HTML on the site. I'll look at this later today.
hero member
Activity: 602
Merit: 508
Firstbits: 1waspoza
February 13, 2012, 06:08:25 AM
#38
Did bitcoinica swaps break the script? I got wrong data and had to disable it.

Yup, looks broken to me.
hero member
Activity: 532
Merit: 500
February 13, 2012, 06:04:10 AM
#37
Did bitcoinica swaps break the script? I got wrong data and had to disable it.
Yeah my base price is 5.40 and it says my liquidation price is at 5.9 on my long position.
legendary
Activity: 1458
Merit: 1006
February 13, 2012, 05:58:23 AM
#36
Did bitcoinica swaps break the script? I got wrong data and had to disable it.
hero member
Activity: 607
Merit: 500
January 24, 2012, 01:55:59 AM
#35
@Maged: Yeah, the code for unsafeWindow is obsolete now. I've also changed "addMootools" function to just "addScript", because it wasn't loading Mootools (I wanted to do that in the first place, but I've changed my mind), just adding the script to main page body. Thanks for the suggestion.
legendary
Activity: 1204
Merit: 1015
January 23, 2012, 10:31:48 PM
#34
someone check the code if it doesn't track our positions
Done. Version 1.2.0 is completely safe, as of this message.

@M4v3R: You can get rid of line 12-20. Mootools makes unsafeWindow obsolete. I'm glad to see that you moved away from unsafeWindow, though.
legendary
Activity: 1834
Merit: 1019
January 23, 2012, 09:21:33 PM
#33
someone check the code if it doesn't track our positions, anddd donation link/adderss? This is very useful, and I know some appreciative donations would probably incentivize you for improvements too Smiley
hero member
Activity: 532
Merit: 500
January 23, 2012, 04:35:42 PM
#32
New version of the script

Added feature: shows you how much BTC are your dollars worth and vice-versa, when you hover your mouse over these values:



Sweet.  Could you add a function calculate the user's current margin call rate?
Pages:
Jump to: