• Breaking News

    Thursday, January 23, 2020

    Python For Finance + Stock Trading learn programming

    Python For Finance + Stock Trading learn programming


    Python For Finance + Stock Trading

    Posted: 22 Jan 2020 07:40 AM PST

    I have just started a python for finance Youtube series where I share how I have created programs to scan stocks, back test strategies, and manage your portfolio. These are high quality code with me tutorials which will explore the capabilities of pandas, numpy, and your ingenuity!

    Even if you have never programmed python I take it step by step and explain as much as I can.

    So far I have made 2 videos, the first is a walk-through of how to download python and then how to access and manipulate stock data to create simple moving averages.

    https://www.youtube.com/watch?v=myFD0np9eys&list=PLPfme2mwsQ1FQhH1icKEfiYdLSUHE-Wo5&index=2&t=0s

    The second video teaches you how to back test strategies. The program simulates entering and exiting trades based on criteria you choose (such as a close above or below a moving average) Then it calculates key statistics that identify how effective that trading method is including batting average and total return.

    https://www.youtube.com/watch?v=eYK2SNygAog&list=PLPfme2mwsQ1FQhH1icKEfiYdLSUHE-Wo5&index=3&t=0s

    My next video will be about how to create a powerful and adaptive stock screener to quickly sort through thousands of stocks.

    Feel free to check it out and any feedback about what python videos I should make or how I can improve these videos is welcome! Have a great day!

    submitted by /u/Rmogo21
    [link] [comments]

    Finally got a job working for a software company!

    Posted: 22 Jan 2020 08:34 AM PST

    after a 1-2 years of learning programming and web development I finally got a job! As an apprentice software developer!

    When I heard the news I was ecstatic! I couldn't concentrate. Finally my dream has been realised. No more crappy retail jobs! I can finally leave that forever.. At least, hopefully forever.

    The only thing I'm worried about now is whether I know enough or if it will be agreeable to me or not! Am I clever enough?

    Would love it if some of you guys could offer some advice on just starting me programming career!

    submitted by /u/Bennetto
    [link] [comments]

    How can I make money programming while learning how to code?

    Posted: 22 Jan 2020 05:31 PM PST

    Hey! Im 18 and in my 1st year of CS degree and I need to start making spme money. Im pretty good at programming as of now(compared to my peers).

    What are some good ways to make money?

    submitted by /u/gueinibba
    [link] [comments]

    What is the simplest project that covers everything that a Junior "Full-Stack" Developer should know?

    Posted: 22 Jan 2020 11:37 PM PST

    Does anyone have an example of the simplest project that we can put on our resume to demonstrate that we are a Junior "Full-Stack Developer?

    This means having a certain technology for Front-End, Back-End, Database, DevOps, Cloud, CI/CD, etc.

    Any suggestions?

    submitted by /u/csthrowaway9208
    [link] [comments]

    End-to-End Tutorial/course for ML/AI in python?

    Posted: 22 Jan 2020 11:26 PM PST

    Hey there,

    I've been trying to find some good courses to learn Python from the ground up, but with a direction towards Machine Learning/AI. Something that would introduce me to the required frameworks/libraries/algorithms to get started AFTER learning fundamentals of python. Note: I do know how to code, mostly OOP though.

    submitted by /u/la_kola
    [link] [comments]

    The Next Step?

    Posted: 22 Jan 2020 11:03 PM PST

    Hey bots,

    Over the last month or two, I've been spending a ton of time on Udemy and Youtube learning everything I can about Python. I'm excited because I feel that I've gotten a comfortable with a lot of the core syntax and functions, which were absolutely terrifying in the start (progress!).

    When I say core, I mean very basic operations and objects.

    My problem is, as I move forward, I can't seem to find very many resources that move away from these topics. I see and hear all sorts of things on this sub and all over the internet that are practically a foreign language. APIs? No clue. Strings? I've watched about three hours of explanations on those. I'm ordering the Python Crash Course and Learn Python the Hard Way books, but even those worry me in that they may just be going over the same day 1 lessons.

    I hope to someday pursue a career in programming, and perhaps develop apps. I have a massive amount to learn still, and I'm not sure where to head next.

    Thanks in advance! I appreciate the advice.

    tldr; next step after learning basic syntax and objects?

    submitted by /u/GreenRat45
    [link] [comments]

    I have been programming for a while (high schooler), best way to learn more...?

    Posted: 22 Jan 2020 10:59 PM PST

    I am a high school student, and I have been programming Java for quite a while. I have been focusing much more on diving into different areas of softwares like games, GUIs, or automated software, etc. However most of my friends spend their time working on coding problems (such as codingbat, leetcode) and learning more about algorithms (some competiting in olympiads). I've only done very few coding problems, and I don't know if I should focus more on trying to develop actual softwares and learning more that way, or just practice solving programming problems. Which one would be more beneficial to a high school student like myself? I am hoping to get into a decent college with a cs major

    submitted by /u/climbpg
    [link] [comments]

    how do i dynamic load data in Modal's or SpanTag in Modal's ( ASP.net , C# )

    Posted: 22 Jan 2020 10:18 PM PST

    i have created a modal ,lets name it ExModal and many card's that will target ExModal , there are Span Tag's in ExModal , i want my data to be dynamic in Modal ,as i have created function that will return data according to ID's ( dbf.runall(i) ) ,there are many card on index page which have this button :

    <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalLong">Enter</button>

    below : index.aspx.cs

    DatabaseFunc dbf = new DatabaseFunc();

    public void Col1(int i)

    {

    dbf.runall(i); // this is input of ID ,so database will return string according

    // int i : ID(a primary key of database)

    MspanT.InnerText = dbf.retQ(); // this will return string from Database

    MspanB.InnerText = dbf.retS();

    MspanB2.InnerText = dbf.retD();

    MImg.Src = dbf.retImg();

    }

    below : index.aspx , this is my modal i m talking about

    <div class="modal fade" id="exampleModalLong2" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true">

    <div class="modal-dialog" role="document">

    <div class="modal-content">

    <div class="modal-header">

    <h5 class="modal-title" id="exampleModalLongTitle2">

    <span id="MspanT" runat="server"

    class="badge badge-primary text-center">Title </span>

    <%-- I Want above span tag to be dynamic --%>

    </h5>

    <button type="button" class="close" data-dismiss="modal"

    aria-label="Close">

    <span aria-hidden="true">&times;</span>

    </button>

    </div>

    <div class="modal-body">

    <img src="Img\Math.jpg" id="MImg" runat="server"

    class="d-block w-100" alt="..." width="100" height="200">

    submitted by /u/samvortex0
    [link] [comments]

    Making the jump from school code to 'enterprise' code

    Posted: 22 Jan 2020 03:17 PM PST

    A little context about me: Full-Time Manual QA Engineer at a large(ish) tech company currently pursuing a CS Degree part-time. Gone past the basics in multiple languages with school and currently working with some of the foundational building blocks (data structures and algorithms for example).

    The dev team I'm embedded within has started mob programming. Today was my first day being at the controls of writing some code (with major handholding from the SWEs). This experience has made my impostor syndrome crank up to a thousand. While I'm grateful for the learning opportunity, I am overwhelmed by the jump from learning how to code for school (small, confined problem-solving code) versus seeing a repo at an enterprise level.

    There's a hundred different libraries imported, there's TDD, there's all sorts of endless similarly-named methods and functions that seem to be infinitely referential across multiple files.

    Has anyone else experienced this and have any advice on how to prepare better for this? Is it a matter of getting the building blocks down and then waiting until you're thrown into the deep end at a dev job where you've no choice but to learn? Any thoughts welcome.

    submitted by /u/PapaFritito
    [link] [comments]

    [Docker/Python/Flask] Having trouble running Python/Flask in Docker

    Posted: 22 Jan 2020 11:58 PM PST

    Hi. I wanted to learn how to set up a Python back end inside Docker, so I began with this blog post: https://medium.com/@doedotdev/docker-flask-a-simple-tutorial-bbcb2f4110b5 . My issue name is that once I hit: docker build -t my_docker_flask:latest .
    I get the following error message:

    "

    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip.\_vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fd8ccc06ed0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/flask/

    ....

    ERROR: Could not find a version that satisfies the requirement flask (from -r requirements.txt (line 1)) (from versions: none)

    ERROR: No matching distribution found for flask (from -r requirements.txt (line 1))

    "

    What would be the issue I'm dealing with here? I'm running Fedora 31 if that's of any help.
    Thanks!

    submitted by /u/wabhabin
    [link] [comments]

    Where do I start for a career in Machine learning or Artificial Intelligence?

    Posted: 22 Jan 2020 07:43 PM PST

    I recently graduated from college with a bachelor's degree in Computer but guys I honestly know nothing. I learned a little Java, some web development, some C, meaning: I know the basics of programming languages. I want to have a career in Machine learning or Artificial Intelligence because I'm interested in them a lot. I theoretically know a bit about these topics. So where do I start learning about developing intelligent programs? Or learn more about coding in frameworks? Please suggest me some online courses or programming languages, frameworks, stack overflow/GitHub.

    Ps: I'm really sorry for my bad english as I'm not a native English speaker. I hope you get the point of what I am asking. Thanks.

    submitted by /u/Snes00700
    [link] [comments]

    How to change speed

    Posted: 22 Jan 2020 11:27 PM PST

    I'm still learning programming and I'm learning to code the pong game but for some reason my ball is going 10x the speed of the guys in the video I'm copying and I can't figure out how to slow it down

    submitted by /u/Ivpadi
    [link] [comments]

    [C] Getting errors with using %x and &variable.

    Posted: 22 Jan 2020 11:08 PM PST

    int main () {

    int var1;

    char var2[10];

    printf("Address of var1 variable: %x\n", &var1);

    printf("Address of var2 variable: %x\n", &var2);

    return 0;

    I copied this code from https://www.tutorialspoint.com/cprogramming/c_pointers.htm

    and pasted into visual studio code and it gives me the following error:

    fun.c:11:45: warning: format specifies type 'unsigned int' but the argument has type 'int *' [-Wformat]

    printf("Address of var1 variable: %x\n", &var1 );

    according to the site this should print the address of the variable. If i use %p instead it works.

    Any ideas?

    submitted by /u/lilnako
    [link] [comments]

    Why do I keep getting this error message [Visual Studio 2019]

    Posted: 22 Jan 2020 07:10 PM PST

    I created a folder in my documents called C++ files, and I created a new project called demo. I saved demo to this c++ folder, then I created a source file called demo.

    I keep getting an error message "Unable to start program 'C:\Users\Eric\Documents\C++\files\demo\Debug\demo.exe'. The system cannot find the file specified" Why do I keep getting this error? If this is not descriptive enough, please comment! I have watched multiple tutorials and can't figure it out.

    here is my code:

    #include <iostream>

    using namespace std;

    {

    const float KM = 1.609;

    float mile, km;

    cont >> "enter miles";

    cin >>

    km = KM miles;

    cout << km << "km";

    return 0;

    }

    submitted by /u/dawal99888
    [link] [comments]

    Weird python behavior - "is" operator returning unexpected value

    Posted: 22 Jan 2020 06:51 PM PST

    If I have the following list: [0, 0.0]

    list[0] is 0 returns True

    list[1] is 0.0 returns False

    list[1] is 0 also returns False

    Simply entering 0.0 is 0.0 returns True

    Can anyone help me understand what's going on here? Since list[1] returns 0.0, and 0.0 is 0.0 returns True, I'd expect list[1] is 0.0 to return True.

    submitted by /u/OddTh0ught
    [link] [comments]

    What are great learning resources that could help me improve my logical thinking skills?

    Posted: 22 Jan 2020 10:28 PM PST

    Hello friends, I have been learning how to program 6 months ago. My language is JavaScript and I am getting comfortable with it little by little. However, I find myself taking some time to understand why x does y and so forth.

    And so, I would like to know if you could recommend a great book or strategy that significantly help you think logically.

    I am really eager to learn how. Thank you in advance!

    submitted by /u/jxvicinema
    [link] [comments]

    Python program to input passwords/usernames?

    Posted: 22 Jan 2020 10:08 PM PST

    How would I go about making a program where you can input a password (let's say for Gmail) and it puts it into the gmail login page and tries to login? Coding involving the internet confuses me.

    I'm new to this sub so sorry if this is breaking any rules.

    submitted by /u/Thomas_Caz1
    [link] [comments]

    VBA is the most underrated programming language

    Posted: 22 Jan 2020 06:16 PM PST

    Seriously underrated. I'm not sure how many others are In my boat but I work a standard 9-5 office job and work with excel 95% of the time. Most of my coworkers know only the basics of excel and that's it. I got bored of repeat the same tasks day in and day out so taught myself (Udemy) how to write some basic programs using VBA. Somehow It's gotten around to some people that I'm a bit of a whizz (I'm not) with excel and recently was invited to interview within my company as a software tester (2 years ahead of where I thought I would be competent enough to apply for any tech jobs). True it's not as sexy of a programming language as python, Java etc but if anyone wants to keep up with learning to program but to be able to use it now for any job give excel and VBA a whirl!!

    submitted by /u/holdmypistachios
    [link] [comments]

    Search Space Partitioning

    Posted: 22 Jan 2020 05:58 PM PST

    Hello Dear Redditors,

    I am facing a problem that I am not sure how to solve. Any help or guidance will be greatly appreciated.

    Lets say we have multiple castles of varying sizes with a treasure chest in one of their rooms. Each castle has K rooms where K depends on how big the castle is. I have a number of workers N that I can send into the castles to search for the treasure. I can only search one castle at a time. I start with the smallest castle because smaller castles have a higher chance of containing the treasure, and if the treasure was not found, I move on to the next one until I reach the largest castle. When searching a castle, to make the search more efficient, I assign each worker a subset of the rooms (k) to search in so that each room is searched by only 1 worker. I'm using Particle Swarm Optimization (my workers) and the castles are 3D grids where each grid is partitioned into blocks (rooms). Also, each room I visit could either contain clues (positive fitness), distractions (negative fitness), or empty (neutral fitness), this helps guide the search and would eventually lead all the workers to converge on the correct room. The problem is, the workers have bad memory and the maximum number of rooms I can assign each one is unknown. If I assign too many rooms, they might forget which rooms they were assigned to. If I assign too few, they will keep going back and forth to get assigned new rooms to search in and the search won't be efficient. One approach is to assign each worker k=K/N rooms, which will work fine if K is not too large (small castle) or if I have enough workers N. However, if the castle is huge, K/N would result in too many rooms for each worker. In that case, I can give the workers k rooms each and tell them to report back when they're done, but I have to choose k such that the search is efficient and no time is wasted by workers going back and forth (or the least amount of time wasted). How can I determine a good value for k that would scale with the size of the castle and the number of workers I have? Note: I can't brute force k because the problem restarts with different conditions every time I run it. What I tried: K/N: Works well will small castles but not large ones k=1 and increment with each iteration: Does not work well when N is small or K is large Thanks again

    edit: added more details about the problem

    submitted by /u/l___-T-___l
    [link] [comments]

    Conceptual question on Entity Relationship Diagrams (ERD)

    Posted: 22 Jan 2020 09:12 PM PST

    When using an ERD, we have the option of attaching attributes to a relationship between two entities. In what scenarios would we prefer to do this over creating a new entity? Is there a way to tell rather than just context?

    For example, say you have a guest who stays in a room of a hotel. The guest and room are entities, but the room is weak and has a discriminator "Room Number". The guest has a primary key "ID". The guest stays in a room, and we need to keep track of the start date, end date, cost, and length of the stay (a derived attribute). According to my professor's example, proper design would have the relationship between Guest and Room be strong and have each of these attributes, with Start Date as a primary key.

    TL;DR: I'm trying to figure out when/why we'd want to place attributes on a relationship between two entities in an Entity Relationship Diagram.

    submitted by /u/probably_not_aaron
    [link] [comments]

    Autoformatiing C++ code in VS code.

    Posted: 22 Jan 2020 08:57 PM PST

    I am wondering if there is a VS extension you can use to autoformat cpp and hpp files according to a config file.

    Things like, enforcing indentation, enforcing Camel casing for classes and snake casing for variables, enforce bracketting, enforce new line for each function parameter... etc

    submitted by /u/camilo16
    [link] [comments]

    What to do if you accidently git push a sensitive file?

    Posted: 22 Jan 2020 04:39 PM PST

    I then executed git rm fileName.json, gitignored it, and commited/pushed again. But I believe the dozens/ perhaps 100+ prior commits still have the file reference. Do I have to delete all of them or is there a better way to remove that sensitive file from all commits in the repo?

    submitted by /u/embar5
    [link] [comments]

    Bootcamp or Self-taught

    Posted: 22 Jan 2020 01:56 PM PST

    Hey everyone! So I've recently been thinking about getting back into coding. I learned how to code in python, html, css, and javascript back in college but I'm a bit rusty. We covered the basics and used APIs and non-relational databases but I'm no expert using them. I want to gain more practice with APIs and databases. I just feel that I don't have a lot of self-discipline but I really want to improve.

    I was looking at a coding bootcamp and the topics sound like things I've used before in the past but I'm not sure if the classes will go into depth on those topics over 12 weeks .

    So I guess my question is should I teach myself those things (if so what sites are best to learn APIs and Databases) or apply for the bootcamp?

    submitted by /u/xxSerenity
    [link] [comments]

    No comments:

    Post a Comment