psypdt / crypto-bot Goto Github PK
View Code? Open in Web Editor NEWA Python bot which uses the Coinbase & Telegram APIs to fetch updates on cryptocurrencies & inform user of changes in the market.
License: MIT License
A Python bot which uses the Coinbase & Telegram APIs to fetch updates on cryptocurrencies & inform user of changes in the market.
License: MIT License
Add a notification which will notify users if a currency has reached an all time peak within a given time frame
Change tuples from (float, str) to (str, float) so it can be used more easily by matplotlib
Have a method which can provide purchase history (exchange_rate, coins_bought) to make it easier for us to see when we bought a coin to get some data
The way profits are calculated at the moment is profit = current_ex*sell_amount - past_ex*amount_traded
. This should be changed to something like profit = current_ex*sell_amount - past_ex*sell_amount
to see if a loss would be inflicted if one had purchased sell_amount
coins in the past and were to sell the same number of coins now.
Alternatively this could be reworked to use the graph slicing method we talked about, or some other method which we may need to research.
The graphs generated from pricegraph.py
is too large to be viewed without rescaling on Mac. Could consider creating OS specific trigger to make windows smaller, or place figures next to each other instead of above
If OS specific triggers are used then we have to consider how this will impact how images are sent by the bot, depending on where it's hosted.
Implement testing/demo methods which can be used to simulate how the bot would perform if it were asked to buy & sell on behalf of a user.
Ideally we could do some hyper parameter tuning to find better models
We would also want to implement a hysteresis filter to reduce noise from small price fluctuations to smooth out how the bot would react to price changes
Bot keeps sending notifications of coins which haven't actually changed.
ZRX seems to be the main culprit
Notification threshold is being ignored
The account balances could be used to send user-specific updates regarding cryptocurrencies that are increasing or decreasing. This would reduce the amount of irrelevant information being shown to the user.
I think it would be best to add this as a separate option, as some users may prefer to see all crypto updates.
A possible enhancement would be to implement the calculation of correlations and anticorrelations between the prices of currencies.
Transferring between correlated currencies has little effect on the return of investment, and hence it is best to be avoided as money would be lost in transfer fees. Conversely, transferring between (at least somewhat) anticorrelated currencies can potentially be very profitable.
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.