jon-esperanza / trader-charles Goto Github PK
View Code? Open in Web Editor NEWAlgorithmic Trading Bot in Python. Charles makes good decisions
Home Page: https://tradercharles.com/
Algorithmic Trading Bot in Python. Charles makes good decisions
Home Page: https://tradercharles.com/
When calculating the appropriate amount of shares to purchase the "percentage calculation" is incorrect.
twenty_pct = amount / 20
Create a database field for the percentage in PostgresQL using Flask. Field should be available in the PostgresQL server.
Create POST endpoint for percentage modification as well adding the percentage field to the GET endpoint for /records
Percentage modified should be sent to POST request after getting input from user via textbox form.
In algo_charles.py the stop loss trigger to sell the stock does not trigger
remove watchlist table/UI from client folder
Once connected to /records endpoint, the UI can display the percentage being used to the user.
Equity account chart should dynamically adjust margins based off highest and lowest amount in time period returned from API request.
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])
This will end the growing watchlist once the cap amount is reached.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.