Bitcoin Forum
June 23, 2024, 10:27:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Project Development / Re: Chart for website. on: November 09, 2013, 10:43:12 AM
https://www.bitstamp.net/api/

https://btc-e.com/api/2/btc_usd/ticker

Code:
<?php

        
function getStats($e) {
            
$cookies tmpfile();
            
$userAgent 'duxZero';

            
$eURL NULL;

            switch (
$e) {
                case 
"btc-e":
                    
$eURL "https://btc-e.com/api/2/btc_usd/ticker";
                    break;
                case 
"bitstamp":
                    
$eURL "https://www.bitstamp.net/api/ticker/";
                    break;
                default:
                    
$eURL "https://www.bitstamp.net/api/ticker/";
                    break;
            }

            
$cURL curl_init($eURL);

            
$options = array(
                
CURLOPT_CONNECTTIMEOUT => 20,
                
CURLOPT_USERAGENT => $userAgent,
                
CURLOPT_AUTOREFERER => true,
                
CURLOPT_FOLLOWLOCATION => true,
                
CURLOPT_RETURNTRANSFER => true,
                
CURLOPT_COOKIEFILE => $cookies,
                
CURLOPT_COOKIEJAR => $cookies,
                
CURLOPT_SSL_VERIFYPEER => 0,
                
CURLOPT_SSL_VERIFYHOST => 0
            
);

            
curl_setopt_array($cURL$options);
            
$contents curl_exec($cURL);
            
curl_close($cURL);
            return 
json_decode($contentstrue);
        }

        
$a getStats("btc-e");
        echo 
$a['ticker']['high'];

        echo 
"<br/>";

        
$b getStats("bitstamp");
        echo 
$b['high'];
        
?>


Thank you very much!
2  Bitcoin / Project Development / Re: Chart for website. on: November 09, 2013, 09:47:48 AM
Just use the API's for the big popular exchanges.

I can even give you a snippet that does this if need be.


That be awesome thank you! I need to learn more about how JSON and how the different APIs work lol.
3  Bitcoin / Project Development / Chart for website. on: November 09, 2013, 07:43:14 AM
Hello, I would like to put a chart on my website that shows the current BTC-e and Bitstamp BTC price. However I am not quite sure how to do this. I have a feeling it would be PHP parsing JSON from the exchanges but I'm not quite sure. Anyone know how to do this that could help? Smiley
4  Economy / Trading Discussion / Re: Trade bot needed. on: September 15, 2013, 11:54:38 PM
That is what you are asking for.
You think there is a freely available program you can just download and run that will magically make money for you, more than just staying in the market passively.
Life doesn't work that way.
Just think, if there was such a program, why wouldn't everyone be running it?
But if everyone was running it, they couldn't all be making more than the market average, could they?

There are paid bots that do this....
5  Economy / Trading Discussion / Re: Trade bot needed. on: September 15, 2013, 10:21:24 PM
Alright, I am in need of a trading bot. I need a bot that will run on Ubuntu(command line), is free, has a decent - high return, and is open source. I am at work all day and it would be nice to set up the bot, have it run, and make money when I am away. Anyone have any suggestions? I have tried tAPIbot and it looks awesome but for some reason I cant get it working.

Thanks!

I CAN HAS FREE MONIEZ?

Lolwut
6  Economy / Trading Discussion / Re: Trade bot needed. on: September 14, 2013, 07:55:42 PM
Alright, I am in need of a trading bot. I need a bot that will run on Ubuntu(command line), is free, has a decent - high return, and is open source. I am at work all day and it would be nice to set up the bot, have it run, and make money when I am away. Anyone have any suggestions? I have tried tAPIbot and it looks awesome but for some reason I cant get it working.

Thanks!
Who let you out of the newbie section.


This didn't help me at all.....
7  Economy / Trading Discussion / Trade bot needed. on: September 14, 2013, 05:06:26 AM
Alright, I am in need of a trading bot. I need a bot that will run on Ubuntu(command line), is free, has a decent - high return, and is open source. I am at work all day and it would be nice to set up the bot, have it run, and make money when I am away. Anyone have any suggestions? I have tried tAPIbot and it looks awesome but for some reason I cant get it working.

