Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional DataProvider: CFD / non-futures based #3

Open
svenissimo opened this issue Mar 18, 2018 · 3 comments
Open

Additional DataProvider: CFD / non-futures based #3

svenissimo opened this issue Mar 18, 2018 · 3 comments

Comments

@svenissimo
Copy link

Hi Guys sorry couldn't find another way of reaching out to you so feel free to delete issue as see fit.

Basically I came here from RobCarvers issues list. I've read his systematic trader book a million times and largely get the whole concept.. Well I think I do until I try and use his pysystemtrade framework and my head explodes.

I'm a long time python+linux dev but frankly I have a hard time following his implementation and its made worse by the fact I'm not trading futures atm..( have reasons)

Just then I spot PyTrendFollow... yey!!
So I thought I'd have a dig around and see if I can add support for my CFD/FX broker. http://developer.oanda.com/rest-live-v20/introduction/

So 2 actual questions

  1. Can you think of any issues fitting a non 'Futures contract' data model into your platform? They have fx obviously but also CFD's on indexes, commod, metals and all that stuff but essentially not 'contract' based. Try and fit in to currency.py and spot.py? not sure intstrument makes much sense but not started look closely.
  2. If I get it working are you interested in a pull request etc.

Either way.. just wanted to say thanks, love the project and I can get my head round it so thats a good sign lol

cheers

@chrism2671
Copy link
Owner

Hey!

Sure, if you can get it working & tested, I'm happy to include it. Perhaps we can improve the abstraction of instruments/brokers further in the process.

One thing to consider- think about the transaction costs when using CFDs. I did a back-of-the-envelope calculation for using IG, and figured I'd probably lose money once I accounted for their funding fees. Futures, by comparison, have no funding cost.

@svenissimo
Copy link
Author

svenissimo commented Mar 18, 2018 via email

@svenissimo
Copy link
Author

svenissimo commented Mar 18, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants