Code Monkey home page Code Monkey logo

Comments (15)

Chawdavijay avatar Chawdavijay commented on August 24, 2024 1

@Chawdavijay your problem solved?

I am using your library with latest version only.
Now I am subscribe the instruments by name.

from alice_blue.

Kannansowmyan avatar Kannansowmyan commented on August 24, 2024

Just an update to the issue. I tried to get what is the data being returned in the list of contract. You find same token number across exchange. i.e. 2885 is in both NSE and CDS. Hence the instrument masterlist is returning whichever is matching .

from alice_blue.

Kannansowmyan avatar Kannansowmyan commented on August 24, 2024

Update 2: Managed to make it work by making changes to the source code. Not sure whether this is the correct way. enclosing the file (Added one more parameter for get_instrument_by_token exchange to filter exchange wise
alice_blue_py.txt

from alice_blue.

krishnavelu avatar krishnavelu commented on August 24, 2024

Strange, will look into the issue.

from alice_blue.

krishnavelu avatar krishnavelu commented on August 24, 2024

Iā€™m looking into this issue, for now you can avoid this by not downloading the CDS master contract.

from alice_blue.

krishnavelu avatar krishnavelu commented on August 24, 2024

@Kannansowmyan I've fixed in develop branch. I couldn't test your particular issue because CDS is not enabled in my account. Please test and let me know if this solves your problem.

from alice_blue.

krishnavelu avatar krishnavelu commented on August 24, 2024

@Kannansowmyan did you test it?
I cannot test it because CDS is not enabled in my account.

from alice_blue.

Kannansowmyan avatar Kannansowmyan commented on August 24, 2024

from alice_blue.

krishnavelu avatar krishnavelu commented on August 24, 2024

I'm waiting for your test results on 0.0.7 release. If this goes good. I'll make a new release which has many bug fixes & enhancements.

from alice_blue.

krishnavelu avatar krishnavelu commented on August 24, 2024

Hello @Kannansowmyan
Any updates?

from alice_blue.

krishnavelu avatar krishnavelu commented on August 24, 2024

@Kannansowmyan any updates?
Closing this now.

from alice_blue.

Chawdavijay avatar Chawdavijay commented on August 24, 2024

This is still arising...
I am calling "get_instrument_by_symbol" function through API for Reliance then i am getting Token as 2885 for Reliance.
But when i am calling "get_instrument_by_token" function through API for 2885 then i am getting instrument as USDINR.

from alice_blue.

krishnavelu avatar krishnavelu commented on August 24, 2024

@Chawdavijay
Which version of the library are you using?
Post some sample code to reproduce the issue. Also the results/prints.

from alice_blue.

krishnavelu avatar krishnavelu commented on August 24, 2024

@Chawdavijay your problem solved?

from alice_blue.

krishnavelu avatar krishnavelu commented on August 24, 2024

I'm getting reliance as instrument and reliance's quote when subscribe.

------

Instrument(exchange='NSE', token=2885, symbol='RELIANCE', name='RELIANCE INDUSTRIES LTD', expiry=None, lot_size=None)

------

quote update {'exchange': 'NSE', 'token': 2885, 'ltp': 1431.55, 'change': 0, 'exchange_time_stamp': 0, 'volume': 17458503}

from alice_blue.

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.