Wednesday, September 21, 2022

M2 plugin : Option chain analysis for MCX and NSE Currency

 


Hi All ,


With this new update now you will be able to analyze Option chain for not only NSE FO, but also for NSE Currency (USDINR, GBPINR. all traded on NSE Currency)  and MCX ( Crude oil, GOLD, SILVER, Cotton .. all) 





Added components are.


1) Graphs for Option OI.

2) Auto Refresh of Option chain

3) Display of Selected Strike ranges. 

4) Intraday  History view of Option OI.

5) OI Spurt for Given Option Chain. 

6) Strike Specific OI Built-up details. 

7) OI Change view for a given strike at both Call & Put side. 

8) Position Updates

9) Gann Square


hope this will give you a trading edge in your intraday trading. 

you should go through the video once and it will help you in understanding the details behind it and how to use those features. 


To get these tool details are provided in Video description 

Wednesday, April 28, 2021

REST-API, JSON:API, GraphQL API whats the difference

 Hi All, 


After long time again writing some thing related to technical. So recently i saw there is a confusion which api specification to use. between REST, GraphQL, JSON API. 

So to first get a context list list down what all 3 api styles define and 


1) REST (Representational State Transfer) API. 

As this is the most popular api approach in current environment. 

REST was designed to provide interoperability between web resources by defining a uniform set of stateless operations. it uses http  verbs to act upon resources Get, Post, Put, Patch, Delete. 

Using stateless protocols and standard operations is meant to provide fast performance, reliable interactions, and extensibility through standardization.

As each request only responds with that which you asked for. This makes for a highly efficient, fast, and powerful approach.  But the same thing goes as a drawback of rest. When you need some group operation it leads to multiple round trips. and many times over fetching of data on client side which is not required. 


2) JSON:API

JSON:API sets a standard for communication; it expresses how requests to the server should be formatted, and then what the response to the client should be formatted as. Its goal is to optimize HTTP requests by reducing the number of requests needed as well as reducing the size of data packages exchanged between clients and servers.

To let know the server that api is containing data payload header used is 

Content-Type: application/vnd.api+json


A JSON object is at the root of requests, which must include either resource data, error, or meta information. Data, and also relationships to data can be fetched through GET calls like such

A typical JSON API request

GET /articles HTTP/1.1

Accept: application/vnd.api+json


// ...

{

  "type": "articles",

  "id": "1",

  "attributes": {

    "title": "My First Article"

  },

  "relationships": {

    "author": {

      "links": {

        "self": "/articles/1/relationships/author",

        "related": "/articles/1/author"

      },

      "data": { "type": "people", "id": "1" }

    }

  }

}

// ...


Advantages of using JSON API

Caching

Optimization Features (Sorting , pagination)

Compound Documents : Enables to add additional documents in the response.

GET https://api.example.com/posts?include=comments

 Sparse Field sets  :  Enable clients to only request data from specific fields.

GET /articles?include=author&;fields[articles]=title,body&;fields[people]=name 

HTTP/1.1

Accept: application/vnd.api+json

Optionality : Provides facility to turn on/off the features which are not required 


3) GraphQL

GraphQL is an application query language, It is primarily designed to create a predefined, understandable, and stable format for requests.

allowing the client to specifically state the structure of data and the data itself that should be returned from the server.

 GraphQL gives information as to related resources, allowing you to traverse from the first returned data to more related data content, forming a graph of related data and meta-relationships.


The provision of related resources also means that you can make more advanced queries and get all of that data in one fell swoop, whereas in other solutions like REST, you’d need to be make hugely complicated multi-endpoint series of calls to get everything you can in a single GraphQL request.


As sample GraphQL Request Body

{

    author {

        name,

        age

   }

}


this will return only author object with properties of name and age, other fields will not be send by server.




Saturday, January 9, 2021

M2 Plugin Option Chain filters with graphs and Positions

 Hi All, 


Now i have came with many small but required changes which were needed for intraday options trading. 

I have tried to explain them in below mentioned YouTube video. 



Added components are.


1) Graphs for Option OI.

2) Auto Refresh of Option chain

3) Display of Selected Strike ranges. 

4) Intraday  History view of Option OI.

5) OI Spurt for Given Option Chain. 

6) Strike Specific OI Built-up details. 

7) OI Change view for given strike at both Call & Put side. 

8) Position Updates

9) Gann Square


hope this will give you a trading edge in your intraday trading. 

you should go through video once and it will help you in understanding the details behind and how to use those features. 


Any many new features will come in 2021. so be ready for this.

Saturday, June 20, 2020

M2 Excel Plugin Updates


Hi All,

Thanks for your overwhelming response on using M2 Plugin. So now i have come up with a few new improvements in this plugin. so lets go tho what are new changes without wasting any time.




1) Improving performance while displaying on excel. so i have removed the formatting which was done while displaying values. so now you will not have to wait too long till it completes displaying data into excel.


2) Export of CM and FO bhav copy
As last time i have put that in beta for exporting  CM, FO bhav copy. now i have completed my pending task for that and now it is compatible to amibroker format.

Format for CM in csv
 Ticker, date, open, high, low,  close,  volume

In CM export you will get data only of the stock and not other details which are there in bahvcopy so what you see in excel will be more data than what will be exported.

Format for FO
  Ticker, date, open, high, low,  close,  volume, OI

In FO export you will receive for now only export of future contracts. I am not exporting options contracts for now. if you  guys feel that we should add options also then will try to add it in next versions.



3) Options Pay of Graph
  This is very important and simple to use feature. It is option payoff calculator/ graph.
  Here you select your expected Strikes from Call/Put with either long for short.
And specify the strike interval for the script . Ex Nifty currently strike interval is 50. same way for different stocks strike interval is different. so you have to specify it manually when using it.
for details on how to use you can check my youtube video link.


4) Automated Option Strategy Calculator.
 This is very import feature and personally i have put a lot of effort on this. Here you just select the option chain as you use to specify before.
And it will calculate a list of all this Strategy for now and display you the risk-reward and payoff graph. For more details on how to use check the  youtube video.


Supported strategies.
LongCall
ShortPut
BullCallSpread
BullPutSpread
BearCallLadder
BullCallLadder
CallRatioBackSpread
RatioCallSpread
LongCallButterfly
LongPut
ShortCall
BearCallSpread
BearPutSpread
BearPutLadder
BullPutLadder
PutRatioBackSpread
RatioPutSpread
LongPutButterfly
Guts
Straddle
Strangle
Strap
Strip
ShortCallButterfly
ShortCallCondor
ShortIronButterfly
ShortPutButterfly
ShortPutCondor




you can ask me questions on twitter. https://twitter.com/talajiam


Friday, May 1, 2020

M2 Plugin Security Alert - Solved

Hi All,

Thanks for your overwellming response to this plugin. I have got many repsonses that it has help people. But few are facing security warning. so i am writting this post for them .

If you

1) Right click on setup.exe
2) Select properties then the Digital Signatures tab
3) Select Certificate from list of certificates 
4) Click on details 
5) Click on View Certificate 
6) Install Certificate
7) Select Store location to Local Machine
8) Manually select location for certificate by click on Browse 
     Trusted Root Certificate Authorities
 9) Click next and finish It will install certificate in your system 

After this you can again try running Setup. it will work .