Account

Translate

Facebook

Research

Last subscribed

Statistics

Download - A.I. Script - Trading-API

Trading-API Application & Setup Guide

The Trading-API Application provides an advanced interactive dashboard featuring daily, weekly, monthly, and yearly median market views paired with custom risk-factor analysis. Built to automate portfolio transactions, it minimizes loss exposure through complex, scheduled execution logic.

Key Features & Technical Highlights

  • Advanced Technical Indicators: 1 median indicator, 3 RSI calculations, 1 historical ratio, and 3 moving averages.

  • 4 Trading Modes: Experimental, Detect Lowest, Bearish, and Bullish.

  • Integrated APIs: Supports Binance, Coinbase, and Kraken, along with Alpha-Vantage for median data and a paid Crypto News API for market sentiment analysis.

  • Interactive Visualizations: 2 interactive charts displaying open, closed, high, and low prices alongside daily and absolute income trends.

  • Automated Data Logging: Automatic transaction logging to generate historical performance statements.

  • Portfolio & Bot Customization: Track extra invested funds and fine-tune automation parameters (e.g., operating hours, percentage thresholds, daily profit caps).

Installation & System Configuration

1. File Permissions & Server Settings

  • Output Buffering: Set output_buffering = -1 in your php.ini file (required for intensive file operations).

  • Security & Write Access: Always enforce HTTPS via an SSL certificate and set appropriate file write permissions (chmod).

  • Configuration: Edit config.php to set your dashboard username/password and enter your Alpha-Vantage API license key.

2. Configuring Cron Tasks

