Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main #39

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Main #39

wants to merge 1 commit into from

Conversation

snehas-05
Copy link

@snehas-05 snehas-05 commented Oct 18, 2024

Issue number #25

This pull request introduces an Automated Portfolio Management Tool to the NexTrade platform, allowing users to track, rebalance, and manage their investments more effectively. The key features include:
Portfolio Tracking: Users can monitor their stock holdings, current market value, and portfolio performance in real-time
.
Automated Rebalancing: Automatically rebalance the portfolio based on predefined criteria (risk tolerance, asset allocation)
.
Market Insights and Alerts: Get real-time insights and alerts for significant market changes.

Risk Assessment: Evaluate the risk level of the portfolio and suggest strategies to mitigate risk.

Educational Resources: Access resources and tutorials on portfolio management strategies.

Instructions to Run the Program-

  1. Install Dependencies: Ensure you have Python 3.x, Flask, and Web3.py installed. Run command-
    pip install Flask web3

2.Smart Contract Setup:
Compile and deploy the PortfolioManager.sol smart contract using Remix or Truffle.
Copy the contract ABI and address into app/web3_interface.py for interaction with Ethereum.

  1. Configure Ethereum Provider: Set up your Ethereum provider in web3_interface.py. For Ganache, you can use:
    w3=Web3(Web3.HTTPProvider('http://127.0.0.1:7545'))

For Infura, provide your API key:
w3=Web3(Web3.HTTPProvider('https://mainnet.infura.io/v3/YOUR_INFURA_PROJECT_ID'))

  1. Connect MetaMask: Make sure MetaMask is set up and connected to the same network (Ganache/testnet/mainnet).

  2. Run the Flask Application: Start the Flask server:
    python app.py

I know you're already familiar with many of these instructions, but I wanted to ensure everything is clearly outlined so you can run the program smoothly. Let me know if you run into any issues or if any further adjustments are needed. Thankyou.

@snehas-05
Copy link
Author

@Akshat111111 kindly have a look on this pr once.

Copy link
Owner

@Akshat111111 Akshat111111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a image of the UI also then I will merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants