Comments (6)
@nebulousdog and @westonplatter Thanks for giving me some tips to get this thing going. Okay so I've got pip3, python3, and pipenv up and a properly placed config.debug.ini file in the fast_arrow directory.
I'm still not quite there, but much closer, but I'll close this now and post again if I have any further issues. Thanks again.
from fast_arrow.
@AmeliorateOr, if you can get python3, pip3, and pipenv installed, you can simply do pipenv install fast-arrow
, then check out @westonplatter's examples.
after that it is up to you! if you want to try interactive "homework"-like scripts, try Jupyter Notebooks maybe, or if youre trying to write an application with routing and such, maybe try Flask.
also, Weston! I just swapped from robin_stocks to this in my for-fun-and-probably-not-profit flask application after I noticed your repo in the category list. nice job! works great.
from fast_arrow.
@nebulousdog Thanks for getting back so quickly. I too was using robin_stocks, but after discovering this gem, I want to give this worthy try.
I have python3, pip3 already, but has never used pipenv. Is pipenv required to run this?
I was simply trying to copy/paste some of the example scripts and get them to run, no luck as I hit errors that I'm not skilled enough to know how to fix.
from fast_arrow.
Let me be more specific to save some time, I'm trying to simply authenticate and pull options data. I get stopped out hard at the authenticate step with the following error.
File "fast_arrow_auth.py", line 11, in
username = config['account']['username']
File "/usr/lib/python3.6/configparser.py", line 959, in getitem
raise KeyError(key)
KeyError: 'account'
from fast_arrow.
pipenv
isnt necessary, but it makes life easier. instead of separately handling pip, virtualenv, requirements.txt, setup.py, (etc) you just have your Pipfile, and it keeps a Pipfile.lock like how Yarn keeps a package-lock file. All that said though, it is definitely not needed. There's a Pipefile and Pipfile.lock in this repo, so even if it isnt in the readme, it means the developer is using it. if you installed your dependencies with pipenv install --dev
, you'd get better dependency versions. Also, it depends if youre intending to make a library, or an application, but since youre in the learning phase, it really doesnt matter.
if you want to copy-paste pieces, youre probably going to learn faster by using Jupyter notebooks. Give it a try, https://jupyter.org/try.
Per your output, it looks like you dont have a config file set up. Test using with this example. You'll need to create a config file set up like so.
- https://github.com/westonplatter/fast_arrow/blob/master/examples/auth.py#L10
- https://github.com/westonplatter/fast_arrow/blob/master/config.debug.ini.example
from fast_arrow.
@nebulousdog thanks for chiming in the question. Great answers and context.
@AmeliorateOr try @nebulousdog's suggestion of creating a config.debug.ini
file in the fast_arrow
directory and add your username and password. config.debug.ini
is explicitly gitignored to protect you from accidentally committing those secrets in code.
from fast_arrow.
Related Issues (20)
- How to generate auth file? HOT 6
- current version 1.0.3 failed to retrieve option quote HOT 11
- What is the allowed request frequency? HOT 4
- Implied Volatility data for Options HOT 4
- Historical data for 1 month and 3 month intervals HOT 1
- OptionOrder.get() Not Working? HOT 1
- Is atr and expected move used to calculate the option strike price ? HOT 1
- Watchlist HOT 1
- Issue with merging Market Data on Options Chain HOT 1
- Buying options lists as pending even when using the ask price HOT 4
- Update urllib3
- for stocks, fetch popularity data HOT 3
- for a stock, submit an order.
- Login fails HOT 35
- Login fails HOT 8
- pip upgrade HOT 3
- for stocks, add watch list HOT 1
- Fix Requests Error Handling HOT 2
- cannot import name 'client' from 'fast_arrow' HOT 4
- Option chain response does not include requested ticker. HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast_arrow.