Git Product home page Git Product logo

php-api-all-4-india-du's Introduction

目录说明

api  php补充api
data 配置数据库
java-api-jar  后端java程序 
wap  手机前端
web  电脑前端
web_admin  总后台
web_agent 代理后台
sql  数据库文件

安装

  1. php 5.6, redis
  2. 安装java端,设置域名
  3. wap,web 设置好java api域名,打包
  4. data/config 设置数据库
  5. 计划任务

计划任务


每1分钟
// 采集印度股票 https://trade.pgim.pro/api/cai_india_stock_list.php

访问URL[ https://trade.pgim.pro/api/getAliPrices.php ]	采集外汇	每隔1分钟执行


采集文章 > 印度 每天早上
// https://trade.pgim.pro/api/getNews.php

每1分钟
修复djzj  https://trade.pgim.pro/api/fix_djzj.php.php

可停用,因搜索会采集

每1分钟
// 采集印度股票 https://trade.pgim.pro/api/cai_india_index_list.php

访问URL[ https://trade.pgim.pro/api/cai_india_economictimes_list.php ]	采集股票	每隔1分钟执行

更新持仓	正常	每隔1分钟执行	 https://trade.pgim.pro/api/update_position_price.php?op=auto
-
--	2024-02-08 01:56:43	执行  |  编辑  |  日志  |  删除
访问URL[ https://trade.pgim.pro/getNews.php ]	正常	每天, 6点30分 执行	
-
--	2024-02-07 06:30:04	执行  |  编辑  |  日志  |  删除
访问URL[ https://trade.pgim.pro/api/fix_djzj.php.php ]	正常	每隔1分钟执行	
-
--	2024-02-08 01:56:01	执行  |  编辑  |  日志  |  删除
访问URL[ https://trade.pgim.pro/api/getAliPrices.php ]	正常	每隔1分钟执行	
-
--	2024-02-08 01:56:05	执行  |  编辑  |  日志  |  删除
访问URL[ https://trade.pgim.pro/api/cai_india_stock_list.php ]	停用	每隔1分钟执行	
-
--	2024-02-08 01:56:06	执行  |  编辑  |  日志  |  删除
访问URL[ https://trade.pgim.pro/api/cai_india_index_list.php ]	正常	每隔1分钟执行	
-
--	2024-02-08 01:56:02	执行  |  编辑  |  日志  |  删除
置顶访问URL[ https://trade.pgim.pro/api/cai_india_economictimes_list.php ]	正常	每隔1分钟执行	

api

php 补充api

  1. nullPrice.php 检查持仓,无价格手动采集
    1. https://tradingdiario.com/api/nullPrice.php?op=list
  2. 定时更新持仓中的价格
    1. https://tradingdiario.com/api/positonPriceUpdate.php
  3. 删除多余价格
    1. 浏览器自动执行 https://tradingdiario.com/api/deleteRealData.php?op=auto
    2. 手动执行 https://tradingdiario.com/api/deleteRealData.php?op=list
    3. bt显示统计 https://tradingdiario.com/api/deleteRealData.php?op=list&from=bt
  4. 新闻采集 https://tradingdiario.com/api/getNews.php
  5. 新闻API https://tradingdiario.com/api/getNewsList.php
  6. 更新单个价格,进入详情时执行 https://tradingdiario.com/api/getMaStock.php 6. https://www.klsescreener.com/v2/stocks/chart/$code/embedded/1y 【失效】 7. https://www.shareinvestor.com/prices/searchbox_prices_f.html?counter=0021.MY 8. 备用 9. https://ws20.bursamalaysia.com/api/v2/stock_price_data?stock_code=0021.MY&mode=intraday&from_date=20230620&ws_a=80156f7b4453e622a9696997b207116ed2928cf3dc4a7719eaad19af3a90e034&ws_m=1687269357.0 10. https://api.wsj.net/api/dylan/quotes/v2/comp/quoteByDialect?dialect=official&needed=CompositeTrading|BluegrassChannels&MaxInstrumentMatches=1&accept=application/json&EntitlementToken=cecc4267a0194af89ca343805a3e57af&ckey=cecc4267a0&dialects=Charting&id=Stock-MY-0021 11.
  7. 搜索并更新价格 https://tradingdiario.com/api/searchMaStock.php 【失效仅搜索】 7. 'https://www.klsescreener.com/v2/stocks/all.json?term='.$code;【失败】 8. https://www.bursamalaysia.com/api/v1/search/stock_list?keyword=0021&lang=EN&limit=99 无价格 9. https://www.shareinvestor.com/search/stocks_lookup?keyword=0021 无价格 10.
  8. 首页推荐股票 https://tradingdiario.com/api/queryHomeIndex.php
  9. 后台:挂单
    1. 列表 https://tradingdiario.com/api/pendingOrder.php?op=list
    2. 通过 https://tradingdiario.com/api/pendingOrder.php?op=prove&positionId=xxx
  10. 7-6 4.新股 写入新股 https://tradingdiario.com/api/cloud_pass.php?code=0200&new_stock=1
  11. 7-7 6. 新股没有k线 通过搜索 更新价格 https://tradingdiario.com/api/cloud_pass_search.php?keyWords=5315

支付api

  1. 666withdraw.php 提现
  2. 666pay.php 支付api
  3. 666notify.php 回调

设置 config

汇率
$_W['config']['usd']['inr']

官网

图片预览

php-api-all-4-india-du's People

Watchers

Two Tiger avatar

Forkers

iuvei

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.