Bitcoin Forum
May 29, 2024, 09:43:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 »
101  Economy / Speculation / Re: Framework/library for bitcoin trading bot? on: March 28, 2013, 09:34:57 AM
Im looking for a framework/library to program a trading bot. Ideally Python but java or even C would be acceptable. Anyone can recommend any?

Just to be clear, Im not looking for an already programmed bot or strategies. Im looking for a library that it will facilitate writting my own.

Here's the only thing I've found that might fit the definition of "library" for trading, and it's in Java:

https://github.com/timmolter/XChange

Even though it's in Ruby, I'm finding this post helpful as I've started writing my own arbitrage bot in Python.  If you're looking to include arbitration in your bot, it may prove of use:

http://www.kelvinjiang.com/2010/10/currency-arbitrage-in-99-lines-of-ruby.html

Here are a few implementations of the above algo in Python:

http://shriphani.com/blog/2010/07/02/bellman-ford-algorithms-applications-triangular-arbitrage/
https://github.com/mlbright/arbitrage

I know that you're not looking for an actual bot, but here's one specifically for arbitrage in Python that might help you with exchange APIs. It's even licensed MIT (thanks maxme!). It uses a brute force algo for arbitration, and I don't know enough about this to say whether or not it would be as effective as something like Bellman-Ford. 

https://github.com/maxme/bitcoin-arbitrage

I
102  Economy / Speculation / Re: Unlikely Bitcoin price will ever surpass $5,000 on: March 27, 2013, 03:47:04 PM
Hyperinflation is caused by economy grinding to a halt accompanied by grossly incompetent or corrupted monetary policy. I do not think that will happen to the USD at least in the next 20 years. Yes, they're stupid but they're not THAT stupid.

High inflation (double-digit, and not necessarily low double-digit annual inflation percentage), such as seen in 1990s Russia, however, is possible. All it takes is a significant economic contraction combined with China deciding they don't want to support the US economy any more.

Where are you in the US that you don't think we have double-digit inflation *right now*?  Have you audited all your basic expenses from year to year?  I have, and the rate is hovering above 10% for the past 2 years.  Why do people believe the official numbers when all they have to do is run a few calculations on Quicken to see that those numbers are ridiculously low?
103  Bitcoin / Bitcoin Technical Support / Re: 0.8.1 upgrade help on: March 26, 2013, 07:01:51 PM
If you don't know how to do this, or don't feel comfortable doing it, then post a response and me or someone else will help

thanks for your detailed response. The problem is I do not know enough to "run" commands. If you remember I downloaded the update into a downloads file and extracted it, by default it loaded into documents. The old client is in the home directory however and that is how I was able to update it- by using split screen and dragging it across. Now the client in home says it is bitcoin 0.8.1 but the desktop icon to run it I have done nothing with. so my questions are these: can the two versions both be in the folder but with only the updated title and is the start icon pointing to the old version? Also I know I have a 32 bit linuxOS already. So should I try to copy the updated icon in the document folder to the desktop and try to run the new version like that or do I need to still run the commands you suggested? I am weary of deleting stuff although I have a backup wallet.dat and moved all btc's to a wallet on blockchain.info untill I sort this out!. reg

Great, smart move to move all your bitcoins elsewhere temporarily.  I'm relieved you did that.

I think someone else is helping you right now via teamviewer but if not pm me and I'll see if I can help you sometime today or tomorrow.
104  Bitcoin / Bitcoin Technical Support / Re: 0.8.1 upgrade help on: March 26, 2013, 05:17:03 PM
Hi reg,

First, make a safe, secure backup of your wallet.dat.  This is absolute. Do that before anything, and even if something goes wrong you'll still have your coins.

In my opinion, the simplest option is just to create a symbolic link to the upgraded bitcoin-qt client.  This is like a Windows shortcut.  Assuming you put it in a directory called 'Documents' in your home directory, you want to run this command in your terminal (ctrl-T usually).  If you use Ubuntu or Linux Mint, you'd run:

