Indian Stock Market Discussions, Share market discussions forum, BSE Stocks forum, NSE Stocks forum MCX MSEI Commodity Equity etc
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 253
» Latest member: Priyanka_Asati123
» Forum threads: 361
» Forum posts: 672

Full Statistics

Online Users
There are currently 27 online users.
» 0 Member(s) | 25 Guest(s)
Bing, Google

Latest Threads
L&T has bagged mega order...
Forum: Stock News
Last Post: Sapna Mukherjee
10-07-2024, 01:09 AM
» Replies: 0
» Views: 62
Calculate heiken ashi wit...
Forum: Strategies and Indicators
Last Post: Sapna Mukherjee
05-07-2024, 12:37 PM
» Replies: 0
» Views: 172
what is difference betwee...
Forum: Stock Brokers
Last Post: Sapna Mukherjee
02-07-2024, 09:51 PM
» Replies: 0
» Views: 161
TOTAL Charges Calculation...
Forum: Stock Brokers
Last Post: Chethan
25-06-2024, 11:28 PM
» Replies: 0
» Views: 208
Adani-owned Ambuja Cement...
Forum: Stock News
Last Post: Chethan
15-06-2024, 10:27 PM
» Replies: 0
» Views: 330
Wipro about to launch Cyb...
Forum: Stock News
Last Post: Chethan
05-06-2024, 10:12 PM
» Replies: 0
» Views: 384
public key does not exist...
Forum: Stock Brokers
Last Post: Sapna Mukherjee
25-05-2024, 08:41 PM
» Replies: 0
» Views: 511
list of some of the best ...
Forum: Stock Research
Last Post: Vinod
20-05-2024, 09:07 PM
» Replies: 0
» Views: 350
M&M 50,000 unit bookings ...
Forum: Stock News
Last Post: Vinod
19-05-2024, 11:52 AM
» Replies: 0
» Views: 547
Ambuja Cement agreement a...
Forum: Stock News
Last Post: Vinod
17-05-2024, 11:55 PM
» Replies: 0
» Views: 539

 
  L&T has bagged mega orders for Solar plants in the Middle East
Posted by: Sapna Mukherjee - 10-07-2024, 01:09 AM - Forum: Stock News - No Replies

L&T has bagged mega orders for Solar plants in the Middle East. L&T has classified order as a 'Mega' order. The renewable arm of L&T has finalized order with a leading developer in the Middle East, for two Solar PV plants of gigawatt scale. The plants will have a cumulative capacity of 3.5 GW.

Print this item

  Calculate heiken ashi with 15 minute ohlc data (open, high, low,close)
Posted by: Sapna Mukherjee - 05-07-2024, 12:37 PM - Forum: Strategies and Indicators - No Replies

Heiken Ashi is a type of candlestick chart that provides a better visual representation of trends in the market by smoothing out price data. The Heiken Ashi (HA) candlesticks are calculated using the following formulas:

1. **HA Close** = (Open + High + Low + Close) / 4
2. **HA Open** = (Previous HA Open + Previous HA Close) / 2
3. **HA High** = Maximum of (High, HA Open, HA Close)
4. **HA Low** = Minimum of (Low, HA Open, HA Close)

To calculate the Heiken Ashi values from 15-minute OHLC (Open, High, Low, Close) data, we'll follow these steps:

1. Start with the first candlestick's Open and Close values to initialize the HA Open and HA Close.
2. For each subsequent candlestick, calculate the HA Close, HA Open, HA High, and HA Low using the formulas provided.

Print this item

  what is difference between aliceblue websocket ltp and get ltp by token
Posted by: Sapna Mukherjee - 02-07-2024, 09:51 PM - Forum: Stock Brokers - No Replies

Alice Blue provides different methods to fetch the Last Traded Price (LTP) of financial instruments, including through WebSocket connections and normal GET requests by token. Here are the key differences between these two methods:

### WebSocket LTP Fetching

#### Advantages:
1. **Real-Time Updates**:
  - WebSockets provide real-time updates of market data. Once a WebSocket connection is established, the server pushes updates to the client immediately as they happen.
  - This is ideal for applications that require real-time data, such as trading bots or live dashboards.

2. **Efficiency**:
  - WebSockets are more efficient for streaming data as they maintain a persistent connection, reducing the overhead of repeated HTTP requests.
  - This is particularly useful for high-frequency trading or monitoring multiple instruments simultaneously.

