Trading-API application let you view a dashboard with a daily, weekly, monthly, yearly on a median scale using a risk factor as well as a weekly, monthly, yearly days addition view. It is used to accomplish automated transaction in a portfolio to minimize your risk of losses and schedule automatic actions with complex processes. With this application comes many features:
- 1 median indicator, 3 RSI calculation, 1 ratio, 3 moving average indicators,
- 4 different mode: experimental, detect lowest, bearish, bullish,
- works using Alpha-Vantage API and paid Crypto News API with sentiment analysis,
- one automated statement feature to collect trading data,
- 3 different API to use including Binance, Coinbase and Kraken,
- 2 graphs to show open, closed, low, high and income amount (absolute and daily)
- 1 feature to view extra invested funds within the portfolio,
- many features to set for the automated bot including: operating time, percentage level, gained limit, etc..
To install the application, you will need to set a cron task on the A.I. file and the output file. Here are the lines you will need to add to the cron file:
* * * * * cd /var/www/example.com/public_html/json_request && sudo -u www-data php output_process.php
* * * * * cd /var/www/example.com/public_html/json_request && sudo bash output_ai.sh
You may replace the /var/www/example.com/public_html path with your document_root path in the above command and within the config.php file. Additional information about the license key for Alpha-Vantage can be found in the config.php file. You may also set a login and password to access the dashboard within the config.php file.
Bcause the script uses intensive file edits, you will have to set output_buffering to -1 in the PHP settings. Make sure you also always run the script with an SSL for protection and chmod files to make them writable.
In the /json_request folder you will find the output_ai.sh which contains www-data user. If your apache user is different than www-data, you will need to set this one in the output_ai.sh (which execute 1 call each second) and for the cron task above here:
* * * * * cd /var/www/example.com/public_html/json_request && sudo -u www-data php output_process.php
* * * * * cd /var/www/example.com/public_html/json_request && sudo bash output_ai.sh
---------------------------------------------------------
Version 1.0.0
- Creating the charts using the Alpha-Vantage API
- Adding of the daily view and weekly, monthly, yearly median graph
- Adding of the risk feature with gold period
-------------------
Version 1.0.1
- Adding of the weekly days, monthly weeks and yearly months graph,
- Adding of graph live interaction to move each minute,
- Adding script to calculate medians instantly and with live action,
- Tweak script to keep specific amount of data files in a loop,
- Purchase data and add it into the chart for ETH, BTC, GOOG, COMP
-------------------
Version 1.0.2
- Build first view of the user report page for Binance,
- Add price, balance, and total in top line,
- Build ratio, short moving average, columns and future median indicators,
-------------------
Version 1.0.3
- Build a price limit feature, add total from start data, logs total, logs median, today's total, today's percent
- Remove columns indicator, add fraction total for each indicators,
- Add date with time, with price on each rows,
- Tweak the layout color for a lighter font, and tweak indicators color,
-------------------
Version 1.0.4
- Add line delimitor for buying perid into the daily, weekly, monthly, yearly views,
- Add set price over and set price under button on the user report results page,
- Add days view with button to browse an history,
- Add of the stagnant price indicator with high sell limit and low sell limit,
- Add a disable sell all for low and high limit along with lock sell all for high and low limits,
- Add today's highest and today's lowest data in the user report page,
- Adding of the minutes for calculations interval with self-adjust feature,
- Adding of the price multiplier with ratio on balance fields into the API settings
- Adding of the start hours and end hours limit for trading day,
-------------------
Version 1.0.5
- Adding of the refresh indicator and tweak the period amount for longer time,
- Optimize the script to load code quicker and use less server resources,
- Tweak price limit feature to add a self adjust price feature,
- Add a detect lowest mode setting and the data on the user report page,
- Add long range and extra long range indicators,
- Tweak rows lines data to show 2 decimal digits and reduce font size,
- Add set price under -20% with -10% and 20% with 10% buttons for the user report page,
-------------------
Version 1.0.6
- Add new API for Coinbase with same setting as the Binance one,
- Add new data collection second field and calculate data for each second using a bash script,
- Give users the possibility to change the median indicator data source with a field,
- Add a time sell feature with a self-adjust price on limit crossing feature,
- Add the possibility to activate deactivate the price limit feature and for time period as well,
-------------------
Version 1.0.7
- Tweak CSS colors to user a color code for sell and buy along with grey, and yellow for the result column,
- Add the total amount on each end of line, add microtime at the start of the rows,
- Tweak rows data to show 3 digits for decimal on each indicators,
- Make the rows data in uppercase, adjust the top header main data for 2 rows,
- Tweak background image for a repeating gray and smooth pattern,
- Make the red selling color code smoother and change the buying color for darker
-------------------
Version 1.0.8
- Add an history and secret toggle button below the user report results,
- Add a Crypto news API to calculate the sentiment of each news for the selected coin,
- Add a block buying and block selling toggle and RSI field indicator,
-------------------
Version 1.0.9
- Adjust the stagnant price calculation to base itself on the RSI instead on moving average,
- Create an API for Kraken using the same fields and setting as for Binance and Coinbase,
-------------------
Version 1.1.0
- Optimize the scripts in order to load resources quickly,
- Using shorthand operations in code, foreach to load for multiple arrays,
- Reduce the amount of queries send for all 3 APIs each seconds to use second intervals,
- Adding of features to calculate the sell all delay according to the RSI,
-------------------
Version 1.1.1
- Changing the user report page header layout for a responsive view with columns,
- Adding of an experimental feature with bearish peanuts mode,
- Adding of the top level indicator and gain limit field,
- Tweak the price limit indicator to use a delay based on a new long RSI,
- Adding of the crypto news override toggle to make news more prominent on the indicators,
-------------------
Version 1.1.2
- Build a new charts page to show the selected coin graph with open, closed, high and low data,
- Add a new graph to show absolute gain and relative daily gain with a line,
- Add new percentage gauges rows to loop other portfolio coins based on a rounded total,
-------------------
Version 1.1.3
- Tweak RSI to change the calculation for a shorter period in seconds,
- Add fields to let the user set the RSI top and bottom indicator for short and long,
- Adding of the RSI self adjust feature and tweak the experimental feature live data to show in columns,
- Add more data into the experimental mode to include the buying and selling fees,
- Regroup the experimental mode transaction to process them with minimal API usage,
- Add a new experimental gain and loss indicator on the user report page,
-------------------
Version 1.1.4
- Add a ready to buy line with RSI, price above limit, top level, operate time and enough money in the user report page,
- Add a new statement page to calculate for all three APIs the tranactions made in the past and return the profits
-------------------
Version 1.1.5
- Add a loop to calculate multiple coins at a time being traded into the statement page and print the values,
- Tweak the statement page to add a cache mode and reduce the API usage for the deposit and withdraw data,
- Tweak statement page to include and calculate the fees within each transactions,
- Add a consolidate CSV button to generate a CSV file containing all the cached transactions,
-------------------
Version 1.1.6
- Adding of 4 modes to set any API settings globally to a bullish, bearish, detect lowest or experimental mode,
- Tweak the header history buttons to make them on one line with a scroll bar and scrolling to the selected day
-------------------
Version 1.1.7
- Adding of a button to disable news count in the Crypto News API,
- Adding a section to manage notifications with PHPMailer to send with encryption,
- Adding of a self-adjust checkbox for the quantity in case it's smaller than the permitted,
- Adding of a self-adjust setting for the top level range indicator and a box to add a percentage,
- Adding of transaction button in the user report page to click and scroll to each transaction,
- Fixing today's price wrong value when experimental feature report a line on 23:59 pm,
- Including the experimental transaction list into the secret toggle feature,
- Increase the percentage of total balance to use under the price multiplier feature,
- Tweak a few of the default mode settings to optimize and improve functionalities
-------------------
Version 1.1.8
- Combine the transactions in groups for the experimental feature,
- Adding of a deposit and withdraw field to substract from the total from start amount and logs total,
- Make the same calculation for the charts to return the bot profit or loss exluding deposit or withdraw,
- Adding of an extra long RSI indicator in the header of the user report page,
- Adding of an extra long RSI limit for the experimental feature used as an emergency sell all,
- Update the ajax refresh counter from 9 seconds to 3 seconds.
Download - GitHub Online Demo
Source : tradingapi
Price: $ 00.00 CAD to access tradingapi extensions, forum support, chatbox support and update support