Web Development repository for the AlgoTrig UI in PHP. Contains experimental features and connects to the core backend at algotrig/algotrig-php-core.
- Real-time position tracking
- Automated order execution
- Portfolio rebalancing
- Responsive web interface
- Secure authentication
- Configurable refresh intervals
- PHP 8.0 or higher
- Composer
- Zerodha trading account
- Web server (Apache/Nginx)
- 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)
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
- Access the application through your web browser
- Log in with your Zerodha credentials
- Monitor positions and execute orders
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
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.