sudo rm /usr/bin/bitcoin-qt
sudo ln -s ~/Documents/bitcoin-0.8.1-linux/bin/64/bitcoin-qt /usr/bin/bitcoin-qt

Otherwise, you'd switch to root and then run the two command above without the sudo in front.  Make sure the directory names above match exactly your actual directory names (e.g., if you renamed bitcoin directory you'd need to adjust the directory name accordingly).

You'll need to change the 64 in the command above to a 32 if your os is 32-bit.  You can check this by running:

uname -p

If it says "x86_64" or "ia64", you need "64" but if it says anything else, like "i686" or "i386", then you need "32".

Normally, you'd want to move the new bitcoin app to another location (like /opt) but for the sake of simplicity just keep it in the Documents directory unless you feel comfortable moving it. If you do move it, you'll need to relink it using the commands above, but with the new directory.

Once you do this, any menu shortcuts you have to bitcoin should run the updated version.  You'll need to delete all the files from your .bitcoin hidden directory except your wallet.dat before you run the updated client.  The safest way to do that is to make sure you've backed up (copied) your wallet.dat to another directory, then delete all the files in the .bitcoin directory, then copy the wallet.dat back in.  Use the GUI file manager for this if you feel more comfortable.  The new version of bitcoin will still look for your wallet in the same default location (the ls -".bitcoin" directory).  If you don't know how to do this, or don't feel comfortable doing it, then post a response and me or someone else will help.

Good luck!  And just know that as long as you have the wallet.dat backed up, there's almost always a way to get to your coins if something goes wrong (nothing should go wrong if you follow the directions above).  So make sure you've securely backed up wallet.dat before any of this, and make sure it's a new backup.

105  Economy / Speculation / Re: Recent Price Rise driven by Euro on: March 26, 2013, 04:07:42 PM
IIRC Euro prices were always a tad higher in comparison.
The few times I bought BTC it was a better deal to pay mtgox to convert my euros to dollar and buy there.

I noticed that too, but it seems a bit more than usual in the last days.

Also, bitstamp, an exchange that caters to Europeans dealing in the dollar, is leading the charge.  More support for this hypothesis that Europe is getting on board.
106  Economy / Speculation / Re: 80 and it is not mtgox on: March 26, 2013, 01:17:38 PM
bitstamp is rather "empty" … hence those spikes to the upside, probably done by not so careful new traders, who just buy without knowing the market depth. 800 coins to $100, btw.

Or it could be the Europeans entering the Bitcoin economy, since bitstamp caters to Europe with its Sepa deposits. 

Europeans prefere btc24 - currently trades are at 65 EUR/BTC comparing with mtgox 60-61 EUR/BTC

Perhaps those that do business in Euros, but many of those Europeans who use USD may prefer bitstamp.  I don't have a preference (although I'm impressed with bitstamp's design), just floating a hypothesis.
107  Economy / Speculation / Re: 80 and it is not mtgox on: March 26, 2013, 01:09:41 PM
bitstamp is rather "empty" … hence those spikes to the upside, probably done by not so careful new traders, who just buy without knowing the market depth. 800 coins to $100, btw.

Or it could be the Europeans entering the Bitcoin economy, since bitstamp caters to Europe with its Sepa deposits. 
108  Economy / Speculation / Re: Cypriot banks open in Tuesday (not in 4 hours).. Who wants to make a prediction? on: March 25, 2013, 10:56:36 AM
Don't look toward Cyprus in the coming days.  Look toward Bitcoin adoption in Spain and Italy.  That's where the real impact of the situation in Cyprus will land.
109  Bitcoin / Bitcoin Discussion / Re: Bitcoin Enthusiasts, We Need to Have a Serious Discussion about Malware on: March 23, 2013, 08:38:57 PM
I agree completely.  Is a custom Linux distro the best solution?  It may well be, perhaps booting into a kiosk app.  Are you imagining people would use it to create a wallet to store funds, perhaps on an external USB with a paper wallet backup?  And then maybe boot into the distro whenever they need to top up their everyday wallet, whether that's Electrum, the official client, blockchain.info, or some other client.  This working wallet would only contain the funds they could afford to lose.

