Konstantine Tsafatinos
3af3b693da
mock orders validated from kraken
2022-02-17 08:21:00 -05:00
Konstantine Tsafatinos
7627fb5141
get basic order request loop receiving msgs
2022-02-17 08:21:00 -05:00
Konstantine Tsafatinos
a3a6718ba5
added the bones for the handle_order_requests func
2022-02-17 08:21:00 -05:00
Konstantine Tsafatinos
90947438d2
save progress on kraken to test out unit_select_fixes
2022-02-17 08:21:00 -05:00
Konstantine Tsafatinos
5b01c84afd
get positions working for kraken
2022-02-17 08:21:00 -05:00
Konstantine Tsafatinos
20a5ffdc2b
get positions from trades
2022-02-17 08:21:00 -05:00
Konstantine Tsafatinos
0bab95eaa6
Store changes for rebase, positions prototype
2022-02-17 08:21:00 -05:00
Konstantine Tsafatinos
549c0d2c85
Add balance to the ledger
2022-02-17 08:21:00 -05:00
Konstantine Tsafatinos
178d146deb
Add get_ledger function; parses raw ledger from kraken api
2022-02-17 08:21:00 -05:00
Konstantine Tsafatinos
3507e492e8
wrap api method calls with uri and nonce value
2022-02-17 08:21:00 -05:00
Konstantine Tsafatinos
89fe9c0713
get kraken authentication and retrieve balances
2022-02-17 08:21:00 -05:00
Tyler Goodlet
8f15d1fd1f
Misc curve doc strings
2022-02-17 08:21:00 -05:00
goodboy
1440e0b58f
Merge pull request #281 from pikers/trigger_finger
...
Trigger finger
2022-02-14 08:26:33 -05:00
Tyler Goodlet
7b13124dd4
Keep clear loop price pedantically up to date
...
To avoid the "trigger finger" issue (darks execing before they should
due to a stale last price state, normally when generating a trigger
predicate..) always iterate the loop and update the last known book
price even when no execs/triggered orders are registered.
2022-02-11 10:30:30 -05:00
Tyler Goodlet
ca1c1cf415
Annoying doc strings
2022-02-11 10:30:30 -05:00
goodboy
cde090bf24
Merge pull request #278 from pikers/windows_fixes_yo
...
Windows fixes yo
2022-02-11 10:28:07 -05:00
Tyler Goodlet
92c63988bc
Bleh, just fill the available window space
2022-02-11 10:07:43 -05:00
Tyler Goodlet
9ed153bcb6
Less gap below results view
2022-02-11 08:45:57 -05:00
Tyler Goodlet
412c34eba0
Drop width check logic; only do height
2022-02-11 08:32:28 -05:00
Tyler Goodlet
68e1db27f8
Drop old null window size
2022-02-10 14:35:28 -05:00
Tyler Goodlet
86b1316691
Handle no-rows-yet case
2022-02-10 14:35:11 -05:00
Tyler Goodlet
890ffc76cf
Dynamically re-size the search results view
2022-02-10 14:22:46 -05:00
Tyler Goodlet
51d94a301a
Support resize event relaying from the god widget
2022-02-10 14:21:17 -05:00
Tyler Goodlet
c54c9ae3d3
Add doc string to DE sizing method
2022-02-10 14:20:15 -05:00
Tyler Goodlet
5a4c155798
Add detailed comment around DE scaling
2022-02-10 13:04:13 -05:00
goodboy
14faf2d245
Merge pull request #268 from pikers/trade_ratez
...
Trade ratez
2022-02-10 11:43:56 -05:00
wattygetlood
a5ad24f770
Additionally apply DPI scaling to font size if detected
2022-02-10 10:26:52 -05:00
Tyler Goodlet
a0034e2948
If the DE (like windohz) already scales DPI, just use that scale for font size
2022-02-10 10:26:52 -05:00
wattygetlood
fc3c0741b8
Set isn't serializable on std msgpack
2022-02-10 10:26:52 -05:00
wattygetlood
cc87508fd9
Only load 4 ib requests worth of bars on windows...
2022-02-10 10:26:52 -05:00
wattygetlood
d069481f1d
Hack search view on windows to 1/2 window height; needs a better solution
2022-02-10 10:26:52 -05:00
wattygetlood
c411a244f6
Size the window to aproximately 1/3 the screen space
2022-02-10 10:26:52 -05:00
wattygetlood
15556e40f0
No support for notifications (yet) on windows
2022-02-10 10:26:52 -05:00
wattygetlood
c0082e15bc
Fix default `brokers.toml` copying since module move
2022-02-10 10:26:52 -05:00
wattygetlood
2ebdf008da
Configure window size based on screen dims on windows
2022-02-10 10:26:52 -05:00
Tyler Goodlet
71f9b5c000
Don't enable curve coord cache unless in step mode
...
You can get a weird "last line segment" artifact if *only* that segment
is drawn and the cache is enabled, so just disable unless in step mode
at startup and re-flash as normal when new path data is appended. Add
a `.disable_cache()` method for the multi-use in the update method. Use
line style on the `._last_line: QLineF` segment as well.
2022-02-10 08:12:15 -05:00
Tyler Goodlet
228f21d7b0
Zero trade rates each step
2022-02-09 22:16:33 -05:00
Tyler Goodlet
45464a5465
Drop graphics throttle to 22Hz, add a `.maxmin` to our view box
2022-02-09 22:15:57 -05:00
Tyler Goodlet
723eef3fd6
🤦 assign `Flow` *after* type check...
2022-02-09 16:00:10 -05:00
Tyler Goodlet
e0462f0a8c
Type and formatting fixes
2022-02-08 15:57:32 -05:00
Tyler Goodlet
1c49f7f47f
Tweak dash pattern to be less sparse
2022-02-08 15:57:02 -05:00
Tyler Goodlet
ef04781a2b
Expect new flow type through display and fsp UI code
2022-02-08 15:56:20 -05:00
Tyler Goodlet
e3a3fd2d39
Add a `Flow` compound type for coupling graphics with backing data-streams
2022-02-08 15:52:50 -05:00
Tyler Goodlet
860ed99757
Drop dvlm "rates" curves from flows chart
2022-02-08 12:05:56 -05:00
Tyler Goodlet
326b2c089a
Drop dvlm 'rates' (they're just means), add default params, period -> 6
2022-02-08 12:04:01 -05:00
Tyler Goodlet
8f467bf4f0
Factor batch curve plotting into helper func
2022-02-08 08:21:08 -05:00
Tyler Goodlet
4a7b2d835b
Yield 0 initial values from `flow_rates` fsp
2022-02-08 07:46:36 -05:00
Tyler Goodlet
30cf54480d
Add more appropriate default params
2022-02-07 13:59:26 -05:00
Tyler Goodlet
ee4ad32d3b
Fix `dvlm` to actually yield trade count, add instantaneous support
2022-02-07 12:53:30 -05:00
Tyler Goodlet
e7516447df
Better rate axis title?
2022-02-07 12:53:30 -05:00