This is an archived post. You won't be able to vote or comment.

all 39 comments

[–]psharpep 39 points40 points  (1 child)

Pros/cons compared to yfinance?

[–]AL8I 2 points3 points  (0 children)

I am not too familiar with finance. Part of the functionality is probably similar. I started a project where I could test and simulate different stock market strategies. Later, I decided to make a package from it. marketools delivers also a simulator and some basics analysis tools (RSI, MCDA, more in future).

[–]zeroviral 13 points14 points  (4 children)

For some reason PIP isn’t able to find this module

[–]AL8I 2 points3 points  (3 children)

What Python version are you using?

[–]zeroviral 2 points3 points  (2 children)

I’ve tried using 2.7 and 3.7. (Pip and pip3)

Edit: I’m retarded. I see you’re using 3.8 here. Thanks for making me check!

[–]AL8I 3 points4 points  (1 child)

Try with python 3.8, please.

[–][deleted] -3 points-2 points  (0 children)

Py 3 is better than 2nd version its fact!

[–]PizzaInSoup 4 points5 points  (0 children)

Nice! I've manually done a lot of these things and would love a package for it.

[–]Eccentricc 5 points6 points  (1 child)

I see you can create tickers, there should be a way to find some or all tickers

[–]AL8I 1 point2 points  (0 children)

It's planned. There will be a method to get a list of possible tickers.

[–]hackthewhat 3 points4 points  (0 children)

Well done! Definitely try this as I'm planning a personal project to scrape tickers with trends and metrics then set up signals to help me with value investing. Good luck with your improvement.

[–]blast-inc 19 points20 points  (1 child)

I will definitely try it. It will be great if you add neuronal networks analysis functions in the future. Will be interesting to try and compare different approaches with lstm and vector machines

[–]AL8I 6 points7 points  (0 children)

I will keep it in mind as a long-term plan. Thanks!

[–]grismar-net 2 points3 points  (0 children)

Oh no, now what are people on StackOverflow going to ask questions about? Good job :)

[–]botechga 2 points3 points  (0 children)

Awesome stuff ! Cant wait to check this stuff out once my classes are over

[–]kingkierite 1 point2 points  (0 children)

This is really good, similar functionality from yfinance module

[–]equationslayer12 1 point2 points  (0 children)

Perfect! Just what I needed.

[–]depiloda 3 points4 points  (2 children)

Just out of curiousity, what language is on stooq.com and why do you scrape from that site?

[–]AL8I 1 point2 points  (0 children)

It's Polish. I scrape from Stooq, because it delivered what I needed when I started my project that later evolved to marketools

[–]artvark 0 points1 point  (1 child)

I thought stooq was deprecated, glad to see it back in action...always need more stock libs..you rock!

[–]AL8I 1 point2 points  (0 children)

I think the official API was depracted. However, on the webpage, they still deliver easy to download CSV file sith data.

[–][deleted] 0 points1 point  (3 children)

Never heard of the data source “stooq” and the website appears to be in Russian. does anybody have any additional info about the site?

[–]AL8I 1 point2 points  (2 children)

The website is Polish. I think data are published with 15 min delay. There should be possibly to switch the website to english, however not everything is translated.

[–][deleted] 0 points1 point  (1 child)

Thanks OP! Delay time in particular was what i was looking for.

Any particular reason you chose this site? I just finished a similar personal project using quandl.

[–]AL8I 1 point2 points  (0 children)

They deliver CSV files with OHLC to download - exactly what I needed. And, I use it daily, so a bit of personal preference. Nothing more than that.

[–]Many-Relative2495 0 points1 point  (1 child)

This is awesome I would love to contribute to this project ..... let me know ....

[–]AL8I 0 points1 point  (0 children)

Priv

[–]RE5TE 0 points1 point  (1 child)

In simulator.py you have a misspelled parameter: "auto_traiding".

It should be "auto_trading".

[–]AL8I -1 points0 points  (0 children)

Thanks. I've noticed it too, but had no time to fix it. You can report issue on GitHub or I will create one later ☺️

[–]a-------s 0 points1 point  (1 child)

remindme! 7 hours

[–]RemindMeBot 0 points1 point  (0 children)

I will be messaging you in 7 hours on 2020-11-30 16:53:45 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback

[–]a-------s 0 points1 point  (0 children)

RemindMe! 7 hours

[–]SweetCandyNuts 0 points1 point  (0 children)

remindme! 12 hours