There was LinuxCoin, which was based on debian.  As far as I know, it was last updated in 2011 so it's now fairly obsolete.  I used it back then, and it's nice but not targeted toward non-tech folks.  However, I had missed BitSafe, mentioned in this thread.  I'll have to look into it, looks impressive.  Wonder if the GUI is friendly enough for non-Linux people.

I'm imagining something akin to a kiosk app that the distro would boot into, which would have simple buttons/menus for doing things like creating addresses, backing up, sending, paper wallets, etc.  Kivy is a good Python framework for creating kiosk apps that runs on Linux and Android (and other platforms).

I think that in addition to Linux, it's worth considering Android for this kind of OS that would boot into a single app, using bitcoinj.

I've got a lot of Linux experience and am comfortable with Kivy, and other GUI toolkits as well.  Unfortunately, I'm also quite booked for the next few weeks.  Nonetheless, I agree this is something that needs to be done and I'd like to contribute whatever I can, whether that's bash or Python scripts or something else.  It may be that Bitsafe fulfills our needs, and just needs to promoted among Bitcoin novices.
110  Bitcoin / Bitcoin Technical Support / Re: Lost my bitcoins after upgrade to 0.8 wallet on: March 22, 2013, 02:27:26 PM
Great, I'm glad.  For the reference of future readers, the fact that you were able to retrieve them using Mac TimeMachine means that if this approach hadn't worked, someone would likely have been able to guide you to get your Bitcoins through using something like pywallet to dump the keys.  So if you "loose" Bitcoins during an upgrade, they're almost certainly still there, and if you remain calm like marra you should be able to retrieve them.

In any case, glad you got your coins back marra.   Well done.

In the future, all of this will be easier...  Getting better by the day.
111  Bitcoin / Bitcoin Technical Support / Re: Lost my bitcoins after upgrade to 0.8 wallet on: March 22, 2013, 11:19:38 AM
How did it go?
112  Bitcoin / Project Development / Re: Automated bitcoin arbitrage on: March 22, 2013, 03:48:01 AM
Does this bot require 2 exchanges for trading to happen? If yes is it possible to do trades with only 1?

Yes it requires 2 exchanges. Arbitrage means "buy at X on a market and sell at X+y on another market at the same time".

http://en.wikipedia.org/wiki/Arbitrage

No, it certainly doesn't require 2 exchanges.  There are thousands of people doing cross-currency arbitrage as we write this.  See: http://en.wikipedia.org/wiki/Triangular_arbitrage  This can be done in a single exchange.

And cross-currency arbitrage is getting quite popular in exchanges with several virtual and fiat currencies, like vircurex and btc-e.

A market is not synonymous with "an exchange".  Each exchange has multiple markets (usually): USD-BTC, EUR-BTC, LTC-BTC, etc.
113  Bitcoin / Bitcoin Technical Support / Re: Lost my bitcoins after upgrade to 0.8 wallet on: March 21, 2013, 09:51:37 PM
ok guys, rescan didn't work, yet it gave me an idea... I pulled the old bitcoin-qt version including wallet and chain files from 2 weeks ago using time machine...

balance looks ok and it's not infected with unknown transactions... since there are many transactions on that wallet and i think it is dating from early 2011, I will just forward funds to another one which is using latest bitcoin-qt and download the whole chain again... also, i had a hard drive accident in june 2011 and i changed the whole computer couple of months ago... it could be that just the crc during copying on backup caused the craziness on my piece of blockchain since it has changed a couple of hard drives in the last 2 years...

many thanks for assistance...

cheers



Well, you could spend money on bitcoin, and if you restored a backup from 2 weeks ago, and if bitcoin-qt hadn't yet caught up with the blockchain, it would still show your spent balance.  But you couldn't get any confirmations if you tried to spend them.  So this is not really a definitive restoration until the old client has caught up with the blockchain.  So make sure the client is caught up with the blockchain before you try to spend them (make sure it no longer says "unsynchronized").