#### Disadvantages:
1. **Complexity**:
  - Implementing and managing WebSocket connections can be more complex compared to simple HTTP requests.
  - It requires handling connection lifecycle events like connection establishment, reconnections, and message parsing.

2. **Resource Usage**:
  - WebSockets can consume more resources on both the client and server sides due to the persistent nature of the connection.

#### Example:
```python
import websocket
import json

def on_message(ws, message):
    data = json.loads(message)
    print(f"LTP for {data['token']}: {data['ltp']}")

def on_error(ws, error):
    print(error)

def on_close(ws):
    print("### closed ###")

def on_open(ws):
    subscribe_message = {
        "action": "subscribe",
        "token": "BANKNIFTY JUL FUT"
    }
    ws.send(json.dumps(subscribe_message))

if __name__ == "__main__":
    websocket_url = "wss://example.aliceblueapi.com/stream"
    ws = websocket.WebSocketApp(websocket_url,
                                on_open=on_open,
                                on_message=on_message,
                                on_error=on_error,
                                on_close=on_close)
    ws.run_forever()
```

### Normal GET LTP Fetching by Token

#### Advantages:
1. **Simplicity**:
  - Using a GET request to fetch the LTP by token is straightforward and easy to implement. It involves making a single HTTP request and receiving a response.
  - This is suitable for less frequent data retrieval or where real-time updates are not critical.

2. **Resource Light**:
  - GET requests are stateless and do not require maintaining a persistent connection, which can be less resource-intensive.

#### Disadvantages:
1. **Latency**:
  - HTTP GET requests can have higher latency compared to WebSocket updates because each request needs to establish a connection, send a request, and wait for a response.
  - This method is not suitable for applications requiring real-time data updates.

2. **Overhead**:
  - Repeated GET requests can create significant overhead, especially if polling frequently for updated data.

#### Example:
```python
import requests

def get_ltp_by_token(token):
    url = f"https://example.aliceblueapi.com/getLTP/{token}"
    response = requests.get(url)
    if response.status_code == 200:
        data = response.json()
        return data['ltp']
    else:
        return None

token = "BANKNIFTY JUL FUT"
ltp = get_ltp_by_token(token)
if ltp:
    print(f"LTP for {token}: {ltp}")
else:
    print("Failed to fetch LTP")
```

### Summary

- **WebSocket LTP Fetching**:
  - Best for real-time applications needing continuous updates.
  - More complex to implement and manage.
  - Efficient for high-frequency data streaming.

- **Normal GET LTP Fetching by Token**:
  - Simpler and easier to implement.
  - Suitable for less frequent data retrieval.
  - Higher latency and overhead with frequent requests.

The choice between these two methods depends on the specific requirements of your application, such as the need for real-time updates, ease of implementation, and resource constraints.

Print this item

  TOTAL Charges Calculation with ₹15 Brokerage Fee
Posted by: Chethan - 25-06-2024, 11:28 PM - Forum: Stock Brokers - No Replies

let's calculate the total buy and sell charges for 1 lot of options in Alice Blue (15 per order), assuming the flat brokerage charge is ₹15 per order instead of ₹20.

### Example Calculation with ₹15 Brokerage Fee

Let's assume you're trading Nifty options and the premium is ₹100 per lot, with 1 lot consisting of 50 units.

#### Buy Charges

1. **Brokerage Fee**: ₹15 per order
2. **Exchange Transaction Charges**: 0.053% of (₹100 * 50) = 0.053% of ₹5000 = ₹2.65
3. **SEBI Turnover Fees**: 0.0001% of ₹5000 = ₹0.005 (rounded to nearest paisa, often ignored)
4. **GST**: 18% of (₹15 + ₹2.65) = 18% of ₹17.65 = ₹3.18
5. **Stamp Duty**: 0.003% of ₹5000 = ₹0.15

**Total Buy Charges**: ₹15 + ₹2.65 + ₹3.18 + ₹0.15 = ₹20.98

#### Sell Charges

1. **Brokerage Fee**: ₹15 per order
2. **Exchange Transaction Charges**: 0.053% of (₹100 * 50) = ₹2.65
3. **SEBI Turnover Fees**: 0.0001% of ₹5000 = ₹0.005 (rounded to nearest paisa, often ignored)
4. **GST**: 18% of (₹15 + ₹2.65) = 18% of ₹17.65 = ₹3.18
5. **Stamp Duty**: Typically not charged on sell transactions for options in most states.

