Pages:
Author

Topic: Cryptocurrency Trading Platform - page 2. (Read 8072 times)

hero member
Activity: 756
Merit: 500
April 05, 2016, 03:23:46 AM
#26
I added some specific issues here if anybody wanted to work on them: https://github.com/AdamCox9/nickelbot/issues

Feel free to post project proposals as either a customer or a developer in this thread so that you can meet with other interested parties.
are you done creating exe files for windows? it will be more easy to many members if you just did.
this kind of a apps can create more possibility to earn from trading, so if you can build it in windows
just like a simple apps that easy to execute many members here can benefit with this share, thanks mate
full member
Activity: 145
Merit: 112
To the moon!
April 05, 2016, 03:10:03 AM
#25
I added some specific issues here if anybody wanted to work on them: https://github.com/AdamCox9/nickelbot/issues

Feel free to post project proposals as either a customer or a developer in this thread so that you can meet with other interested parties.
full member
Activity: 145
Merit: 112
To the moon!
April 05, 2016, 12:07:27 AM
#24
I set-up up the API and GUI here: https://github.com/AdamCox9/nickelbot/tree/master/api and https://github.com/AdamCox9/nickelbot/tree/master/gui

The HTML file for the GUI is here: https://github.com/AdamCox9/nickelbot/blob/master/gui/index.html
There is a CSS style here: https://github.com/AdamCox9/nickelbot/blob/master/gui/style.css
There are some JS files in the GUI directory.

You can see the API calls that are made in AJAX: https://github.com/AdamCox9/nickelbot/blob/master/api/scrypt.php
Be careful with the Adapters array and Adapter objects in the array because they contain the API_KEY and API_SECRET which could be leaked over the web in an unintended print_r or something.

I'll be adding some more features soon. Please feel free to request features.

If you could fill out these questionnaires, that would be great:

Survey Questions: http://goo.gl/forms/yh28kJu0mH
Interview Questions: http://goo.gl/forms/DHTxkPaevZ

Feel free to ask me any questions about getting started or anything else.

EDIT: fixed links to match updates; clarified
full member
Activity: 145
Merit: 112
To the moon!
April 03, 2016, 01:52:14 AM
#23
I just wanted to give credit to the good folks at BTCJam for funding NickelBot in full: https://btcjam.com/listings/56481-trading
Here is an address from BTCJam in case if I get assassinated for publishing NickelBot (You can pay back my loan so my name is not left in vain: 16dGavU3zsBFYmd2vzJbSAUxAjJruEJtTF)

Also, I added some code so that all Open & Completed orders are returned in AJAX calls: http://www.nickelbot.com/

They call the files in http://www.nickelbot.com/data/ which is at https://github.com/AdamCox9/nickelbot/tree/master/data

I know that I have a lot of coins up on the account on the code that is run at http://www.nickelbot.com/ which holds my API Keys/Secrets and is fully downloadable at https://github.com/AdamCox9/nickelbot and I want to share it with people but I would like to ask that nobody hacks my server at 104.130.212.109
full member
Activity: 145
Merit: 112
To the moon!
April 02, 2016, 02:04:59 PM
#22

can nickelbot be sync with secondstrade to which we bid using the platform?

I'm happy trading on binary and its somehow a hardware monster to opening  secondstrade.com using the browser which requires a lot of computer resources while also running a harddrive wallet which i think can be a security issue.

It is not compatible with secondstrade and I am not familiar with what secondstrade is. Possibly in the future, I will research secondstrade and see if there is anyway that NickelBot can interact with secondstrade.
legendary
Activity: 2282
Merit: 1041
April 02, 2016, 04:18:11 AM
#21

can nickelbot be sync with secondstrade to which we bid using the platform?

I'm happy trading on binary and its somehow a hardware monster to opening  secondstrade.com using the browser which requires a lot of computer resources while also running a harddrive wallet which i think can be a security issue.
full member
Activity: 145
Merit: 112
To the moon!
April 01, 2016, 02:28:05 PM
#20
These are some of my notes and stuff I use to set-up a Linux server if this will help anyone getting started.


