This project contains the following functionality:
- Transaction Matching Algorithm
- Coin Pricing Algorithm
- Verification Backend
Created a thread that ran the Transacton Mathing every minute. Used SQLITE3 to store all the transactions.
Following Tables were created.
- Buy_coins
- Sell_couns
- matched_txn + sell_txn + buy_txn
Transacton matched and stored for users to query and retreive
Used Python-Flask and deployed on heroku/AWS-EBS
Dynamically price the coin according to to the current market sentiment(Twitter) and demand and supply gap.
- Positive news increased the price, negative decrease it.
- Weights are given to user
- If verified account/celebrities -> More Impact
- If Followers>Following -> Impact according to ratio
- If Following>Followers -> Less or negligible impact because can be spam accounts - Created custom formula so that prices are stable and not fluctuating randomly or frequently in minutes.
Used a combination of python-flask and AWS S3
- Documents of users uploaded to AWS S3 and verification set through python flask on heroku/AWS-EBS
- Verification admin manually verified users and sent verification confirmation
- URL:
/buy - Method:
POST
- URL Params
None - Data Params
- Success Response
- Error Response
- URL:
/sell - Method:
POST
- URL Params
None - Data Params
- Success Response
- Error Response
- URL:
/buymatched - Method:
POST
- URL Params
None - Data Params
- Success Response
- Error Response
- URL:
/sellmatched - Method:
POST
- URL Params
None - Data Params
- Success Response
- Error Response
- URL:
/dynamicPrice - Method:
GET
- URL Params
None - Data Params
- Success Response
- Error Response
- URL:
/sendVerify - Method:
POST
- URL Params
None - Data Params
- Success Response
- Error Response
- URL:
/recVerify - Method:
POST
- URL Params
None - Data Params
- Success Response
- Error Response
- URL:
/delsel - Method:
POST
- URL Params
None - Data Params
- Success Response
- Error Response
- URL:
/delbuy - Method:
POST
- URL Params
None - Data Params
- Success Response
- Error Response
- URL:
/getTransactions - Method:
POST
- URL Params
None - Data Params
- Success Response
- Error Response