John Colvin
b360f953db
build: Benign changes to remove errors in clang 15
2023-01-02 18:42:38 -05:00
Taha Afzal
360bf9b37e
Added get_driver_sec to ITheoCalculator
2022-11-25 16:22:10 -05:00
Taha Afzal
4d85106fbf
Added server method to publish precomputed theos, feed it into a calculator, and publish the calculator as an event
2022-11-23 12:52:01 -05:00
Taha Afzal
444e486862
Changing RFQ Proto
2022-10-01 22:15:05 -04:00
Taha Afzal
49f13755c6
Adding RFQ to OrderService interface
2022-09-28 21:22:47 -05:00
John Colvin
f5c8c29f5a
build: Migrate web build to net6.0
...
Clean up the web build process a bit while we're at it
* Add 'custom_commands' to run npm install in CMakeLists
* Generate tsconfig files for CMake preset configurations
* Rename local variables to _snake_case in CMakeLists
2022-09-21 00:14:38 -05:00
John Colvin
0bdbc1897a
chore (linux build): Add benign changes to satisfy clang13
2022-09-21 00:14:38 -05:00
John Colvin
ffb2245ae6
refactor: Clean up immutable.pb.cs code-gen template a bit more
...
So the generated code more closely follows our formatting practices
2022-08-23 16:54:17 -04:00
Taha Afzal
89fcb3092b
Fixing merge conflict
2022-08-17 12:54:27 -04:00
John Colvin
4a37e2d6a6
refactor: Implement IKeyedData in generated cs pbuf types
...
For convenience, so we don't have to pass key-selector lambdas all over the
place when dealing w/ IObservable<TableUpdate>s from the pbuf services
2022-08-16 17:25:02 -04:00
John Colvin
12b2371a69
style: Clean up api code-gen template immutable.pb.cs
2022-08-16 17:25:02 -04:00
John Colvin
7a31b025a2
refactor: Add 'ms' suffix to exch-open-order timestamp fields
...
Just to make it clear that they are milliseconds (not nanos, micros, etc.)
2022-08-16 17:24:52 -04:00
John Colvin
31897a1b2e
refactor: Change exch-open-order record_id to auto-incremented int
...
To insulate ourselves from potential duplicate-id bugs at the exchange
2022-08-16 16:46:47 -04:00
taha afzal
6d06a1920d
OrderServiceServer now publishes open orders
2022-07-22 15:16:03 -04:00
taha afzal
79de0dd4d8
Removed exchange from sub acocunt config
2022-07-11 21:13:05 -04:00
taha afzal
e5de6b4ad7
Changed the relationship of internal account to sub account to simple 1:1
2022-07-11 17:28:53 -04:00
taha afzal
d98fb399a8
Exchange Positions can now be obtained for multiple sub accounts
2022-07-09 01:40:28 -04:00
taha afzal
4a1c1d023a
Changes to accomodate the EM API change for mulitple accounts
2022-07-06 16:42:04 -04:00
John Colvin
3da646dc8a
fix build: Remove unnecessary import from binance-md proto
...
This removes an 'unused import' warning on build
2022-06-08 11:12:13 -04:00
John Colvin
a30523744d
feat: Implement ftx md subscription
...
Run 'sparkd ladder-demo' to check it out
2022-06-07 23:20:59 -04:00
John Colvin
2e201159d8
refactor: Move BinanceDepthStreamParams into own file
2022-06-07 22:44:33 -04:00
taha afzal
cac857a3a7
Busted fills filtered out of the PositionService position calculations
2022-05-30 15:38:08 -04:00
John Colvin
ac118993d5
refactor: Change ManualFill.quantity to double
2022-05-25 14:19:04 -04:00
John Colvin
ef69dfa646
refactor: Add 'table' subscription fns to generated proto services
...
* Provides a simple convenience, as nearly all api subscriptions made on the
front-end are converted to TableUpdates anyways
* Can help reduce overhead by instantiating TableUpdate subscriptions
lazily, and by using one internal TableUpdate subscription to provide
notifications to all observers
2022-05-24 12:25:16 -04:00
John Colvin
377be5030f
style: Clean up pb.cs templates (generated code)
2022-05-24 12:25:16 -04:00
taha afzal
25d4c54284
Added account_id to ExchangePosition
2022-05-23 11:51:10 -04:00
taha afzal
e4291e1c51
Adding account to ExchangePosition
2022-05-19 18:16:46 -04:00
taha afzal
904ef92ece
Added reset_position to PositionService
2022-05-09 14:40:44 -04:00
John Colvin
116ba3f629
Add venue component to report risk-terms/opt-equiv params
2022-05-04 14:56:43 -04:00
John Colvin
6ff8855dba
refactor: Change report security list to SecurityCriteria
2022-05-04 14:53:44 -04:00
John Colvin
57fbb36808
feat: Add TimeWeightedInterpolated driver to analytics exp params
2022-05-02 12:28:55 -04:00
John Colvin
7dcfa709d5
Add SecurityMetadata (proto3) config
...
Immediate Purpose:
* Add security-based config for 'unit-quantity'
2022-04-19 11:42:43 -04:00
John Colvin
dd7168a687
Add SecurityMetadata pbuf to client build
2022-04-19 11:42:42 -04:00
John Colvin
97b665733a
Add SecurityCriteria pbuf type to client build
2022-04-19 11:42:42 -04:00
John Colvin
f65cf43e21
refactor: Rename bts.api.domain.SecurityType.INDEX -> SPOT
2022-04-19 11:42:42 -04:00
John Colvin
f971d4db51
Add SYNTHETIC to bts.api.domain.SecurityType
2022-04-19 11:42:42 -04:00
John Colvin
8cd79c0372
Add BTS and SIM to bts.api.domain.Venue
2022-04-19 11:42:42 -04:00
John Colvin
c1ad8ed4b2
style: Clean up AnalyticsService.proto
2022-04-19 11:42:42 -04:00
taha afzal
25d5f36645
Exchange positions are periodically published by OrderServices
2022-04-19 10:33:45 -04:00
taha afzal
07838553a6
Added Exchange Positions stream to OrderService
2022-04-13 17:16:03 -04:00
taha afzal
0178716b01
Orders API now supports fractional quantites
2022-04-13 17:16:03 -04:00
taha afzal
5a0c70c301
Removing some unused protos
2022-03-31 14:57:40 -04:00
taha afzal
65afb81f33
Added an order interactor that can read fro the file and secd/update/cancel orders
2022-03-31 14:34:29 -04:00
John Colvin
21a4673a1f
Fix typos in ReportParams pbuf
2022-03-21 13:11:59 -04:00
taha afzal
c254b982a2
Removing the hardcoded BTC
2022-03-02 18:38:36 -05:00
taha afzal
78adea7bcb
Added SecTup to VolSurfaceUsage
2022-03-02 13:59:45 -05:00
taha afzal
bac62f99ea
in AnalyticsService ArchiveTheo now has the key istead of the Security
2022-02-28 14:36:27 -05:00
taha afzal
f9c79d5b44
Added vol/theo archiving to AnalyticsService
2022-02-28 13:29:57 -05:00
Taha Afzal
f568691731
Adding report API to analytics server
2022-02-21 11:10:15 -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