SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Sun Sep 24, 2017 10:16 pm

All times are UTC + 3 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Jul 02, 2013 5:25 am 
Offline

Joined: Sun Oct 07, 2012 4:16 pm
Posts: 25
Exception "The column cannot contain null values. [ Column name = ID_,Table name = LEG_FIELDS ]" was raised when I modify some property of an Multileg Instrument which was imported from an provider.


Top
 Profile  
 
PostPosted: Tue Jul 02, 2013 5:38 pm 
Offline
Site Admin

Joined: Thu Jul 17, 2003 10:39 am
Posts: 1478
Hi,

OpenQuant instrument does not contain properties are related to legs.
Which property did you modify?

_________________
SmartQuant Development Team


Top
 Profile  
 
PostPosted: Wed Jul 03, 2013 4:56 am 
Offline

Joined: Sun Oct 07, 2012 4:16 pm
Posts: 25
I Found the root cause this issue:

The Column [ID_] of table [LEG_FIELDS] missing “IDENTITY” constraint.

CREATE TABLE [LEG_FIELDS]
(
[ID_] INT NOT NULL IDENTITY (1,1),
[InnerID_] INT NOT NULL,
[OuterID_] INT NOT NULL,
[Type_] INT NOT NULL,
[Tag_] INT NOT NULL,
[Value_] NVARCHAR(255) NOT NULL
);


Top
 Profile  
 
PostPosted: Wed Jul 03, 2013 3:40 pm 
Offline
Site Admin

Joined: Thu Jul 17, 2003 10:39 am
Posts: 1478
Thank you for the point

_________________
SmartQuant Development Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group