/*****
   Building Fedora 21
*****/

rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-*

yum update -y
yum install nano mlocate -y
updatedb

tar -zcvf dir.tar.gz /path/to/dir
tar -zxvf dir.tar.gz

EDITOR=nano
export EDITOR


/*****

   SSH

 *****/

nano -wS /etc/ssh/sshd_config
#uncomment line #Port 22 and change to Port up to 65000

/*****
   Web Server
 *****/

yum groupinstall -y "Web Server" "MySQL Database" "PHP Support"
yum install -y php-simplexml php-mysql
apachectl start
chkconfig httpd on
systemctl list-unit-files
ln -s target_path link_path
tail -f -n 222 /var/log/httpd/access_log
tail -f -n 222 /var/log/httpd/error_log
chmod -R 777 /mnt/vol2/cache

nano -wS /etc/httpd/conf/httpd.conf
   ErrorDocument 404 /not-found.html
   
       ServerAdmin [email protected]
       ServerName nickelbot.com:80
       ServerAlias www.nickelbot.com *.nickelbot.com
       DocumentRoot /var/www/www.nickelbot.com
       ErrorLog logs/www.nickelbot.com-error_log
       CustomLog logs/www.nickelbot.com-access_log common
   


/*****
   IP Tables
   /etc/sysconfig/iptables-config
 *****/

iptables -L
iptables -F

iptables -A INPUT -p tcp --tcp-flags ALL NONE -j DROP
iptables -A INPUT -p tcp ! --syn -m state --state NEW -j DROP
iptables -A INPUT -p tcp --tcp-flags ALL ALL -j DROP
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 25 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 465 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 110 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 995 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 143 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 993 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 22692 -j ACCEPT
#iptables -A INPUT -p tcp -m tcp --dport 22 -j DROP #make sure to log-in on port up to 65000 port first...then save this
iptables -I INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P INPUT DROP
iptables -L -n

#save & restore
iptables-save > /etc/sysconfig/iptables
iptables-restore < /etc/sysconfig/iptables

#Load on start-up:
nano -wS /etc/rc.d/rc.local
   /sbin/iptables-restore < /etc/sysconfig/iptables
   

/*****
   Database
 *****/

yum install mysql mysql-devel mysql-server -y
service mysqld start
mysqladmin -u root password blahblahblah
chkconfig mysqld on

#for back up
mysqldump --opt -u root -p wpbitcoinusd  > .htdbbackup2.sql


/*****
   Github - Get the public and private key from github.com
 *****/

yum install github -y
git config --global user.email "[email protected]"
git config --global user.name "Adam Cox"

nano -wS /root/.ssh/github_rsa
nano -wS /root/.ssh/github_rsa.pub
chmod 400 /root/.ssh/github_rsa
nano -wS ~/.ssh/config
  Host github.com
  IdentityFile ~/.ssh/github_rsa
git clone [email protected]:AdamCox9/nickelbot.git
git config --global user.name "AdamCox9"
git config --global user.email "[email protected]"
git clone [email protected]:AdamCox9/nickelbot.git
git clone [email protected]:AdamCox9/nickelbot.git

git submodule init
git submodule update

-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: AES-128-CBC,FB00E32A6B7CFFB8DC2EB9BE23459081

-------
-----END RSA PRIVATE KEY-----

#public key:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCpcEw8cW3anzntlsb0Pa3MMTSLeDuCUDHhNilwcMnoJKYoXd8 9LyUrqf8eDzNXTAZSwkjnDKWpa6oR3c04ASkYXhoMhBptLpOjYYW9x4GklYMjRGgMkdc0nIJkZ4OE4R 5QprKSLo9G/ORu3Afm58GfFgi7UmW5wte8GBkG8NTU5OvmS6Po36EQKRGkI+86KhOG5jWSl7bcM2b/oEU0FvikwmZkV/92VHZpA460G/z/0COwmfb1U5tG/LXGxz3aAtBLxtqkak9BmLcFtigZWPmZkHSoyCt9ubCbWKZtXSe0De8WFjpMyjVJyN5d1I50WAqc8UWxJAulcfVMQrycxyu5 [email protected]

