John Colvin
bd8c97244a
refactor: Return row id in IStore::retrieve_one
...
This is a prerequisite to synchronizing security ids stored via IDGenerator
(the "new" way to store ids, added when we implemented Deribit), and
SecurityDB (the original way from spark days). The problem was that these
2 implementations were using separate databases. We need to unify the
interfaces between these storage services to avoid breaking existing code.
2024-11-20 22:17:08 +00:00
John Colvin
a7e89b075b
Merge remote-tracking branch 'origin/spark_crypto.ccapi' into spark_crypto.websocket-api.linux
2023-04-06 12:55:53 -04:00
John Colvin
f5741d8095
refactor: Convert system/logging cfg to proto3
2023-03-20 13:23:48 -04:00
John Colvin
3b1a2357cc
fix build (client): Change 'WIN32' macros to '_WIN32'
...
Not sure exactly how this broke, but the WIN32 macro is no longer defined.
2023-01-02 18:42:39 -05:00
John Colvin
884a79e13a
refactor: Clean up protobuf files
...
* Rename files to snake_case (per Google style guide)
https://developers.google.com/protocol-buffers/docs/style
* Prohibit single line functions in clang-format for proto files
* Run clang-format
2022-02-14 14:01:52 -05:00
taha afzal
15beef99f9
Deribit market data (futures) integrated
2022-01-19 15:44:34 -05:00
Pedro Pinto
8f21a77150
Ran clang-format across all files
2020-12-30 17:11:18 -05:00
Pedro Pinto
14323e7964
Code complete on TAS.
2020-04-20 08:54:24 -04:00
Pedro Pinto
baac6a893d
Re-directed SecurityDB's expiration to securities::expiration
2019-06-06 11:14:56 -04:00
Eric Harding
e36729814a
SPARK-1731 Improve error handling in SecurityDB and implement db::find_security()
2019-01-07 16:53:04 -05:00
Eric Harding
1126b772dd
SPARK-1952 Update MDConsumer to use SecurityPtr
2019-01-02 17:27:13 -05:00
Eric Harding
ca21ac5f5e
SPARK-1949 - Convert SecuritydB to sqlitecpp
2019-01-02 15:29:31 -05:00
Eric Harding
2f5b06b628
merge from master
2018-11-20 16:08:19 -05:00
Eric Harding
f9357d0860
Switch journal mode to WAL instead of OFF because off is stupid
2018-11-19 17:05:37 -05:00
Eric Harding
2fc4c8bd60
Move sqlite_utils.h out of utils:: namespace
2018-11-14 19:13:23 -05:00
Pedro Pinto
8274cd72d8
Made SecurityDB ignore expired securities.
2018-07-30 13:54:12 +00:00
Eric Harding
0546f0d9fb
Move tick data from Glbx to ContractSpec
2018-07-17 15:47:16 -04:00
Eric Harding
1f8e0a1e2b
SPARK-1446 Try to add securities to security DB even if they already have an assigned security key
2018-07-09 16:09:35 -04:00
Eric Harding
51bf57eff4
Spark-552 Synthetic Securities not restored from DB
2018-02-26 16:05:24 -05:00
Eric Harding
06aed6e411
spark-545 insert *or update* metadata
2018-02-26 12:21:18 -05:00
Eric Harding
8c7b11ae5b
Fixes for cert market data
2018-02-02 11:33:51 -05:00
Eric Harding
7cfc556ea2
Fix typo in SQL
2018-01-10 17:34:52 -05:00
Eric Harding
9d62b4592e
spark 334 Load/save security metadata
2018-01-10 11:19:39 -05:00
Eric Harding
dba3c541be
SyntheticSecurityService spark-322
2018-01-09 18:17:47 -05:00
Eric Harding
4a84764dde
Simplify SecurityIDRecorder - have it record securities to DB when key is assigned.
2018-01-05 21:36:13 -05:00
Eric Harding
fcc29ec2d1
Load security db in mdp3 startup
2018-01-05 12:35:17 -05:00
Eric Harding
d97b4db80a
Fix SecurityDB on windows so I can use it as a no-op for now
2018-01-03 17:23:28 -05:00
Eric Harding
4a6e31deb6
spark-320 implement securitydb
2018-01-03 17:14:57 -05:00