**Total Sell Charges**: ₹15 + ₹2.65 + ₹3.18 = ₹20.83

### Total Round Trip Charges

Adding both buy and sell charges:

**Total Buy Charges**: ₹20.98 
**Total Sell Charges**: ₹20.83 

**Total Charges for 1 Lot Options Trade**: ₹20.98 + ₹20.83 = ₹41.81

### Summary

For a round trip (buy and sell) of 1 lot of options in Alice Blue with a flat brokerage charge of ₹15 per order, the total charges, including all taxes, are approximately ₹41.81.

Print this item

  Adani-owned Ambuja Cement to acquire Hyderabad-based Penna Cement
Posted by: Chethan - 15-06-2024, 10:27 PM - Forum: Stock News - No Replies

Adani-owned Ambuja Cement, on June 13, announced a USD1.25 billion deal to acquire Hyderabad-based Penna Cement,

Print this item

  Wipro about to launch Cyber X-Ray in collaboration with Zscaler.
Posted by: Chethan - 05-06-2024, 10:12 PM - Forum: Stock News - No Replies

Wipro has informed the stock exchange about the launch of Cyber X-Ray, an AI-assisted decision support platform developed in collaboration with Zscaler. Cyber X-Ray is designed to help Chief Experience Officers (CXOs) optimize their security investments, visualize their cyber risk posture, and effectively communicate the value of cybersecurity initiatives to senior leadership. The platform features an executive dashboard that provides business leaders with comprehensive risk visibility and a cost vs. impact analysis, enabling them to make informed decisions and justify cybersecurity expenditures.

Print this item

  public key does not exist breeze api
Posted by: Sapna Mukherjee - 25-05-2024, 08:41 PM - Forum: Stock Brokers - No Replies

How to solve public key does not exist breeze api issue when I try to generate session key

Print this item

  list of some of the best dividend-paying stocks on the National Stock Exchange (NSE)
Posted by: Vinod - 20-05-2024, 09:07 PM - Forum: Stock Research - No Replies

Here is a list of some of the best dividend-paying stocks on the National Stock Exchange (NSE) in India, based on recent data:

1. **Coal India Ltd**: Known for its consistent high dividend yield.
2. **Oil and Natural Gas Corporation Ltd (ONGC)**: A state-owned oil and gas company with regular dividend payouts.
3. **Power Grid Corporation of India Ltd**: Offers a strong dividend yield with consistent returns.
4. **Tech Mahindra Ltd**: Provides a good dividend yield along with steady growth in IT services.
5. **ITC Ltd**: Noted for its diversified business model and high dividend payout ratio.
6. **HCL Technologies Ltd**: A leading IT services company offering attractive dividends.
7. **Tata Consultancy Services Ltd (TCS)**: Known for high dividend payouts and strong financial performance.
8. **Infosys Ltd**: Offers consistent dividends along with solid growth in the IT sector.
9. **Hero MotoCorp Ltd**: A major player in the two-wheeler segment with reliable dividend returns.
10. **SJVN Ltd**: A public sector undertaking with a high dividend yield and significant growth potential in power generation.

These companies are selected based on their dividend yield, payout consistency, and overall financial stability【157†source】【158†source】. Investing in these stocks can provide a steady source of passive income, but it is important to consider the company's financial health and future growth prospects before investing.

Print this item

  M&M 50,000 unit bookings for XUV 3XO model
Posted by: Vinod - 19-05-2024, 11:52 AM - Forum: Stock News - No Replies

In a regulatory disclosure submitted to the stock exchanges, M&M announced that it garnered an impressive 50,000 unit bookings for its newly launched XUV 3XO model within just 60 minutes of opening bookings yesterday.

Print this item

  Ambuja Cement agreement agreement with My Home Industries Private Limited
Posted by: Vinod - 17-05-2024, 11:55 PM - Forum: Stock News - No Replies

Ambuja Cement, a subsidiary of the Adani Group, has finalized a definitive agreement with My Home Industries Private Limited to acquire a 1.5 million metric tonnes per annum (mtpa) cement grinding unit located in Tamil Nadu. The acquisition, valued at ₹413.75 crores, will be financed through internal accruals.

Print this item