GithubHelp home page GithubHelp logo

m-ahmadi / tse-client Goto Github PK

View Code? Open in Web Editor NEW
33.0 3.0 11.0 7.22 MB

A client for fetching stock data from the Tehran Stock Exchange (TSETMC). Works in Browser, Node and as CLI.

License: MIT License

JavaScript 78.34% HTML 21.66%
tsetmc stock-market cli node-module browser stock tehran iran data dataset

tse-client's Issues

CORS error

Hi,
When running each browser test I get a CORS error.
Screenshot from 2021-08-14 15-13-57

Thank you for any help.

تعدیل اشتباه یا درست ؟

سلام ، بنده برای پروژه ای از روش تعدیل قیمتی شما استفاده کردم ولی به مغایرت قیمتی با نمودار های آگاه و رهاورد خوردم و حتی در همین اپلیکشن نیز اعداد مغایرت دارند با این که تدیل به درستی انجام یافته است.
مثال : سهم فرابورس در تاریخ 2021-03-031
قیمت در tseclient : 1100
قیمت در کارگزاری ها : 1260
به نظرتون مشکل از کجاست ؟

UnhandledPromiseRejectionWarning

با سلام
بعد نصب و هنگام اجرا این خطا رو نشان میده
ممنون میشم راهنمایی کنید

(node:44660) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'red' of undefined at D:\laragon\bin\nodejs\node-v14.17.5\node_modules\tse-client\index.js:128:61 (Use node --trace-warnings ...to show where the warning was created) (node:44660) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) (node:44660) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

403 forbidden

وقتتون بخیر . وقتی آدرس زیر فراخوانده میشه ، خطای 403 دریافت میشه. آیا سرویسی که فراخوانده میشه پولی هست؟ یا اینکه اشتباهی در فراخوانی صورت میگیره؟
API_URL?t=InstrumentAndShare&a=20220629&a2=0

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.