I have a binary file stored stock data and now I try to convert them into SQLite3, the problem is the price in file is original value before stock split. The split information in array with struct as below:
In most case, I only need price after split not original, I have two way to get split price.
1. calculate the split price in converting
2. calculate the split price after select price(convert original price to SQLite3)
Do you think which way is better?
Code:
struct {
NSString date;
float rate;
}
In most case, I only need price after split not original, I have two way to get split price.
1. calculate the split price in converting
2. calculate the split price after select price(convert original price to SQLite3)
Do you think which way is better?