基于Rails的Web仪表盘 – robinhood-on-rails

weixin_38096967 2019-09-12 12:14:01
Robinhood on Rails Robinhood on Rails is a simple front end dashboard for the free trading platform Robinhood . You’re presented with your autorefreshing portfolio after logging in: DISCLAIMER I am not affiliated with Robinhood or its associates. I am in no way responsible for any losses incurred through using this code or application. This app relies on the private API as found here (special thanks to sanko for providing documentation). It isn’t recommended to use this since the API is private and can change unexpectedly at any time, and is not officially supported. Using any kind of unpublished API for investing is risky, and you should thoroughly review any code involving any kind of money or investment published on the web to ensure the creator isn’t doing something malicious. It’s your money, after all. Your safest bet is to use the sanctioned phone app. Having said that, creating this app has been a lot of fun and I use it a lot more than I use the phone app. Current features Realtime, auto-refreshing portfolio dashboard Custom “folder” labels (stock organizing dividers) Watchlist Add and remove stocks Custom “folders” labels (stock organizing dividers) Reorganizing/ordering stocks via drag ‘n drop automatically syncs with Robinhood phone app Price charts Fundamentals tooltips Orders Basic buy and sell at last trade price Cancel pending orders Transfers Basic deposit and withdraw from existing ACH accounts View history Dividends Notifications View and dismiss Usage You have the choice of a basic installation or Docker (see instructions below). Basic installation This is a basic Rails project. You can install Ruby on Rails (and RVM) by visiting the RVM install page . If you already have ruby on rails set up, simply clone this project. Then run the basic steps to run the project like you would any other rails project: bundle install bundle exec rake db:create db:migrate it doesn’t actually rely on a database, but rails might complain that it isnt set up then, start the web server: bundle exec rails server navigate to http://localhost:3000/ in whatever webrowser you use (I use chrome, for instance), and you should see a login screen: Enter your log in info, and you’ll be presented with your Robinhood dashboard. Install with Docker This repository comes with a Dockerfile to easily set up a server with minimal configuration. To build the image, run: $ git clone https://github.com/bcwik9/robinhood-on-rails.git $ cd robinhood-on-rails $ docker build --tag robinhood-on-rails . Then you can run the server: $ docker run --rm -dt -p 3000:3000 robinhood-on-rails This will run the server on your host-machine’s port 3000.
...全文
78 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
内容概要:本文围绕基于电压-电流双闭环控制的断续导通模式(DCM)反激式开关电源展开系统性仿真研究,整合仿真模型、理论文献与Mathcad计算书三大资源,深入阐述该电源系统的设计原理与实现方法。研究重点在于构建电压外环与电流内环的双闭环控制策略,以提升电源的动态响应速度、输出电压稳定性和负载调整率。通过Matlab/Simulink等工具建立精确仿真模型,验证DCM模式下反激变换器的能量传递特性、开关器件应力分布及反馈控制环路的稳定性表现。同时,借助Mathcad完成关键电路参数的数学建模与设计计算,确保理论分析与仿真结果的高度一致性,实现从理论推导到工程实践的闭环验证。; 适合人群:具备电力电子技术基础,从事开关电源设计、电力变换器开发或自动化控制等相关领域研究的研发工程师及高校研究生。; 使用场景及目标:①掌握反激式开关电源在DCM模式下的工作机理与系统建模方法;②学习电压-电流双闭环控制器的设计流程、稳定性分析与参数整定技术;③实现理论计算、数学推导与仿真实践的深度融合,支撑科研项目复现或实际工程原型开发。; 阅读建议:建议读者结合所提供的仿真文件、技术文献与Mathcad计算文档同步学习,注重理论公式推导与仿真波形结果的对照分析,动手调整控制器参数以深入理解系统动态响应特性与稳定性边界。
内容概要:本文针对可再生能源发电与电动汽车的协同调度策略展开研究,通过Matlab代码实现硕士论文的复现,重点聚焦于不平衡电网工况下并网变流器的多目标最优运行建模与控制策略。研究系统涵盖了三相LCL型并网逆变器的主电路拓扑分析、分层控制小信号建模、考虑锁相环(PLL)频率耦合效应的正负序阻抗解析建模、基于阻抗比的频域稳定判据构建,以及仿真扫频辨识等关键技术环节。文中提出了一种结合DPWMA调制、正负序分离锁相与电网电压前馈的复合控制策略,旨在提升逆变器在复杂电网环境下的电能质量、运行稳定性及动态响应能力。通过多工况仿真验证,该方法在稳态精度、抗扰性与动态性能方面展现出显著优势,为高比例可再生能源接入背景下的电网稳定运行提供了有效的解决方案。; 适合人群:具备扎实的电力电子、自动控制理论基础,从事新能源并网、电动汽车调度、智能电网等相关领域的科研人员及工程技术人员,尤其适合电气工程、自动化等专业的研究生及以上学历的研究者。; 使用场景及目标:①用于复现和深入理解硕士论文中关于协同调度模型与控制策略的核心内容;②研究高渗透率可再生能源接入背景下电网的稳定运行与控制问题;③优化电动汽车与分布式电源的协同控制方案,提升系统对电网不平衡、电压波动等非理想工况的适应能力与鲁棒性;④为相关课题的仿真建模、算法开发与控制策略设计提供详实的参考实例和技术支撑。; 阅读建议:建议读者结合Matlab/Simulink仿真环境动手实践所提供的代码,重点关注正负序分离锁相、DPWMA调制与电网电压前馈控制的具体实现逻辑,并通过设置不同的电网扰动工况(如电压不平衡跌落、骤升骤降等)进行仿真测试,深入理解各控制模块的作用机理及其协同效应,从而全面掌握高性能并网控制策略的设计精髓。

479

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