algotrig/algotrig-web-ui-php
最新稳定版本:v0.1.1
Composer 安装命令:
composer create-project 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.
README 文档
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.inifile:
api_key = yourapikey secret = yourapisecretfromkite
- Configure your web server:
- Point the document root to the
publicdirectory - 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.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-29