To automate the background tasks, add the following entries to your crontab (replacing /var/www/[example.com/public_html](https://example.com/public_html) with your server's actual document root):

Bash

* * * * * 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

Important Web Server Note:

The output_ai.sh script (which executes one call per second) defaults to the www-data Apache user. If your web server runs under a different user (e.g., apache or nginx), update the username inside output_ai.sh as well as in the crontab entries above.

Release Notes

Version 1.0.0

  • API Integration: Generated interactive financial charts using the Alpha-Vantage API.

  • Flexible Views: Added daily, weekly, monthly, and yearly median graphs.

  • Risk Management: Introduced specialized risk indicator features with gold period tracking.

Version 1.0.1

  • Enhanced Visualizations: Expanded charts to feature daily, weekly, and monthly timeframes.

  • Real-Time Data: Implemented live graph interaction with dynamic, minute-by-minute updates.

  • Instant Analytics: Integrated high-performance scripts to calculate medians on the fly.

  • Data Retention: Optimized file storage scripts to maintain a targeted loop of historical data.

  • Asset Coverage: Expanded live charting support for ETH, BTC, GOOG, and COMP.

Version 1.0.2

  • Binance Dashboard: Designed the initial layout for the Binance user report page.

  • Header Metrics: Added real-time Price, Balance, and Total Portfolio metrics to the top bar.

  • Technical Indicators: Implemented Financial Ratios, Short Moving Averages (SMA), visual columns, and Future Median forecast indicators.

Version 1.0.3

  • Target Limits & Logging: Added custom price limits, tracking for starting balance, total logs, median logs, and daily profit/loss percentages.

  • Enhanced Metrics: Replaced column indicators with fractional totals across all key metrics.

  • Row Detail: Added precise timestamps alongside live execution prices for every data row.

  • UI Refinements: Brightened typography for improved legibility and updated indicator color schemes.

Version 1.0.4

  • Visual Dividers: Added buying period delimiter lines across daily, weekly, monthly, and yearly views.

  • Quick Controls: Integrated "Set Price Over" and "Set Price Under" action buttons on the report page.

  • Historical Browsing: Introduced a dedicated daily history view with simple navigation buttons.

  • Trading Safeguards: Implemented stagnant price indicators alongside upper/lower sell limits and lock mechanisms.

  • High/Low Tracking: Displays today’s highest and lowest price points directly on the dashboard.

  • Smart Intervals: Enabled dynamic, self-adjusting execution time intervals in minutes.

  • API Fine-Tuning: Added price multiplier controls and balance ratios to the API settings, with configurable trading hours.

Version 1.0.5

  • Performance Boost: Optimized scripts to drastically accelerate load times and reduce server resource consumption.

  • Auto-Adjusting Limits: Upgraded price limit tools with self-adjusting capabilities and an automatic "Lowest Mode" detector.

  • Extended Indicators: Added Long-Range and Extra-Long-Range market indicators.

  • Smarter UI Layout: Refined numbers to display cleanly to 2 decimal places and adjusted font sizes for higher data density.

  • Preset Action Buttons: Added quick-action target buttons (-20%, -10%, +10%, +20%) to the user report dashboard.

Version 1.0.6

  • Coinbase Integration: Introduced full API support for Coinbase, matching existing Binance capabilities.

  • High-Frequency Tracking: Created a dedicated sub-second data collection field powered by an automated background bash script.

  • Dynamic Data Sources: Enabled custom data source selection for calculating median indicators.

  • Automated Trades: Introduced time-based selling with automated price adjustments when reaching limit boundaries.

  • Flexible Toggles: Added simple toggle switches to enable or disable price limits and time periods.

Version 1.0.7

  • Color-Coded Statuses: Redesigned UI colors with clear visual cues: Green for Buy, Red for Sell, Grey for Neutral, and Yellow for Results.

  • Detailed Row Data: Added end-of-line totals, microsecond precision timestamps, and 3-decimal precision across all indicators.

  • Visual Refresh: Polished the interface with a smooth background pattern, updated main headers across two structured rows, and improved color contrast.

Version 1.0.8

  • Control Enhancements: Added an "History & Secret" toggle panel beneath report results for streamlined view management.

  • Sentiment Analysis: Integrated a Crypto News API to calculate live market sentiment for selected assets.

  • Advanced Trading Logic: Implemented toggle switches for Block Buying and Block Selling, alongside a dedicated Relative Strength Index (RSI) indicator.

Version 1.0.9

  • RSI-Driven Calculations: Upgraded stagnant price logic to calculate thresholds using RSI instead of Moving Averages.

  • Kraken API Support: Added full integration for Kraken, maintaining feature parity with Binance and Coinbase.

Version 1.1.0

  • Resource Optimization: Refactored core scripts and utilized shorthand operations to accelerate resource loading.

  • Reduced API Overhead: Optimized requests across all three exchanges, switching from constant polling to timed intervals.

  • Smart Delays: Implemented dynamic "Sell-All" delays driven directly by real-time RSI signals.

Version 1.1.1

  • Responsive Layout: Redesigned the user report header into an adaptive, multi-column layout for all screen sizes.

  • Bearish Peanuts Mode: Introduced an experimental strategy mode targeted at volatile or downward markets.

  • Top-Level Limits: Added top-tier indicators and configurable gain limit thresholds.

  • RSI-Based Delays: Re-engineered price limit indicators to incorporate delays from a long-term RSI perspective.

  • News Priority Toggle: Added an override option to increase the weight of crypto news events on technical indicators.

Version 1.1.2

  • Dedicated Charts Page: Launched an interactive candlestick chart page showcasing OHLC (Open, High, Low, Close) market data.

  • Performance Graphs: Integrated line graphs to visualize absolute gains alongside relative daily performance.

  • Portfolio Gauges: Added dynamic percentage gauges to continuously calculate relative holdings across portfolio assets.

Version 1.1.3

  • Refined RSI Calculations: Shortened RSI calculation windows to seconds for faster signal execution.

  • User-Defined Bounds: Added controls allowing users to set custom upper and lower RSI bounds for short/long strategies.

  • Self-Adjusting RSI: Integrated auto-tuning RSI mechanisms and upgraded the experimental mode interface to display live data in neat columns.

  • Fee Transparency: Incorporated buying and selling fees into experimental calculations while streamlining transactions to minimize API calls.

Version 1.1.4

  • "Ready to Buy" Bar: Added a status bar combining RSI, price threshold, upper limits, trading windows, and available funds.

  • Historical Statements: Built a unified accounting page to calculate historical transactions across all 3 exchanges and track realized profits.

Version 1.1.5

  • Multi-Coin Auditing: Expanded the statement page to process and display multiple concurrently traded coins.

  • Data Caching: Implemented aggressive caching for deposit and withdrawal records, dramatically cutting down API requests.

  • Net Profit Tracking: Factored transaction fees directly into net gain/loss reporting.

  • CSV Exports: Added a "Consolidate CSV" button to instantly generate downloadable audit files from cached transactions.

Version 1.1.6

  • Global Strategy Modes: Introduced 4 global strategy presets: Bullish, Bearish, Detect Lowest, and Experimental.

  • Streamlined Header: Compressed historical navigation buttons into a single scrollable line that auto-scrolls to selected dates.

Version 1.1.7

  • Notification System: Integrated encrypted email alerts via PHPMailer for key account and trading updates.

  • Smarter Order Execution: Added self-adjusting options for trade quantities, percentage bounds, and range indicators.

  • Navigation Shortcuts: Added transaction shortcuts to jump and scroll directly to execution points on the report page.

  • Bug Fixes & Enhancements: Resolved 23:59 PM calculation edge cases, improved news API toggle options, and optimized default system configurations.

Version 1.1.8

  • Grouped Executions: Combined experimental transactions into clean batch groups for better readability.

  • Net Capital Adjustments: Added deposit and withdrawal input fields to adjust baseline investment and historical totals automatically.

  • Enhanced RSI Indicators: Added an Extra-Long RSI header indicator and emergency "Sell All" bounds.

  • Faster Live Refresh: Boosted AJAX dashboard refresh rates from 9 seconds down to 3 seconds for real-time responsiveness.

Download - GitHub Online Demo



Source : tradingapi

Price: $ 00.00 CAD to access tradingapi extensions, forum support, chatbox support and update support



Trading-API

The 2022-07-03 at 09:22:18

Author: tradingapi Man

Rank: Administrator

Views total: 433

Comments total: 0

Likes: 0

Dislikes: 0

Votes: Autorized

Comments: Autorized

Article source: tradingapi

Modified the 2026-08-03 at 17:57:12

+ Add to my contacts

Return to the articles list

Votes

Identity verification:

Enter (000) in this field:

0

0

Comments:

The news

The news section containing all the latest post from each section.

References

Title: Credits Policies

Category: Credits

Votes status: Authorized

Comments status: Authorized

Views total: 348

Comments total: 0

Votes results: 0 0

Article author: tradingapi Man

Author rank: Administrator

Article date: 2022-07-13

Article time: 11:13:44

Article source: tradingapi

View article...

Modified the 2026-08-03 at 15:19:23

Forum

Title: Content Revision - Job offer

Category: Contribute

Votes status: Authorized

Comments status: Authorized

Views total: 642

Comments total: 0

Votes results: 0 0

Article author: tradingapi Man

Author rank: Administrator

Article date: 2022-07-15

Article time: 08:11:36

Article source: tradingapi

View article...

Modified the 2026-08-03 at 15:20:22

Help

Title: General Usage A.I.

Category: Usage

Votes status: Authorized

Comments status: Authorized

Views total: 358

Comments total: 0

Votes results: 0 0

Article author: tradingapi Man

Author rank: Administrator

Article date: 2022-06-29

Article time: 11:56:14

Article source: tradingapi

View article...

Modified the 2026-08-03 at 15:26:25

Download

Title: Dependencies for the A.I.

Category: Dependencies

Votes status: Authorized

Comments status: Authorized

Views total: 358

Comments total: 0

Votes results: 0 0

Article author: tradingapi Man

Author rank: Administrator

Article date: 2022-07-07

Article time: 02:35:21

Article source: tradingapi

View article...

Modified the 2026-08-03 at 15:30:01

Documentation

Title: How it operates

Category: Experimental Mode

Votes status: Authorized

Comments status: Authorized

Views total: 347

Comments total: 0

Votes results: 0 0

Article author: tradingapi Man

Author rank: Administrator

Article date: 2022-07-07

Article time: 01:27:09

Article source: tradingapi

View article...

Modified the 2026-08-03 at 17:10:25