Help with system insisting on adjusted daily prices for COTTON #558
-
Hi After 2 days of hitting my head against the wall I am desperate for any input on a problem I am having, so asking here in case anyone can point me in the right direction: My end goal is to run the rob_system. Right now I want to launch the system in paper trading mode. I have gotten historical prices for almost all instruments. The instruments with missing data, have been removed from the instrument_weights section of the defaults.yaml. (the weight of the removed has been reallocated to other instruments) When I run I added COTTON to the ignore list in the default.yaml file - and removed any mention of COTTON in instrument_weights, forecast_div_multiplier, etc, from provided.rob_system.config.yaml. I have tried with running both Nothing works - it is still asking for COTTON prices. I removed several other instruments, like BITCOIN from instrument_weights, and that seemed to remove the instruments from the calculation - but the COTTON exception, just will not go away. Any thoughts at all would be highly welcome! Related question; |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
I think this is the cross sectional asset class that's causing the problem Does COTTON appear in system.data.get_instrument_list()? Cotton code is KG https://www.barchart.com/futures/quotes/KG*0/futures-prices |
Beta Was this translation helpful? Give feedback.
-
Ah - sorry - I thought price data was directly linked to individual contracts, and that a contracts would have to be created when price data was collected. I understand that there is a lot I do not understand. Apologies! |
Beta Was this translation helpful? Give feedback.
-
You may have to delete also the multiple prices. I think I saw one of the
rules use a function that gathered instrument list from available multiple
prices. I have to check this though.
…On Tue, Mar 22, 2022 at 1:40 PM TobiasAntiGravity ***@***.***> wrote:
But from what you are saying I should try to delete all traces of COTTON
prices from the database? (have not tried to delete anything from the
database - but I have seen class methods with delete on them a plenty - so
I am guessing it is doable?
—
Reply to this email directly, view it on GitHub
<#558 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC5VL22MWWYD7LOLKEUEOQ3VBGWRRANCNFSM5RKNRUUQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: <robcarver17/pysystemtrade/repo-discussions/558/comments/2414095@
github.com>
|
Beta Was this translation helpful? Give feedback.
I think this is the cross sectional asset class that's causing the problem
Does COTTON appear in system.data.get_instrument_list()?
Cotton code is KG https://www.barchart.com/futures/quotes/KG*0/futures-prices
That's CME, not sure if NYMEX has one???