Comments (4)
You could also easily do this inside the python script with os.environ[key] = value
from pyally.
I would recommend trying to get experience with linux: in my opinion, its much easier to get the code infrastructure and libraries set up in a unix environment.
But if you're using windows, you could store the strings in a text file and read them each time you run your programs.
I'd recommend using JSON, and using the standard json library in python for this task.
Let me know if you have any problems getting the package to work once this is set.
from pyally.
I was considering using a .BAT file to load the parameters to the OS environment. What are your thoughts on that? Also, I needed to download a FIXML library for your wrapper to work (for other users reading this, FIXML is the message protocol necessary to order trades). I'm not sure if anyone else had this issue, but it is a simple fix that users should be aware of.
from pyally.
There's other resources on setting environment variables, so I'll close this thread
from pyally.
Related Issues (20)
- Options Search HOT 1
- order details/status HOT 3
- Market orde doesn't work? HOT 1
- issue getting holdings when there is only 1 asset. HOT 2
- Problem with order placing HOT 2
- Order Cancellation Fails HOT 1
- Error XXXX is not a valid symbol for trading for option trading HOT 3
- get all quote attributes HOT 7
- Trailing Stop order returns 500 Error HOT 1
- watchlists not functional HOT 4
- Error with "orders()" - "Invalid literal for int() with base 10" HOT 9
- ChunkedEncodingError when streaming quotes outside market hours HOT 1
- Error when cancelling an order HOT 4
- [Proposal] Proposal for Collaboration HOT 5
- Accounts fails to parse when multiple accounts exist HOT 1
- KeyError: 'OrdID' HOT 4
- Documentation HOT 1
- Options endpoint updated on ally api HOT 2
- Swap repo default branch to `main`
- warning codes?
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 pyally.