forked from juvu/Optionstrader
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial Commit
- Loading branch information
Zaitsev11
authored and
Zaitsev11
committed
Mar 6, 2017
0 parents
commit 1d722d8
Showing
69 changed files
with
22,355 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2017 Kurt Heiden | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Background | ||
The purpose of this project is to make 1 million dollars. | ||
|
||
Developer Documentation: | ||
https://developer.tradier.com/documentation | ||
|
||
|
||
Steps: | ||
1) Extract the option chains available on the major exchanges. | ||
2) Analyze the option chains | ||
- Magic number for all strike points | ||
- Store analysis on MySQL server | ||
3) Draw charts | ||
4) Get recommendation on which options to purchase | ||
5) Manual confirmation of the options to purchase | ||
6) Automatic trade | ||
|
||
Other things required to complete: | ||
1) Paper trading API connection | ||
|
||
Encrypted45 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#import optionstrader |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
2017-03-05 14:18:03,726 config.py_.load_from_file : file_dict Loaded from /Users/kheiden/Desktop/optionstrader/optionstrader/config_data/config_data_Dev.json | ||
2017-03-05 14:18:03,726 config.py_.load_from_file : file_dict Loaded from /Users/kheiden/Desktop/optionstrader/optionstrader/config_data/config_data_Dev.json |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# unfinished | ||
from analyzer import Analyzer | ||
from account import Account | ||
from database import Database | ||
from customlogging import CustomLog | ||
from config import Config | ||
from parser import Parser | ||
from savefile import Savefile | ||
from scanner import Scanner | ||
from tools import Tools | ||
from webservice import Webservice |
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
from database import Account | ||
from account import Account | ||
|
||
class Account: | ||
|
||
def __init__(self): | ||
self.account = Account() | ||
return | ||
|
||
def create_new_account(self, account_type, initial_deposit): | ||
# TODO Implement this method | ||
# RAND() * POWER(10, 20) AS UNSIGNED | ||
return | ||
|
||
def get_balance(self): | ||
output = self.account.base.get_checking_account_balance() | ||
self.account.connection.close_connection() | ||
return output | ||
|
||
def change_checking_account_balance(self, var): | ||
self.account.update_checking_account(var) | ||
self.account.close_connection() | ||
|
||
def add_money_to_checking(self, var): | ||
self.account.add_money_to_checking(var) | ||
self.account.close_connection() | ||
|
||
def subtract_money_from_checking(self, var): | ||
self.account.subtract_money_from_checking(var) | ||
self.account.close_connection() | ||
|
||
def add_option_chain_to_account(self, option_chain): | ||
self.account.add_stock_to_self.account(option_chain) | ||
self.account.close_connection() |
Binary file not shown.
Oops, something went wrong.