Coder Social home page Coder Social logo

jon-esperanza / trader-charles Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 6.0 487 KB

Algorithmic Trading Bot in Python. Charles makes good decisions

Home Page: https://tradercharles.com/

Python 32.78% HTML 4.14% CSS 16.22% JavaScript 46.86%
python numpy pandas alpaca-trading-api finviz postgresql sqlalchemy flask memcache heroku

trader-charles's People

Contributors

jon-esperanza avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

trader-charles's Issues

Share order calculation

When calculating the appropriate amount of shares to purchase the "percentage calculation" is incorrect.
twenty_pct = amount / 20

Chart.js dynamic chart

Equity account chart should dynamically adjust margins based off highest and lowest amount in time period returned from API request.

Maintaining cap amount

When making sure that the cap amount is not exceeded before placing an order, the amount after placing the order is not taken into consideration.

if (amount >= 300): twenty_pct = amount / 20 data['Desired Shares'][x] = round(twenty_pct / df['Close'][x], None) data['Ticker'][x] = df['Ticker'][x] amount = amount - (data['Desired Shares'][x] * df['Close'][x])

Authentication of user before modifying percentage

A lock should be used to sign-in to account. Google Authentication should be implemented to unlock the percentage modification feature. If user is authorized the lock should be unlocked and an edit textbox form should be shown. Otherwise the percentage is only displayed and the Lock is Locked.

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.