/*****

   Swap

 *****/

dd if=/dev/zero of=/swapfile bs=1024 count=2097152
mkswap /swapfile
swapon /swapfile
nano -wS /etc/fstab
   /swapfile swap swap defaults 0 0
free
cat /proc/swaps

/*****

   HTTPS

 *****/

yum install mod_ssl openssl
openssl genrsa -out ca.key 2048
openssl req -new -key ca.key -out ca.csr
openssl x509 -req -days 365 -in ca.csr -signkey ca.key -out ca.crt

cp ca.crt /etc/pki/tls/certs/
cp ca.key /etc/pki/tls/private/
cp ca.csr /etc/pki/tls/private/

cat /etc/pki/tls/certs/ca.crt
cat /etc/pki/tls/private/ca.key
cat /etc/pki/tls/private/ca.csr

nano -wS /etc/httpd/conf.d/ssl.conf
   ### overwrite the following parameters ###
   SSLCertificateFile /etc/pki/tls/certs/ca.crt
   SSLCertificateKeyFile /etc/pki/tls/private/ca.key

   ### The following parameter does not need to be modified in case of a self-signed certificate. ###
   ### If you are using a real certificate, you may receive a certificate bundle. The bundle is added using the following parameters ###
   SSLCertificateChainFile /etc/pki/tls/certs/example.com.ca-bundle
service httpd restart
nano -wS /etc/httpd/conf/httpd.conf
   NameVirtualHost *:80
   
       ServerAdmin [email protected]
       DocumentRoot /var/www/html/virtual-web
       ServerName virtual-web.example.com
   

   NameVirtualHost *:443
   
      SSLEngine on
      SSLCertificateFile /etc/pki/tls/certs/ca.crt
      SSLCertificateKeyFile /etc/pki/tls/private/ca.key
      
         AllowOverride All
      

      ServerAdmin [email protected]
   DocumentRoot /var/www/html/virtual-web
   ServerName virtual-web.example.com
   

#Get certificate from CA and copy it into /etc/pki/tls/certs/ca.crt
service httpd restart
#redirect http to https - put redirect line in virtual host for 80:
nano -wS /etc/httpd/conf/httpd.conf
   
       ServerAdmin [email protected]
       DocumentRoot /var/www/html
       ServerName bitcoinusd.info
       Redirect / https://bitcoinusd.info/
   


/*****

   Redirect

 *****/

nano -wS /etc/httpd/conf/httpd.conf
    #Redirect www to non-www
    
        Options +FollowSymlinks
        RewriteEngine On
        RewriteCond %{HTTPS} !=on
        RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
        RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
    

    #Redirect www to non-www
    
        Options +FollowSymlinks
        RewriteEngine On
        RewriteCond %{HTTP_HOST} !^www\.
        RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
    



/*****

yum -y update
yum groupinstall -y 'development tools'
yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel
yum install python

*****/

/*****

   CRON

 *****/


crontab -e
* * * * *       php /var/www/example.php > /var/www/data.out
minute|hour|day of month|month|day of week

/*****

   Use Key to SSH into Server

 *****/

#TODO

/*****

   Mail server

*****/

#TODO
full member
Activity: 145
Merit: 112
To the moon!
April 01, 2016, 05:24:06 AM
#19
I added an address generator bot. It will generate a deposit address for each wallet for each currency on each exchange.

I added it to the home page of my site: http://www.nickelbot.com/

Wait for it to load and it should auto populate. It makes an AJAX call from index.php to http://www.nickelbot.com/api/index.php?exchange=Poloniex&action=deposit_addresses

You can see the files on github. This is the initial prototype for the API: https://github.com/AdamCox9/nickelbot/blob/master/api/index.php
It will be formalized soon. Here is a bot that uses the platform to generate the deposit addresses: https://github.com/AdamCox9/nickelbot/blob/master/bots/make_deposit_addresses.php

Feel free to donate your extra coins to the addresses returned in the API call or on the front page of the website!

