This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import argparse | |
| import requests | |
| if __name__ == '__main__': | |
| parser = argparse.ArgumentParser(description="Get the next day's predicted market close and tolerance range for any US-listed equity") | |
| parser.add_argument('SYMBOL', help='symbol', action='store', type=str) | |
| parsed = parser.parse_args() | |
| URL = 'https://hd1-units.herokuapp.com/stock' | |
| params = {'sym': parsed.SYMBOL} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!.virtualenvs/data/bin/python | |
| import argparse | |
| import base64 | |
| from datetime import date | |
| from collections import Counter | |
| from io import StringIO | |
| import os | |
| import logging | |
| import string | |
| import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DATE | SFXRSA | |
|---|---|---|
| 1987-01-01 | 46.955792489659004 | |
| 1987-02-01 | 47.302674799207004 | |
| 1987-03-01 | 47.840212928966 | |
| 1987-04-01 | 47.984057701756 | |
| 1987-05-01 | 48.305065129391004 | |
| 1987-06-01 | 48.605786861179 | |
| 1987-07-01 | 49.084565779988004 | |
| 1987-08-01 | 49.542592009624 | |
| 1987-09-01 | 50.2412878147 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * World-time, by Hasan Diwan <[email protected]> | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <libpq-fe.h> | |
| static int |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-antrun-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>default-cli</id> | |
| <phase>package</phase> | |
| <configuration> | |
| <target> | |
| <java classname="hello.GistMap"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package hello; | |
| import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; | |
| import java.util.List; | |
| import org.junit.Assert; | |
| import org.junit.Test; | |
| import org.junit.runner.RunWith; | |
| import org.springframework.beans.factory.annotation.Autowired; |
NewerOlder