Giter VIP home page Giter VIP logo

Comments (7)

ba11b0y avatar ba11b0y commented on June 15, 2024

Scrip codes doesn't seem to work with NSE as the exchange type.

from py5paisa.

uberdeveloper avatar uberdeveloper commented on June 15, 2024

Could I try this?

from py5paisa.

ba11b0y avatar ba11b0y commented on June 15, 2024

Sure @uberdeveloper

from py5paisa.

uberdeveloper avatar uberdeveloper commented on June 15, 2024

Any pointers?
I think we need to convert the existing master and map them to the keyword arguments for the place_order function or should we go for a new order_place function similar to Zerodha?

from py5paisa.

ba11b0y avatar ba11b0y commented on June 15, 2024

Hey @uberdeveloper
So I have been working on a GET endpoint which will return the scrip code for matching trading symbol.
I have written it for NSE cash and will soon be completing it for NSE Futures and Options also.
Does this help?

from py5paisa.

uberdeveloper avatar uberdeveloper commented on June 15, 2024

@invinciblycool
Thanks definitely.
So would this be a part of the existing place_order function or a new order_by_symbol function?
I prefer a function in the form
client.order_place(symbol='SBIN', exchange='NSE',qty=1,**kwargs)
where the exchange and symbol would be converted to the scrip_code and order would be placed.

The entire instruments file could be preloaded on a request so that the (symbol, exchange) tuple could be looked up for scrip code and vice-versa (scrip codes can be duplicates since they are used across exchanges)

Could I give a try in implementing this?

from py5paisa.

 avatar commented on June 15, 2024

@invinciblycool any update on this feature for NSE Futures and Options... would be a great help if this can be released on priority.

from py5paisa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.