Commit 47894e5
committed
Support listing invalid orders
When listing, gridpool orders are filtered by validity. Valid orders
require a finite price and quantity to be set unless they are
cancelled. The filter can optionally be disabled when calling the
endpoint.
Signed-off-by: cwasicki <[email protected]>1 parent 8adcf0a commit 47894e5
File tree
3 files changed
+28
-19
lines changed- src/frequenz/client/electricity_trading
- tests
3 files changed
+28
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
| 812 | + | |
812 | 813 | | |
813 | 814 | | |
814 | 815 | | |
| |||
822 | 823 | | |
823 | 824 | | |
824 | 825 | | |
| 826 | + | |
825 | 827 | | |
826 | 828 | | |
827 | 829 | | |
| |||
856 | 858 | | |
857 | 859 | | |
858 | 860 | | |
859 | | - | |
860 | 861 | | |
861 | | - | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
862 | 866 | | |
863 | 867 | | |
864 | 868 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1316 | 1316 | | |
1317 | 1317 | | |
1318 | 1318 | | |
1319 | | - | |
1320 | | - | |
1321 | | - | |
1322 | 1319 | | |
1323 | 1320 | | |
1324 | 1321 | | |
| |||
1332 | 1329 | | |
1333 | 1330 | | |
1334 | 1331 | | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
1335 | 1341 | | |
1336 | | - | |
1337 | | - | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
1341 | | - | |
1342 | | - | |
1343 | | - | |
1344 | | - | |
| 1342 | + | |
| 1343 | + | |
1345 | 1344 | | |
1346 | | - | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
1347 | 1350 | | |
1348 | 1351 | | |
1349 | 1352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| 557 | + | |
557 | 558 | | |
558 | 559 | | |
559 | | - | |
560 | | - | |
| 560 | + | |
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
| 564 | + | |
564 | 565 | | |
565 | 566 | | |
566 | 567 | | |
567 | 568 | | |
| 569 | + | |
568 | 570 | | |
569 | | - | |
570 | | - | |
| 571 | + | |
571 | 572 | | |
572 | 573 | | |
| 574 | + | |
573 | 575 | | |
574 | 576 | | |
575 | 577 | | |
| |||
0 commit comments