Sha256: d5425bfaa3c7278625c0ed43fb3917ae321fef9172113664900f2731f5f5f389

Contents?: true

Size: 285 Bytes

Versions: 22

Compression:

Stored size: 285 Bytes

Contents

# lib/sqa/activity.rb

# Historical daily stock activity
# primary id is [ticker, date]

class SQA::Activity < ActiveRecord::Base
	# belongs_to :stock using ticker as the foreign key
	# need a unique constraint on [ticker, date]
	# should date be saved as a Date object or string?
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
sqa-0.0.2 lib/sqa/activity.rb
sqa-0.0.1 lib/sqa/activity.rb