EDIT: updated links; made more clear
full member
Activity: 145
Merit: 112
To the moon!
April 01, 2016, 02:16:13 AM
#18
Make sure the top line is changed to your client computer IP if you access it through a browser. It tests to see if you are root if running from the command line, also. You can change that to your username your logged in as if not root.

https://github.com/AdamCox9/nickelbot/blob/master/config.php
full member
Activity: 145
Merit: 112
To the moon!
April 01, 2016, 12:20:10 AM
#17
I think this might be something I would be interested in contributing to.

coinableS,

That would be great if you could contribute. The benefit to you is that you can create bots for the platform and sell them or do whatever you want with them.

I have plenty of ideas for web apps and trading bots that could be built.

I'm hoping that many businesses are created utilizing the common platform.

Here are some ideas in the names of files in the bot folder: https://github.com/AdamCox9/nickelbot/tree/master/bots
full member
Activity: 145
Merit: 112
To the moon!
March 31, 2016, 11:54:20 PM
#16
completely unrelated. But, this project will have a "ready to go" website included with it.
legendary
Activity: 1442
Merit: 1186
March 31, 2016, 11:52:23 PM
#15
Ah okay, sorry I wasn't sure if it was functional yet.
What's the purpose of the audio output with the websocket txs?  It seems out of place for a trading platform IMO.
full member
Activity: 145
Merit: 112
To the moon!
March 31, 2016, 11:34:03 PM
#14
Nice Wall Of text Buddy 10/10

Is This The Project You Are Looking For: https://github.com/timmolter/XChange

No, I created a platform https://github.com/AdamCox9/nickelbot and this post is announcing it.



tl;dr NickelBot is a newly launched trading platform written in PHP that provides a standard API for the major exchanges.

Ok.. so how is it different from https://github.com/timmolter/XChange?

other than being 1) incomplete 2) written in php



It can address some issues on the web that might be more difficult to deal with in Java. PHP is a little bit easier to program with than Java.

Fair point

... Java is a tropical pig strung out on crack

Also, this includes a website with it. Its up and running here: http://www.nickelbot.com/ Hopefully developers can set-up there own website and build out there own web tools. I am building a bot shop so developers can build there own bots and sell them. It even makes bitcoin tx sounds.

EDIT: removed broken links
full member
Activity: 145
Merit: 112
To the moon!
March 31, 2016, 11:29:14 PM
#13
Great work and thanks for contributing to the community! I think you should maybe post this in the Project Development section if you are looking for a community build-out. From a quick glance over of the code it looks like it's not functional yet?  You've got a nice collection of PHP classes for a bunch of a different exchanges which is a great start, but a lot of the directories, files and some functions aren't built out yet.

I've always loved PHP, but I wondered if average users could use a PHP interface since it requires a server and use of cron jobs to automate a trading bot.  I figured end-users would prefer something they could run locally.  For example the recent 1broker windows trading app written in C (http://austeritysucks.com/1broker-trading-app-api.html)

It's funny around the same time you started your repo, I wrote my first PHP class for bitfinex's API, but the bot portion was not profitable.  Earlier this week I created a bot that when back tested 52% of it's trades are profitable(https://coinables.website/kytobot). I'm not ready to release the code yet...

I think this might be something I would be interested in contributing to.

It is definitely under construction but it is functional. The make_min_orders.php bot works.

I put the docs on the homepage: http://www.nickelbot.com/

Here it is on github: https://github.com/AdamCox9/nickelbot/blob/master/gui/index.html

EDIT: updated links and doc location
legendary
Activity: 1442
Merit: 1186
March 31, 2016, 11:26:49 PM
#12
Great work and thanks for contributing to the community! I think you should maybe post this in the Project Development section if you are looking for a community build-out. From a quick glance over of the code it looks like it's not functional yet?  You've got a nice collection of PHP classes for a bunch of a different exchanges which is a great start, but a lot of the directories, files and some functions aren't built out yet.

I've always loved PHP, but I wondered if average users could use a PHP interface since it requires a server and use of cron jobs to automate a trading bot.  I figured end-users would prefer something they could run locally.  For example the recent 1broker windows trading app written in C (http://austeritysucks.com/1broker-trading-app-api.html)

