Comments (14)
Which platform are you looking to live trade with?
Yeah we could add it. I'm not going to have much time over the holidays to build it, would you be interested in helping me build live trading out?
from prophet.
I would like to but Python is not my strength
from prophet.
@sirinath Ok no worries. What platform are you looking to trade with? Do they have a paper trading API or something I could use to build against?
This is generally something I want to add and will be available in the future but probably will take a couple months before I spend enough time to get a nice integration out. In the meantime, you may want to manually trade based on the output of your algorithm (prophet.generate_orders(today)) or look at a different package in the interim if you execute multiple trades a day.
My personal use case currently is a much slower strategy which is why I don't think I'll get to it for a little while. That and I'll be busy during the holidays.
from prophet.
I could help on this too, provided the platforms provide us an API to do it. Some sandbox mode would also be useful
from prophet.
Have a look at http://www.fix8.org/ or http://libtrading.org/
I am not an expert in using native in Python but this might be the answer.
from prophet.
@sirinath Ok, we can just write a FIX trading client then. Do you happen to have an account open that can paper trade using FIX? None of the APIs I could find online were free.
@asiviero Maybe we can talk about how to collaborate to build this out? I think some lower level groundwork needs to be done too on prophet before it can live trade. We can probably use the quickfix library's python bindings. I can't find a free API to build against yet. Maybe we can build it out as per the FIX protocol and then see if any users with accounts can help with testing on a paper trading account.
We could also use IBpy to create a non-FIX live trading. We'd still need an account with them which has account minimums but the cost to use their non-FIX API is a lot cheaper and there's probably more people willing to test it.
from prophet.
@Emsu I have no experience with FIX clients. I guess it shouldn't be hard to write a client for it, however we would need a testing API. Perhaps if you anounce it on the roadmap inviting people who wish to collaborate by providing us that we could get it faster.
About that groundwork, do you have that sketched?
from prophet.
@asiviero The quickfix library I mentioned has sample servers that accept fix orders. Accepting data feeds is a little harder. FIXimulator also looks interesting. I'll add it to the roadmap and shoot an email to the mailing list. Hopefully some lurkers will step forward :)
I've thought about what would need to happen. Haven't sketched it out yet. I'll open an issue with a proposal when I have time? I think I'll be focusing on making a long running daemon and tooling to accept live data. Do you want to take a look at those FIX simulators and open an issue for how you'd want to integrate? The simulators should be enough for a basic integration.
from prophet.
I believe accepting live data would indeed be the hardest part. I'll try to do some raw stuff some time soon and then discuss a bit more about the details needed.
from prophet.
btw what is the mail list?
from prophet.
@asiviero Here's the mailing list https://groups.google.com/forum/#!forum/prophet-financial-framework
There's not too many people on it right now.
from prophet.
@asiviero Are you still available to help with this? I have some thoughts on how to piece together prophet and live trading and will draft a new issue with a proposal.
from prophet.
Alright @Emsu, I've been a bit busy lately. I'll wait for the draft
from prophet.
Closing this thread. I opened a proposal at #13
from prophet.
Related Issues (13)
- Python 3 support HOT 4
- Setup on windows HOT 2
- Misleading error message HOT 1
- [Proposal] Live Trading HOT 1
- [Proposal] Default Price Data Source HOT 2
- Bug/Unnecessary code in backtest.py HOT 2
- [Proposal] Plotting of daily returns and orders HOT 2
- generators.py is required for the quickstart.py (from prophet.generators import YahooData) but is not included as part of the pip install. HOT 3
- Missing Dependencies and Broken Tests HOT 2
- Cannot compare tz-naive and tz-aware " "datetime-like objects
- pip install dev-requirements.txt HOT 1
- PIP | Conda | Etc. Installation HOT 6
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 prophet.