02-14-2018, 12:08 AM
(This post was last modified: 02-14-2018, 12:09 AM by susitronix.)
DuckDuck could only find this:
Martin Pelletier, Software developer
Updated Aug 4 2014 · Author has 53 answers and 67.2k answer views
Connect to database A
Attach database B (ATTACH "c:\database_b\places.sqlite" AS SecondaryDB)
Transfer data from B to A (INSERT INTO MyTable SELECT * FROM SecondaryDB.MyTable) - Works assuming there is no primary key conflict. If there are, you might have to cheat and offset the B table's primary key by a large number, or tweak your query to use the auto increment of database A's table)
Disconnect from database A (no need to DETACH from database B if you're exiting at this point).
öch thats not too noobish to mess around with.
Since my new Kraken Account i found a db for every Exchange.
Did i missed somthing?
could i rename one of the two Binance db`s and drop them into the same /history?
Did not thought about this when starting with Gekko
Martin Pelletier, Software developer
Updated Aug 4 2014 · Author has 53 answers and 67.2k answer views
Connect to database A
Attach database B (ATTACH "c:\database_b\places.sqlite" AS SecondaryDB)
Transfer data from B to A (INSERT INTO MyTable SELECT * FROM SecondaryDB.MyTable) - Works assuming there is no primary key conflict. If there are, you might have to cheat and offset the B table's primary key by a large number, or tweak your query to use the auto increment of database A's table)
Disconnect from database A (no need to DETACH from database B if you're exiting at this point).
öch thats not too noobish to mess around with.
Since my new Kraken Account i found a db for every Exchange.
Did i missed somthing?
could i rename one of the two Binance db`s and drop them into the same /history?
Did not thought about this when starting with Gekko