It's funny around the same time you started your repo, I wrote my first PHP class for bitfinex's API, but the bot portion was not profitable.  Earlier this week I created a bot that when back tested 52% of it's trades are profitable(https://coinables.website/kytobot). I'm not ready to release the code yet...

I think this might be something I would be interested in contributing to.
full member
Activity: 145
Merit: 112
To the moon!
March 31, 2016, 11:21:15 PM
#11
hope your aplication release soon, anyway where the market can use with your bot trading..? poloniex..? bittrex..?

Right now it supports Bitfinex, Bitstamp, Bittrex, Btc-e, Bter, Coinbase, and Poloniex

It is already released: https://github.com/AdamCox9/nickelbot

Just cp config.php to config_safe.php with your API Keys/Secrets and run php ultimato.php and that will run the make_min_orders.php bot.

This will create a min buy order and sell order for every currency on every exchange if balances permit.
where the .exe..? how to instal it..?
how to use it..? can you share the tutorial how to instal it.? Im use windows 10 pro


I have not set it up on Windows. I set it up on a Linux Virtual Machine at web hosting company.
However, to install it on Windows 10, it would go something like:
Download PHP and Apache. You can also use WAMP http://www.wampserver.com/
Download NickelBot zip file and put it in a web folder: https://github.com/AdamCox9/nickelbot/archive/master.zip
Unzip it.
Copy config.php to config_safe.php with your API Keys/Secrets.
Run the ultimato.php script.
legendary
Activity: 1316
Merit: 1145
March 31, 2016, 11:19:07 PM
#10
hope your aplication release soon, anyway where the market can use with your bot trading..? poloniex..? bittrex..?

Right now it supports Bitfinex, Bitstamp, Bittrex, Btc-e, Bter, Coinbase, and Poloniex

It is already released: https://github.com/AdamCox9/nickelbot

Just cp config.php to config_safe.php with your API Keys/Secrets and run php ultimato.php and that will run the make_min_orders.php bot.

This will create a min buy order and sell order for every currency on every exchange if balances permit.
where the .exe..? how to instal it..?
how to use it..? can you share the tutorial how to instal it.? Im use windows 10 pro
hero member
Activity: 784
Merit: 502
March 31, 2016, 11:12:45 PM
#9
Nice Wall Of text Buddy 10/10

Is This The Project You Are Looking For: https://github.com/timmolter/XChange

No, I created a platform https://github.com/AdamCox9/nickelbot and this post is announcing it.



tl;dr NickelBot is a newly launched trading platform written in PHP that provides a standard API for the major exchanges.

Ok.. so how is it different from https://github.com/timmolter/XChange?

other than being 1) incomplete 2) written in php



It can address some issues on the web that might be more difficult to deal with in Java. PHP is a little bit easier to program with than Java.

Fair point

... Java is a tropical pig strung out on crack
full member
Activity: 145
Merit: 112
To the moon!
March 31, 2016, 11:10:45 PM
#8
Nice Wall Of text Buddy 10/10

Is This The Project You Are Looking For: https://github.com/timmolter/XChange

No, I created a platform https://github.com/AdamCox9/nickelbot and this post is announcing it.



tl;dr NickelBot is a newly launched trading platform written in PHP that provides a standard API for the major exchanges.

Ok.. so how is it different from https://github.com/timmolter/XChange?

other than being 1) incomplete 2) written in php

It can address some issues on the web that might be more difficult to deal with in Java. PHP is a little bit easier to program with than Java.
full member
Activity: 145
Merit: 112
To the moon!
March 31, 2016, 11:08:22 PM
#7
hope your aplication release soon, anyway where the market can use with your bot trading..? poloniex..? bittrex..?

Right now it supports Bitfinex, Bitstamp, Bittrex, Btc-e, Bter, Coinbase, and Poloniex

It is already released: https://github.com/AdamCox9/nickelbot

Just cp config.php to config_safe.php with your API Keys/Secrets and run php ultimato.php and that will run the make_min_orders.php bot.

This will create a min buy order and sell order for every currency on every exchange if balances permit.
Pages:
Jump to: