I've just pushed a major upgrade to psystemtrade. Read: this. Now you can: get data from quandl.com, store in mongodb.com and github.com/manahl/arctic, and do your own back-adjustment of futures prices.
from systems.provided.futures_chapter15.estimatedsystem import futures_system
from sysdata.configdata import Config
system = futures_system()
print(system.accounts.portfolio().sharpe())
for instr_code in system.get_instrument_list():
rule2weight = system.combForecast.get_forecast_weights(instr_code).iloc[-1].to_dict()
print(instr_code)
for rule in rule2weight:
print(rule + " " + '{0:.3f}'.format(rule2weight[rule]))
Hi GAT,
I'm wondering about 2 issues in bootstrapping forecast weights using chapter15.futuresestimateconfig.yaml
1. carry weight seems to be below 0.1, not sure if this is too low
2. when pooling instruments, weights for the same trading rule for each instrument is different
Question for the general audience: I see that Quandl have stopped providing FX prices up to the current day. What are people doing for FX prices, what sources are people going to, and is anyone importing them into this upgraded data component?I've just pushed a major upgrade to psystemtrade. Read: this. Now you can: get data from quandl.com, store in mongodb.com and github.com/manahl/arctic, and do your own back-adjustment of futures prices.
Question for the general audience: I see that Quandl have stopped providing FX prices up to the current day. What are people doing for FX prices, what sources are people going to, and is anyone importing them into this upgraded data component?
I pull all prices, including FX, from IB. But I use my own software, not the tools developed by @globalarbtrader .Question for the general audience: I see that Quandl have stopped providing FX prices up to the current day. What are people doing for FX prices, what sources are people going to, and is anyone importing them into this upgraded data component?
I was using the codes configured out of the box in pysystemtrade e.g. "CURRFX/EURUSD". The series seem to stop at 2/28/2018 and there now seems to be a charge for them which is high (higher than GAT would approve of paying). You are right there do seem to be other series available also on quandl e.g. there is a series available from FRED which has all of the currencies except Korean Won e.g. "FRED/DEXUSEU" for Euro. Some of these are the wrong way around, which is not the end of the world. However I see that in spite of being advertised as daily, this one seems a few days out of date e.g. on today 6/27/2018 the latest available price is from 6/22/2018. So, usable for backtesting and research, but not for daily trading.Iirc there are multiple sources of FX within Quandl, which one has become delayed? I've used the feed from the ECB before both via Quandl and direct from ECB website.
)