Skip to content
Prev 7180 / 15274 Next

[quantstrat] trading a synthetic asset -- example

Either pass

prefer='test'

since that's what you called the price column, or better yet, name the 
column 'Price', or 'price' , or 'spread.price' (basically anything with 
'price' in it.

getPrice will then be able to figure it out.

I'll run your example later to confirm, but this is almost certainly the 
issue.

Regards,

   - Brian
On 12/24/2010 07:40 AM, Anass Mouhsine wrote: