Thursday, May 19, 2022
Tuesday, May 17, 2022
Sunday, May 8, 2022
Saturday, May 7, 2022
Friday, May 6, 2022
Python program to calculate stop-loss level for a given buy price.
def findSLTP():
c = int(input("Enter current market price : "))
print("SLTP for " + str(c) + " at 6% loss should be : " + str(int(c - 0.06*c)))
x = input("Press Enter to exit application ")
findSLTP()
Python program to calculate profit %
def findProfit():
x = 'a'
while x != 'n' or x != 'N':
c = float(input("Enter current market price : "))
s = float(input("Enter expected sell price : "))
a = float((s - c)/c)*100
formatted_a = "{:.2f}".format(a)
print("% Profit for buy at " + str(c) + " and expected sell at " + str(s) + " would be : " + str(formatted_a) +"%")
print()
#x= input("Want to continue (y/n) :")
#if x == 'n':
#exit()
findProfit()
Tuesday, May 3, 2022
Top 10 trading stocks
- Reliance Inds - Sector: Telecom Long-term trend: UP
- TCS - Sector: IT Long-term trend: SIDEWAYS
- Persistent Systems - IT Long-term trend: UP
- HDFC Bank - Banking Long-term trend: SIDEWAYS
- ICICI Bank - Banking Long-term trend: UP
- Hindalco - Metals Long-term trend: UP
- Tata steel - Metals Long-term trend: UP
- Hero motors - Auto Long-term trend: DOWN
- Godrej Consumer Products - FMCG Long-term trend: DOWN
- Tata Consumer Products - FMCG Long-term trend: SIDEWAYS
Up trending stocks are best for trading, followed by sideways consolidating stocks.
Trading in long-term downtrending stocks should be avoided.
Ampere's circuital law
Ampere's circuital law states that the line integral of a magnetic field around any closed loop is equal to the permeability of free s...
-
Assuming you are working with a newly returned ResultSet whose cursor is pointing before the first row, an easier way to check this is to...
-
Here are some links to online work sites https://www.upwork.com/ https://www.guru.com/ https://studio.envato.com/freelance-switch/ htt...
-
//The HTML index page <!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change ...