Activity
Mon
Wed
Fri
Sun
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
What is this?
Less
More

Memberships

Python for Quant Trading

Public • 120 • $99/m

2 contributions to Python for Quant Trading
Issue regarding Q.6 in Conditional problems given
I am facing problem in question 5 in conditional problems for batch 27. Like i didn't understand how to proceed. Problem 6: Stock Profit/Loss Calculator with Multiple Conditions Description: Develop a Python program for stock traders to calculate their profit or loss from stock transactions. The program should ask users to input their purchase price, selling price, and the number of shares they traded. Based on these inputs, the program calculates the total profit or loss. Additionally, it categorizes the profit or loss into 'High', 'Moderate', or 'Low' based on predefined thresholds: profits or losses above $2000 are 'High', between $1000 and $2000 are 'Moderate', and below $1000 are 'Low'. For losses, just label them as 'Loss'. Sample Input: Enter purchase price: 100 Enter selling price: 121 Enter number of shares: 50 Expected Output: Profit: $1050.00 Profit Category: Moderate @Sunil Sala please guide for this question. i am sharing link for my google colab where i have solved the problem and saw a different solution you provided. So kindly check if my solution is also right or wrong. Request to please explain in class. https://colab.research.google.com/drive/1lQcGJLQKXSZKSYGmo2Gm7cpXu2I_7zm4?usp=sharing
0
2
New comment Aug 2
0 likes • Aug 2
There is printing mistake in solution, https://replit.com/join/bsfadgdmej-sakshikolase239
Introduce Yourself Here!
Please take a moment to introduce yourself to the community by commenting on this post. Don't forget to like and reply to other introductions to welcome new members. This will help you get more involved in the community! Here's a simple framework to follow: My name is: What i do: Market I trade: My Expertise is: My goal is: LinkedIn URL:
4
22
New comment Oct 13
Introduce Yourself Here!
0 likes • Jul 24
My name is : Sakshi Kolase What i do : Chartered Market Technician(CMT) level 3 candidate. Market I trade : India My Expertise is : Breakout trading My goal is : Become a profitable quant trader Linkedin URL : https://www.linkedin.com/in/sakshi-kolase-7b517a21a
1-2 of 2
Sakshi Kolase
1
5points to level up
@sakshi-kolase-3359
Chartered Market Technician(CMT) level 3 candidate

Active 26d ago
Joined Jul 24, 2024
powered by