Thanks!
8  Bitcoin / Project Development / Re: Wanting to start bitcoin trade club in the Chilliwack/Fraser Valley area. on: September 09, 2013, 02:17:34 AM

That group is amazing but the issue is that some bitcoiners do not want to make the trip from the fraser valley down to van. Would be nice to have a local one, know what I mean?

True enough long distances are always a pain, just helping out by pointing a possible location, but the best of luck to you with your personal project we need one over here in Cowtown Tongue and I'm certain a lot of places will have more bitcoin meetups in the long run.
Best of luck mate and to mass bitcoin adoption  Wink


Thanks Smiley
9  Bitcoin / Meetups / Chilliwack and Fraser Valley Bitcoin Club on: September 06, 2013, 08:49:58 AM
I have been wanting to create a club in the Chilliwack Fraser valley for quite a while now. The club would consist of weekly or monthly meetings at the local starbucks, talking about mining, trading, and current bitcoin news. This would also allow people to trade there coins while they are meeting. One of the most important things is that it would allow us to share bitcoin with people who do not know what it is in the fraser valley. A'lot of people don't understand the currency here and I would like to change that. If you are interested in this please message me or leave a response Smiley
10  Bitcoin / Project Development / Re: Wanting to start bitcoin trade club in the Chilliwack/Fraser Valley area. on: September 05, 2013, 02:39:14 AM

That group is amazing but the issue is that some bitcoiners do not want to make the trip from the fraser valley down to van. Would be nice to have a local one, know what I mean?
11  Bitcoin / Project Development / Re: Wanting to start bitcoin trade club in the Chilliwack/Fraser Valley area. on: September 04, 2013, 11:51:11 PM
You probably want this area of the forum or maybe https://www.coinforum.ca/
https://bitcointalk.org/index.php?board=86.0

Well crap thank you Smiley Admins if you see this can you move the thread?
12  Bitcoin / Project Development / Wanting to start bitcoin trade club in the Chilliwack/Fraser Valley area. on: September 04, 2013, 11:26:28 PM
Not sure if I am posting this in the right place so I apologize if I haven't. I have been wanting to create a club in the Chilliwack Fraser valley for quite a while now. The club would consist of weekly or monthly meetings at the local starbucks, talking about mining, trading, and current bitcoin news. This would also allow people to trade there coins while they are meeting. One of the most importent things is that it would allow us to share bitcoin with people who do not know what it is in the fraser valley. A'lot of people don't understand the currency here and I would like to change that. If you are interested in this please message me or leave a response Smiley
13  Economy / Collectibles / Re: [WTS] NastyFans 1g .999 Fine Silver Collector's Rounds (2013) on: August 16, 2013, 07:03:55 PM
Are you shipping to Canada?

I will ship outside the US as long as you understand that it will literally be sent in an envelope with stamps for postage. The risk that it arrives is on you. See below. There is non additional cost for this shipping method.

...if you are willing to take the risk, I have no problem putting a few of these in a regular envelope, slapping a couple stamps on it and dropping it in the mail for you.  I however wouldn't be responsible if they never made it to you.  If you are willing to take that risk, just place a small order (no more than 10 coins) and add in your signed message that you accept the risk of having these shipped internationally to you with no insurance or tracking.

Thank you I will order soon Smiley Do they come in a airtight capsule like other silver or gold coins?
14  Economy / Collectibles / Re: [WTS] NastyFans 1g .999 Fine Silver Collector's Rounds (2013) - 0.025 BTC on: August 16, 2013, 06:54:46 PM
Are you shipping to Canada?
15  Other / Beginners & Help / Re: Hello on: August 12, 2013, 08:37:18 PM
Anyone else having issues with bitpay? I installed the plugin on opencart but when I did a test transaction I keep getting a could not communicate with payment provider.
16  Other / Beginners & Help / Re: Hello on: August 12, 2013, 10:42:16 AM
welcome to the club Smiley

Thanks Smiley
17  Other / Beginners & Help / Hello on: August 12, 2013, 03:24:50 AM
Hello, I have been using crypto for a while but finally just signed up! Just thought id come and say hi. Go check out my Bitmit store aswell Smiley
https://www.bitmit.net/en/item/49757-bitcoin-vanity-address-with-5-chars-precision

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!