diohz0r/cryptotrader 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

diohz0r/cryptotrader

Composer 安装命令:

composer create-project diohz0r/cryptotrader

包简介

Cli-command to find trades for cryptocurrencies

README 文档

README

Synopsis

This command client is for search cryptocurrencies advertisements different web pages like Localbitcoins and localcryptos, it also allows you to search the best prices to sell your cryptos on Uphold for now.

More services and options will be available coming soon.

Installation

You will need only PHP 7.1 or above and composer to use this.

Clone or download the repo and run.

composer install --no-dev

How to use

Localbitcoins

Suppose that you want to list all ads on localbitcoin.com payed in Euros just execute the following command.

php bin/console localbtc:sell:online EUR

This will order all the ads from the lowes price to the highest price in ascending order, that means that the last listed ads are the highest prices found.

Now if you want to filter the results for the top 15 ads with a price of 100 EUR execute the previous command as follows.

php bin/console localbtc:sell:online EUR -a 100 -t 15

Localcryptos

For localcryptos the command is almost the same but you have to add the country ISO code as the first argument.

php bin/console lc:sell:online AU -a 100 -t 15

This command lists ETH as the default coin, but you can use all the coins listed in that platform. You only need to add the --coin (-n) option and the corresponding code.

php bin/console lc:sell:online AU -a 100 -t 15 -o LTC

Selling from Uphold

If you want to sell your Uphold card balance the script will look on each trading platform and will print the results as previous commands, you need to set at least the country and the currency to obtain, for instance to find the top 20 ads in Venezuela (VE) for obtain 10000 Bolivares Soberanos (VES) selling your BTC or ETH excluding the not compatible ads execute:

php bin/console uphold:sell VE VES -a 10000 -t 20 -x

If you want to check the options available execute the console help.

php bin/console --help

If you want to check the options available for each command execute its help, for instance:

php bin/console localbtc:sell:online --help

Versioning

In order to provide transparency on the release cycle and to maintain backward compatibility, this project is maintained under the Semantic Versioning guidelines. I am committed to following and complying with the rules, the best I can.

How to contribute

Want to file a bug, contribute some code, or improve documentation? Excellent! Follow up the guidelines for contributing

Issue Dashboard

If you want to know all the issues I'm dealing with right now or like to implement a new feature please take a look at the Issue Dashboard and look for areas in which you can help.

Pull Request Dashboard

If you want to give me a hand solving issues then great, take a look at the Pull Request Dashboard and check for an open or closed PR. I don’t want to duplicate efforts.

Commit Your Changes

For commits, I follow the Conventional Commit. This leads to more readable messages that are easy to follow when looking through the project history. But also, I use the git commit messages to automatically generate changelogs from these messages.

Please read and follow the guide provided by Conventional Commit project

Donations

Do you like our work and want to donate some cryptos?

I ask at least the amount of 0.0001 of BTC, DASH, ETH or LTC that can be sent to one of the following addresses

  • BTC: 1DniVH7mHTZo8sa8gsqBzfspv5MQkFwFcx
  • DASH: XwQoZy71zp3V54nA44GiUhEL14hvy7zwzh
  • ETH: 0xc0A47F4c950f908083EF360c4eFA941aCaCCede6
  • LTC: LcbMxHcPfcBWF6FyRPrNUBHhi8EVVn2z33

Thank you so much for your support!

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2018-08-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固