MCPcopy
hub / github.com/owocki/pytrader / Balance

Class Balance

history/models.py:199–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197
198
199class Balance(TimeStampedModel):
200 symbol = models.CharField(max_length=30)
201 coin_balance = models.FloatField()
202 usd_balance = models.FloatField(null=True)
203 btc_balance = models.FloatField()
204 exchange_to_btc_rate = models.FloatField()
205 exchange_to_usd_rate = models.FloatField(null=True)
206 deposited_amount_usd = models.FloatField(default=0.00)
207 deposited_amount_btc = models.FloatField(default=0.00)
208 date_str = models.CharField(max_length=20, default='0', db_index=True)
209
210
211class PerformanceComp(TimeStampedModel):

Callers 1

handleMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected