algotrig / algotrig-web-ui-php
Web Development repository for the AlgoTrig UI in PHP. Contains experimental features and connects to the core backend at algotrig/algotrig-php-core.
v0.1.1
2025-04-29 18:19 UTC
Requires
- php: ^8.0
- algotrig/algotrig-php-core: ^0.1.0
This package is auto-updated.
Last update: 2025-05-09 13:24:45 UTC
README
Web Development repository for the AlgoTrig UI in PHP. Contains experimental features and connects to the core backend at algotrig/algotrig-php-core.
Features
- Real-time position tracking
- Automated order execution
- Portfolio rebalancing
- Responsive web interface
- Secure authentication
- Configurable refresh intervals
Requirements
- PHP 8.0 or higher
- Composer
- Zerodha trading account
- Web server (Apache/Nginx)
Installation
- Clone the repository:
git clone https://github.com/algotrig/algotrig-web-ui-php.git
cd algotrig
- Install dependencies:
composer install
- Configure environment variables:
Set the api_key and secret from kite.trade in the
algotrig.ini
file:
api_key = yourapikey secret = yourapisecretfromkite
- Configure your web server:
- Point the document root to the
public
directory - Enable URL rewriting (mod_rewrite for Apache)
Directory Structure
algotrig/
├── assets/
│ ├── css/
│ └── js/
├── public/
│ └── index.php
│ └── login.php
│ └── logout.php
├── src/
│ └── config_loader.php
│ └── functions.php
├── templates/
│ └── index.php
├── vendor/
├── .gitignore
├── .htaccess
├── algotrig.ini
├── composer.json
├── composer.lock
├── LICENSE
└── README.md
Usage
- Access the application through your web browser
- Log in with your Zerodha credentials
- Monitor positions and execute orders
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Disclaimer
This software is for educational purposes only. Use at your own risk. The authors are not responsible for any financial losses incurred through the use of this software.