Creating a price alert application that triggers an email when the user’s target price is achieved. By :- V Surya Kumar (19BCE10286)
Pull the repository and Check out all the files in your local directory.
Follow the below steps to make it run:
Endpoint:
"/signup"
Parameters:
email: str = Field(..., description="user email")
password: str = Field(..., min_length=5, max_length=24, description="user password")
Endpoint:
"/login"
Parameters:
email: str = Field(..., description="user email")
password: str = Field(..., min_length=5, max_length=24, description="user password")
Endpoint:
"/alert/create"
Parameters:
crypto_code: str
trigger_price: float
Endpoint:
"/alert"
Parameters:
status: str = ""
(optional filter: CREATED, TRIGGERED, DELETED)
Endpoint:
"/alert/delete"
Parameters:
alert_id: int
(TO Update)
Refer to the following doc for detailed information: https://docs.google.com/document/d/1sDexMTX7-0CSUQk_iu9KzK70T5yowgZht6xtzl3B_mU/edit?usp=sharing