Andy Cheng
|
737f6e99ba
|
strategy/supertrend: use CalculateQuoteQuantity() in strategy
|
2022-08-05 16:28:42 +08:00 |
|
Andy Cheng
|
b564e69f82
|
strategy/supertrend: add CalculateQuoteQuantity()
|
2022-08-05 15:59:20 +08:00 |
|
Andy Cheng
|
dba1102588
|
strategy/supertrend: rename AvailableValue() to AvailableQuote()
|
2022-08-05 15:38:19 +08:00 |
|
Andy Cheng
|
eb57e80119
|
strategy/supertrend: different qty calculation for spot and leveraged
|
2022-08-05 15:11:15 +08:00 |
|
c9s
|
076f196621
|
risk: return quantity directly if it's not zero
|
2022-07-27 01:29:53 +08:00 |
|
c9s
|
bdfb5d08aa
|
risk: pull out max quantity variable
|
2022-07-26 11:47:07 +08:00 |
|
c9s
|
4b7126ce41
|
risk: add doc comment for MarginLevel method
|
2022-07-22 14:54:25 +08:00 |
|
c9s
|
a9f9fc4e5e
|
risk: add margin level calculator
|
2022-07-22 14:53:17 +08:00 |
|
c9s
|
b53da177c2
|
risk: add test case for account calculator
|
2022-07-22 14:42:30 +08:00 |
|
c9s
|
3cf5175baa
|
risk: make calculateAccountNetValue public
|
2022-07-22 13:36:03 +08:00 |
|
c9s
|
a1387bb4dd
|
risk: move spot condition to the top
|
2022-07-22 12:04:43 +08:00 |
|
c9s
|
36cfaa924d
|
risk: move leverage quantity calculation to the risk package
|
2022-07-22 11:55:24 +08:00 |
|