Back

AlgorithmManager.Run(): Portfolio value is less than or equal to zero

Hi ! Im trying to use ETHEUR market on GDAX, and im setting USD to zero, as i having trouble with Cashbook's.

Seetting USD Cash to zero gives me the alert below. Is it okay or it might raise future issues ?


AlgorithmManager.Run(): Portfolio value is less than or equal to zero

Thanks

Update Backtest








If instead of Zero, i set USD to 1$... The algo runs, but it gets quite confused with Cashbook's

SetCash("USD", 1, Portfolio.CashBook["USD"].ConversionRate);

USD should always be Zero as Instrument is ETHEUR

0

In case i dont SetCash for USD, and only for EUR and ETH, the Portfolio seems to set 100.000$ by default. 

2017-10-07 00:00:00 ETH: Ξ 1.00 @ 0.00 = $0 > 1 ConversionRate: ETH: Ξ 1.00 @ 0.00 = $0
2017-10-07 00:00:00 EUR: € 1000.00 @ 0.00 = $0 > 1000 ConversionRate: EUR: € 1000.00 @ 0.00 = $0
2017-10-07 00:00:00 USD > 100000 ConversionRate: USD: $ 100000.00 @ 1.00 = $100000.0


But what i want is:
1 ETH

1000 Euros

0 Dollars

0

Update Backtest





0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Loading...

This discussion is closed