Good luck.
114  Bitcoin / Bitcoin Technical Support / Re: Lost my bitcoins after upgrade to 0.8 wallet on: March 21, 2013, 04:16:03 PM
Ok, thanks guys, I'll try first with rescan.

But shouldn't upload of wallet.dat to blockchain do the same as rescan?

Yes, theoretically.  But I'm not very familiar with blockchain.info  I'd download the very latest official bitcoin-qt client (8.1), not earlier versions since there was a change in database backends that could be causing your problem.  And then just >bitcoin-qt -datadir=/folder/with/wallet.dat -rescan  

First with your regular wallet, and if that doesn't work with your backup.  It will take a while but please let us know how it goes.

PS: Make sure your antivirus and/or firewall are not blocking bitcoin.
115  Bitcoin / Bitcoin Technical Support / Re: Lost my bitcoins after upgrade to 0.8 wallet on: March 21, 2013, 04:03:10 PM
When you send coins, they are sent to at least 2 different addresses. One is your intended recipient address. The other is a change address that you own. In some clients, the change address can be the same as your original public key address.

Also, your backup may be old. You need the latest one if you had done that many transactions.

Yes, totally, my bad.  If there are more than 100 transactions since you made your backup, you need to use the latest one.  

But the fact that this happened right around your upgrade makes me think that you've encountered a (very panic inducing) bug that can be resolved if you keep your cool.
116  Bitcoin / Bitcoin Technical Support / Re: Lost my bitcoins after upgrade to 0.8 wallet on: March 21, 2013, 03:55:07 PM
How can someone reduce the number of transactions on my wallet?

Yesterday, there were 450 transactions and 9.16btc ballance, today after upgrade I have 250 transactions and 0.0001btc balance... The blockchain has been manipulated...

OK, that's a good sign.  I think your coins may still be there.  Don't panic.

Have you tried downloading the latest client (8.1) then running if from the command line like this: bitcoin-qt -datadir=/folder/with/wallet.dat -rescan

It will take a while, but do that first with your backed-up wallet, then with your regular one.

It would be unheard of for the blockchain to have been manipulated, and if that happened much larger accounts than yours would be affected.

EDIT: Just to be sure, where did you download your upgrade from?
117  Alternate cryptocurrencies / Altcoin Discussion / Re: [resolved] *WARNING* Ripple to Bitstamp.net - BTC may disappear on: March 19, 2013, 09:17:50 PM
Problem was resolved. However, final ripple transaction took more than 12 hours. (I was under the impression that they are instant.)

Can bitstamp provide more details on what happened. Do Ripple transactions go through eventually given reasonable time (like bitcoin) or is there manual intervention required if some transactions disappear but money is deducted from sender?

You're correct, Ripple transactions are virtually instant.  It appears that Bitstamp is having to manually clear transactions from time to time.  Perhaps because their hotwallet runs out.  Bitstamp devs, any comment?
118  Alternate cryptocurrencies / Altcoin Discussion / Re: *WARNING* Ripple to Bitstamp.net - BTC may be lost on: March 19, 2013, 01:24:38 AM
I posted on service discussion but I feel its appropriate here to warn others who might lose their XRPs/BTCs doing what I did.

Do not try to transfer large amount of BTCs from ripple.com to bitstamp.net using the method described here. Long story short, the 1 BTC I transferred disappeared.

They just sorted out a similar problem with me (for about 3 btc), crediting my account for a missing Ripple deposit just hours after contacting them at their support e-mail.  Contact them directly at their support e-mail with the transaction id and they'll almost certainly credit your account.  It's 2 a.m. in Europe now, which is likely why there is no response.
119  Alternate cryptocurrencies / Altcoin Discussion / Re: A Report on Litecoin on: March 18, 2013, 10:50:44 PM
Thank you.  Very well done summary of the current state of Litecoin.  Maybe this can become a tradition?  Day after St. Paddy's?
120  Economy / Service Announcements / Re: Announcement: Tradehill is back on: March 18, 2013, 04:59:35 PM
Congrats.  It's good to see you all back.  You were always my favorite exchange.  Now, if I had only kept all the btc I bought from tradehill...
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!