2025-01-11 23:40:54 +00:00
|
|
|
# SimpleFinancePackage
|
|
|
|
|
2025-01-12 01:11:35 +00:00
|
|
|
|
|
|
|
An Package to interact with an mock stock exchange
|
|
|
|
|
|
|
|
## Structure
|
|
|
|
| Field | Length |
|
|
|
|
| ----- | ------ |
|
|
|
|
| Key | 8 Bytes |
|
|
|
|
| Operation | Byte |
|
2025-01-22 21:24:33 +00:00
|
|
|
| Asset | 2 Bytes |
|
2025-01-12 01:11:35 +00:00
|
|
|
| Price | Float64 |
|
|
|
|
| Volume | Float64 |
|
2025-01-22 21:24:33 +00:00
|
|
|
| Expire (Unix) | uint64 |
|
2025-01-12 18:52:23 +00:00
|
|
|
| CRC | 2 Bytes |
|
|
|
|
|
|
|
|
## TODOS
|
|
|
|
- [ ] Test it
|
|
|
|
- [ ] Make it configureable
|
2025-01-22 21:24:33 +00:00
|
|
|
- [x] Implement expire date
|
|
|
|
- [ ] Change Key to uuid
|
2025-01-12 18:52:23 +00:00
|
|
|
- [ ] Document it
|