repo.or.cz
/
autotrade.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
autotrade::Market::Simulated, autotrade-sim.pl: Support for strategy simulation on...
[autotrade.git]
/
SQL
blob
2ac3551005c26ae17e6389fdedb4c3547eb1ec00
1
CREATE TABLE rate_history (
2
time INT,
3
buy INT, -- * 1000
4
sell INT, -- * 1000
5
6
PRIMARY KEY (time)
7
);
8
9
CREATE TABLE bitcoin_values (
10
btc_amount INT, -- * 1000
11
bought_at_rate INT -- * 1000
12
);