Commit f9f7d90
fix: Lighter funding — add required limit/side params + position_fundings field
API requires limit and side params (returns 400 without them).
Response field is position_fundings (not funding).
Payment amount is in change field (not amount/payment).
0 → 68 payments, $0.016 matches Lighter dashboard $0.01.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1f5c90c commit f9f7d90
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
756 | 756 | | |
757 | 757 | | |
758 | 758 | | |
759 | | - | |
| 759 | + | |
760 | 760 | | |
761 | 761 | | |
762 | 762 | | |
| |||
889 | 889 | | |
890 | 890 | | |
891 | 891 | | |
| 892 | + | |
| 893 | + | |
892 | 894 | | |
893 | | - | |
| 895 | + | |
894 | 896 | | |
895 | 897 | | |
896 | 898 | | |
| |||
0 commit comments